Skip to content

Commit

Permalink
Remove rubocop exact version dependency from appraisal gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Oct 14, 2023
1 parent 9360135 commit c3362af
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
5 changes: 4 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# frozen_string_literal: true

appraise 'standalone' do
# No additions
remove_gem 'rubocop'
end

appraise 'openssl' do
gem 'openssl', '~> 2.1'
remove_gem 'rubocop'
end

appraise 'rbnacl' do
gem 'rbnacl', '>= 6'
remove_gem 'rubocop'
end

appraise 'rbnacl_pre_6' do
gem 'rbnacl', '< 6'
remove_gem 'rubocop'
end
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ source 'https://rubygems.org'

gemspec

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0')
gem 'rubocop', '~> 1.56.3' # Keep .codeclimate.yml channel in sync with this one
end
gem 'rubocop', '~> 1.56.3' # Keep .codeclimate.yml channel in sync with this one
1 change: 0 additions & 1 deletion gemfiles/openssl.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source "https://rubygems.org"

gem "rubocop", "~> 1.56.3"
gem "openssl", "~> 2.1"

gemspec path: "../"
1 change: 0 additions & 1 deletion gemfiles/rbnacl.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source "https://rubygems.org"

gem "rubocop", "~> 1.56.3"
gem "rbnacl", ">= 6"

gemspec path: "../"
1 change: 0 additions & 1 deletion gemfiles/rbnacl_pre_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source "https://rubygems.org"

gem "rubocop", "~> 1.56.3"
gem "rbnacl", "< 6"

gemspec path: "../"
2 changes: 0 additions & 2 deletions gemfiles/standalone.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

source "https://rubygems.org"

gem "rubocop", "~> 1.56.3"

gemspec path: "../"

0 comments on commit c3362af

Please sign in to comment.