Skip to content

Commit

Permalink
Update rubocop (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Munteanu authored Jan 7, 2020
1 parent 88daeca commit dad714e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
AllCops:
TargetRubyVersion: 2.5

Layout/AlignHash:
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Layout/LeadingCommentSpace:
Exclude:
- '**/*.ru'
Layout/LineLength:
Max: 120
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Expand All @@ -21,8 +23,6 @@ Metrics/ClassLength:
Metrics/CyclomaticComplexity:
Exclude:
- lib/api_valve/middleware/logging.rb
Metrics/LineLength:
Max: 120

Style/ClassAndModuleChildren:
Enabled: false
Expand Down
4 changes: 2 additions & 2 deletions api_valve.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'json_spec', '~> 1.1'
s.add_development_dependency 'rack-test', '~> 1.1'
s.add_development_dependency 'rspec', '~> 3.7'
s.add_development_dependency 'rubocop', '0.76.0'
s.add_development_dependency 'rubocop-rspec', '1.37.0'
s.add_development_dependency 'rubocop', '0.78.0'
s.add_development_dependency 'rubocop-rspec', '1.37.1'
s.add_development_dependency 'simplecov', '~> 0.16'
s.add_development_dependency 'timecop', '~> 0.9'
s.add_development_dependency 'webmock', '~> 3.4'
Expand Down
2 changes: 1 addition & 1 deletion spec/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require: rubocop-rspec
inherit_from: ../.rubocop.yml

Layout/AlignHash:
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table

Expand Down

0 comments on commit dad714e

Please sign in to comment.