Skip to content

Commit

Permalink
Merge pull request #1807 from newrelic/pin_rubocop_version
Browse files Browse the repository at this point in the history
Pin rubocop versions
  • Loading branch information
tannalynn authored Feb 8, 2023
2 parents 59e5e29 + b7ecb3b commit c8cb976
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions newrelic_rpm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ https://github.com/newrelic/newrelic-ruby-agent/
s.add_development_dependency 'mocha', '~> 1.16'
s.add_development_dependency 'pry' unless ENV['CI']
s.add_development_dependency 'rake', '12.3.3'
s.add_development_dependency 'rubocop' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-minitest' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-performance' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-rake' unless ENV['CI'] && RUBY_VERSION < '3.0.0'

s.add_development_dependency 'rubocop', '1.44.1' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-ast', '1.24.1' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-minitest', '0.27.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-performance', '1.16.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
s.add_development_dependency 'rubocop-rake', '0.6.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'

s.add_development_dependency 'simplecov' if RUBY_VERSION >= '2.7.0'
s.add_development_dependency 'thor' unless ENV['CI']
s.add_development_dependency 'warning' if RUBY_VERSION >= '2.4.0'
Expand Down

0 comments on commit c8cb976

Please sign in to comment.