Bump rubocop

This commit is contained in:
Benjamin Neff 2017-03-31 01:42:08 +02:00
parent d65423d9c1
commit 18498ff2bd
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
3 changed files with 17 additions and 3 deletions

View file

@ -171,9 +171,16 @@ Rails/TimeZone:
Exclude: Exclude:
- "spec/lib/**/*" - "spec/lib/**/*"
# Rails cops only for controllers
Rails/Delegate: Rails/Delegate:
Exclude: Exclude:
- "lib/**/*" - "lib/**/*"
Rails/Blank:
Exclude:
- "lib/**/*"
Rails/Present:
Exclude:
- "lib/**/*"
Style/SingleLineMethods: Style/SingleLineMethods:
Exclude: Exclude:
@ -192,6 +199,8 @@ Style/FrozenStringLiteralComment:
Enabled: false Enabled: false
Style/SafeNavigation: Style/SafeNavigation:
Enabled: false Enabled: false
Style/IndentHeredoc:
Enabled: false
# only with ruby >= 2.4 # only with ruby >= 2.4
Performance/RegexpMatch: Performance/RegexpMatch:
@ -201,3 +210,8 @@ Performance/RegexpMatch:
Rails/HttpPositionalArguments: Rails/HttpPositionalArguments:
Exclude: Exclude:
- "spec/controllers/diaspora_federation/fixtures_rails4_spec.rb" - "spec/controllers/diaspora_federation/fixtures_rails4_spec.rb"
# remove with next rubocop update, see https://github.com/bbatsov/rubocop/issues/4172
Style/MixinGrouping:
Exclude:
- "spec/**/*"

View file

@ -19,7 +19,7 @@ group :development do
# code style # code style
gem "pronto", "0.8.2" gem "pronto", "0.8.2"
gem "pronto-rubocop", "0.8.0", require: false gem "pronto-rubocop", "0.8.0", require: false
gem "rubocop", "0.47.1" gem "rubocop", "0.48.0"
# automatic test runs # automatic test runs
gem "guard-rspec", require: false gem "guard-rspec", require: false

View file

@ -236,7 +236,7 @@ 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.47.1) rubocop (0.48.0)
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)
@ -320,7 +320,7 @@ DEPENDENCIES
rspec-core (~> 3.5.1) rspec-core (~> 3.5.1)
rspec-json_expectations (~> 2.1) rspec-json_expectations (~> 2.1)
rspec-rails (~> 3.5.1) rspec-rails (~> 3.5.1)
rubocop (= 0.47.1) rubocop (= 0.48.0)
simplecov (= 0.13.0) simplecov (= 0.13.0)
simplecov-rcov (= 0.2.3) simplecov-rcov (= 0.2.3)
spring spring