Skip to content

Commit

Permalink
Updated rubocop to more recent version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitri-d authored and iNecas committed Feb 27, 2018
1 parent 432f290 commit a4740fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
RunRailsCops: false
Rails:
Enabled: false

# Don't enforce documentation
Style/Documentation:
Expand All @@ -16,8 +16,10 @@ Metrics/ClassLength:
Exclude:
- 'test/**/*'

Style/TrailingCommaInLiteral:
Enabled: false

Style/TrailingComma:
Style/TrailingCommaInArguments:
Enabled: false

Style/AccessorMethodName:
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ group :test do

if RUBY_VERSION < '2.1'
gem 'public_suffix', '< 3'
gem 'rubocop', '< 0.51.0'
gem 'rainbow', '< 3'
else
gem 'rubocop', '~> 0.52.1'
gem 'public_suffix'
end

Expand Down
1 change: 0 additions & 1 deletion smart_proxy_dynflow.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ Gem::Specification.new do |gem|
gem.add_development_dependency('mocha', '~> 1')
gem.add_development_dependency('webmock', '~> 1')
gem.add_development_dependency('rack-test', '~> 0')
gem.add_development_dependency('rubocop', '0.32.1')
end
2 changes: 1 addition & 1 deletion smart_proxy_dynflow_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency('mocha', '~> 1')
gem.add_development_dependency('webmock', '~> 1')
gem.add_development_dependency('rack-test', '~> 0')
gem.add_development_dependency('rubocop', '0.32.1')
gem.add_development_dependency('rubocop', '~> 0.52.1')

gem.add_runtime_dependency('dynflow', "~> 0.8.29")
gem.add_runtime_dependency('foreman-tasks-core', '>= 0.1.7')
Expand Down

0 comments on commit a4740fc

Please sign in to comment.