diff --git a/.rubocop.yml b/.rubocop.yml index 2d8eb4077f3a1f707b366c731b1ec6cb9fd449a0..7c0f7d87cbd2465d446f9756111bf2290041ec95 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -574,7 +574,7 @@ Style/SpaceBeforeComma: # Checks for missing space between code and a comment on the same line. Style/SpaceBeforeComment: - Enabled: false + Enabled: true # Checks that exactly one space is used between a method name and the first # argument for method calls without parentheses. diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index 66ac88e9f4af7df56fa80799c49afe4e3debb9d6..393ad909b45ad30f6d44f36f28012a31d24a9341 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -71,7 +71,7 @@ Doorkeeper.configure do # The value can be any string. Use nil to disable this feature. When disabled, clients must provide a valid URL # (Similar behaviour: https://developers.google.com/accounts/docs/OAuth2InstalledApp#choosingredirecturi) # - native_redirect_uri nil#'urn:ietf:wg:oauth:2.0:oob' + native_redirect_uri nil # 'urn:ietf:wg:oauth:2.0:oob' # Specify what grant flows are enabled in array of Strings. The valid # strings and the flows they enable are: diff --git a/lib/event_filter.rb b/lib/event_filter.rb index f15b2cfd231090bc57b49bacd46849fd954120de..668d2fa41b3064f2fe16310a826e1e3cce268671 100644 --- a/lib/event_filter.rb +++ b/lib/event_filter.rb @@ -27,7 +27,7 @@ class EventFilter @params = if params params.dup else - []#EventFilter.default_filter + [] # EventFilter.default_filter end end