Skip to content

Commit c3362af

Browse files
committed
Remove rubocop exact version dependency from appraisal gemfiles
1 parent 9360135 commit c3362af

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

Appraisals

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# frozen_string_literal: true
22

33
appraise 'standalone' do
4-
# No additions
4+
remove_gem 'rubocop'
55
end
66

77
appraise 'openssl' do
88
gem 'openssl', '~> 2.1'
9+
remove_gem 'rubocop'
910
end
1011

1112
appraise 'rbnacl' do
1213
gem 'rbnacl', '>= 6'
14+
remove_gem 'rubocop'
1315
end
1416

1517
appraise 'rbnacl_pre_6' do
1618
gem 'rbnacl', '< 6'
19+
remove_gem 'rubocop'
1720
end

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ source 'https://rubygems.org'
44

55
gemspec
66

7-
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0')
8-
gem 'rubocop', '~> 1.56.3' # Keep .codeclimate.yml channel in sync with this one
9-
end
7+
gem 'rubocop', '~> 1.56.3' # Keep .codeclimate.yml channel in sync with this one

gemfiles/openssl.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "rubocop", "~> 1.56.3"
65
gem "openssl", "~> 2.1"
76

87
gemspec path: "../"

gemfiles/rbnacl.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "rubocop", "~> 1.56.3"
65
gem "rbnacl", ">= 6"
76

87
gemspec path: "../"

gemfiles/rbnacl_pre_6.gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "rubocop", "~> 1.56.3"
65
gem "rbnacl", "< 6"
76

87
gemspec path: "../"

gemfiles/standalone.gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gem "rubocop", "~> 1.56.3"
6-
75
gemspec path: "../"

0 commit comments

Comments
 (0)