Skip to content

Commit

Permalink
Move rubocop group
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Jan 10, 2025
1 parent 7f8e8fd commit 75c4d8a
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ save_bundle_checksum: &save_bundle_checksum
command: |
if [ "$CI_BUNDLE_CACHE_HIT" != 1 ]; then
# Recompute gemfiles/*.lock checksum, as those files might have changed
cat Gemfile Gemfile.lock ruby-*.gemfile gemfiles/*.gemfile gemfiles/*.gemfile.lock | md5sum > .circleci/bundle_checksum
cat Gemfile Gemfile.lock jruby-*.gemfile ruby-*.gemfile gemfiles/*.gemfile gemfiles/*.gemfile.lock | md5sum > .circleci/bundle_checksum
fi
cp .circleci/bundle_checksum /usr/local/bundle/bundle_checksum
step_bundle_install: &step_bundle_install
Expand Down
14 changes: 7 additions & 7 deletions jruby-9.3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -41,6 +34,13 @@ gem 'webmock', '>= 3.10.0'

group :check do
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions jruby-9.4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -43,6 +36,13 @@ gem 'webrick', '>= 1.7.0'

group :check do
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-2.6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -50,6 +43,13 @@ gem 'webmock', '>= 3.10.0'

group :check do
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-2.7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -51,6 +44,13 @@ gem 'webmock', '>= 3.10.0'
group :check do
gem 'ruby_memcheck', '>= 3' if RUBY_VERSION >= '3.4.0' && RUBY_PLATFORM != 'java'
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -51,6 +44,13 @@ gem 'webrick', '>= 1.7.0'

group :check do
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -53,6 +46,13 @@ group :check do
gem 'rbs', '~> 3.7', require: false
gem 'steep', '~> 1', '>= 1.9.1', require: false
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -52,6 +45,13 @@ group :check do
gem 'rbs', '~> 3.7', require: false
gem 'steep', '~> 1', '>= 1.9.1', require: false
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -52,6 +45,13 @@ group :check do
gem 'rbs', '~> 3.7', require: false
gem 'steep', '~> 1', '>= 1.9.1', require: false
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov
gem 'warning', '~> 1' # NOTE: Used in spec_helper.rb
Expand All @@ -55,6 +48,13 @@ group :check do
gem 'steep', '~> 1', '>= 1.9.1', require: false
gem 'ruby_memcheck', '>= 3'
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down
14 changes: 7 additions & 7 deletions ruby-3.5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-wait', '~> 0'
gem 'rspec_junit_formatter', '>= 0.5.1'

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false

gem 'simplecov'
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov

Expand All @@ -56,6 +49,13 @@ group :check do
gem 'steep', '~> 1', '>= 1.9.1', require: false
gem 'ruby_memcheck', '>= 3'
gem 'standard', require: false

# 1.50 is the last version to support Ruby 2.6
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-packaging', '~> 0.5.2', require: false
gem 'rubocop-performance', '~> 1.9', require: false
# 2.20 is the last version to support Ruby 2.6
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false
end

group :dev do
Expand Down

0 comments on commit 75c4d8a

Please sign in to comment.