bump rubocop
This commit is contained in:
parent
5a6f6c68cc
commit
fa24333ca1
3 changed files with 9 additions and 11 deletions
|
|
@ -36,10 +36,8 @@ Style/AlignHash:
|
|||
EnforcedColonStyle: table
|
||||
|
||||
# Mixing the styles looks just silly.
|
||||
# REVIEW: Enable once https://github.com/bbatsov/rubocop/commit/760ce1ed2cf10beda5e163f934c03a6fb6daa38e
|
||||
# is released.
|
||||
#Style/HashSyntax:
|
||||
# EnforcedStyle: ruby19_no_mixed_keys
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: ruby19_no_mixed_keys
|
||||
|
||||
# has_key? and has_value? are far more readable than key? and value?
|
||||
Style/DeprecatedHashMethods:
|
||||
|
|
@ -93,7 +91,7 @@ Style/SpaceInsideHashLiteralBraces:
|
|||
|
||||
# { ... } for multi-line blocks is okay, follow Weirichs rule instead:
|
||||
# https://web.archive.org/web/20140221124509/http://onestepback.org/index.cgi/Tech/Ruby/BraceVsDoEnd.rdoc
|
||||
Style/Blocks:
|
||||
Style/BlockDelimiters:
|
||||
Enabled: false
|
||||
|
||||
# do / end blocks should be used for side effects,
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -227,7 +227,7 @@ group :development do
|
|||
|
||||
# Linters
|
||||
gem "jshintrb", "0.3.0"
|
||||
gem "rubocop", "0.29.1"
|
||||
gem "rubocop", "0.31.0"
|
||||
|
||||
# Preloading environment
|
||||
|
||||
|
|
|
|||
10
Gemfile.lock
10
Gemfile.lock
|
|
@ -447,10 +447,10 @@ GEM
|
|||
faraday (~> 0.9.0)
|
||||
nokogiri (~> 1.6)
|
||||
orm_adapter (0.5.0)
|
||||
parser (2.2.0.3)
|
||||
parser (2.2.2.2)
|
||||
ast (>= 1.1, < 3.0)
|
||||
phantomjs (1.9.8.0)
|
||||
powerpack (0.1.0)
|
||||
powerpack (0.1.1)
|
||||
pry (0.10.1)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
|
|
@ -601,9 +601,9 @@ GEM
|
|||
rspec-mocks (~> 3.2.0)
|
||||
rspec-support (~> 3.2.0)
|
||||
rspec-support (3.2.2)
|
||||
rubocop (0.29.1)
|
||||
rubocop (0.31.0)
|
||||
astrolabe (~> 1.3)
|
||||
parser (>= 2.2.0.1, < 3.0)
|
||||
parser (>= 2.2.2.1, < 3.0)
|
||||
powerpack (~> 0.1)
|
||||
rainbow (>= 1.99.1, < 3.0)
|
||||
ruby-progressbar (~> 1.4)
|
||||
|
|
@ -808,7 +808,7 @@ DEPENDENCIES
|
|||
roxml (= 3.1.6)
|
||||
rspec-instafail (= 0.2.6)
|
||||
rspec-rails (= 3.2.1)
|
||||
rubocop (= 0.29.1)
|
||||
rubocop (= 0.31.0)
|
||||
ruby-oembed (= 0.8.14)
|
||||
sass-rails (= 5.0.1)
|
||||
selenium-webdriver (= 2.45.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue