From c3362af8776fa6d339c590d1fc1784d4ba507cd6 Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Sat, 14 Oct 2023 14:54:31 +0300 Subject: [PATCH] Remove rubocop exact version dependency from appraisal gemfiles --- Appraisals | 5 ++++- Gemfile | 4 +--- gemfiles/openssl.gemfile | 1 - gemfiles/rbnacl.gemfile | 1 - gemfiles/rbnacl_pre_6.gemfile | 1 - gemfiles/standalone.gemfile | 2 -- 6 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Appraisals b/Appraisals index f372c690..118db4d4 100644 --- a/Appraisals +++ b/Appraisals @@ -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 diff --git a/Gemfile b/Gemfile index 35a0c6c2..ca1ebb64 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/gemfiles/openssl.gemfile b/gemfiles/openssl.gemfile index a94fc2d2..94ce8660 100644 --- a/gemfiles/openssl.gemfile +++ b/gemfiles/openssl.gemfile @@ -2,7 +2,6 @@ source "https://rubygems.org" -gem "rubocop", "~> 1.56.3" gem "openssl", "~> 2.1" gemspec path: "../" diff --git a/gemfiles/rbnacl.gemfile b/gemfiles/rbnacl.gemfile index b09e19cd..ce73f33d 100644 --- a/gemfiles/rbnacl.gemfile +++ b/gemfiles/rbnacl.gemfile @@ -2,7 +2,6 @@ source "https://rubygems.org" -gem "rubocop", "~> 1.56.3" gem "rbnacl", ">= 6" gemspec path: "../" diff --git a/gemfiles/rbnacl_pre_6.gemfile b/gemfiles/rbnacl_pre_6.gemfile index 0898f9bb..38c842cf 100644 --- a/gemfiles/rbnacl_pre_6.gemfile +++ b/gemfiles/rbnacl_pre_6.gemfile @@ -2,7 +2,6 @@ source "https://rubygems.org" -gem "rubocop", "~> 1.56.3" gem "rbnacl", "< 6" gemspec path: "../" diff --git a/gemfiles/standalone.gemfile b/gemfiles/standalone.gemfile index 78d98bb4..095e6608 100644 --- a/gemfiles/standalone.gemfile +++ b/gemfiles/standalone.gemfile @@ -2,6 +2,4 @@ source "https://rubygems.org" -gem "rubocop", "~> 1.56.3" - gemspec path: "../"