Bump rubocop

This commit is contained in:
Benjamin Neff 2017-07-22 04:24:59 +02:00
parent 07c5dfe085
commit 8c27418a55
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
3 changed files with 11 additions and 9 deletions

View file

@ -40,7 +40,7 @@ Metrics/BlockLength:
# No space makes the method definition shorter and differentiates # No space makes the method definition shorter and differentiates
# from a regular assignment. # from a regular assignment.
Style/SpaceAroundEqualsInParameterDefault: Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space EnforcedStyle: no_space
# Single quotes being faster is hardly measurable and only affects parse time. # Single quotes being faster is hardly measurable and only affects parse time.
@ -55,7 +55,7 @@ Style/SymbolArray:
Enabled: true Enabled: true
# Most readable form. # Most readable form.
Style/AlignHash: Layout/AlignHash:
EnforcedHashRocketStyle: table EnforcedHashRocketStyle: table
EnforcedColonStyle: table EnforcedColonStyle: table
@ -92,7 +92,7 @@ Style/RaiseArgs:
# Indenting the chained dots beneath each other is not supported by this cop, # Indenting the chained dots beneath each other is not supported by this cop,
# see https://github.com/bbatsov/rubocop/issues/1633 # see https://github.com/bbatsov/rubocop/issues/1633
Style/MultilineOperationIndentation: Layout/MultilineOperationIndentation:
Enabled: false Enabled: false
# Fail is an alias of raise. Avoid aliases, it's more cognitive load for no gain. # Fail is an alias of raise. Avoid aliases, it's more cognitive load for no gain.
@ -107,7 +107,7 @@ Style/SignalException:
Lint/HandleExceptions: Lint/HandleExceptions:
Enabled: false Enabled: false
Style/SpaceInsideBlockBraces: Layout/SpaceInsideBlockBraces:
# The space here provides no real gain in readability while consuming # The space here provides no real gain in readability while consuming
# horizontal space that could be used for a better parameter name. # horizontal space that could be used for a better parameter name.
# Also {| differentiates better from a hash than { | does. # Also {| differentiates better from a hash than { | does.
@ -115,7 +115,7 @@ Style/SpaceInsideBlockBraces:
# No trailing space differentiates better from the block: # No trailing space differentiates better from the block:
# foo} means hash, foo } means block. # foo} means hash, foo } means block.
Style/SpaceInsideHashLiteralBraces: Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space EnforcedStyle: no_space
# { ... } for multi-line blocks is okay, follow Weirichs rule instead: # { ... } for multi-line blocks is okay, follow Weirichs rule instead:
@ -165,7 +165,7 @@ Style/NumericPredicate:
EnforcedStyle: comparison EnforcedStyle: comparison
# Reset some HoundCI changes back to Rubocop defaults # Reset some HoundCI changes back to Rubocop defaults
Style/DotPosition: Layout/DotPosition:
EnforcedStyle: leading EnforcedStyle: leading
### backward compatibility ### backward compatibility

View file

@ -254,7 +254,7 @@ group :development do
gem "pronto-haml", "0.9.0", require: false gem "pronto-haml", "0.9.0", require: false
gem "pronto-rubocop", "0.9.0", require: false gem "pronto-rubocop", "0.9.0", require: false
gem "pronto-scss", "0.9.1", require: false gem "pronto-scss", "0.9.1", require: false
gem "rubocop", "0.48.1", require: false gem "rubocop", "0.49.1", require: false
# Preloading environment # Preloading environment

View file

@ -428,6 +428,7 @@ GEM
validate_url validate_url
webfinger (>= 1.0.1) webfinger (>= 1.0.1)
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.11.2)
parser (2.4.0.0) parser (2.4.0.0)
ast (~> 2.2) ast (~> 2.2)
pg (0.21.0) pg (0.21.0)
@ -597,7 +598,8 @@ GEM
rspec-mocks (~> 3.5.0) rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0) rspec-support (~> 3.5.0)
rspec-support (3.5.0) rspec-support (3.5.0)
rubocop (0.48.1) rubocop (0.49.1)
parallel (~> 1.10)
parser (>= 2.3.3.1, < 3.0) parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1) powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0) rainbow (>= 1.99.1, < 3.0)
@ -864,7 +866,7 @@ DEPENDENCIES
redcarpet (= 3.4.0) redcarpet (= 3.4.0)
responders (= 2.4.0) responders (= 2.4.0)
rspec-rails (= 3.5.2) rspec-rails (= 3.5.2)
rubocop (= 0.48.1) rubocop (= 0.49.1)
ruby-oembed (= 0.12.0) ruby-oembed (= 0.12.0)
rubyzip (= 1.2.1) rubyzip (= 1.2.1)
sass-rails (= 5.0.6) sass-rails (= 5.0.6)