File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -13,42 +13,41 @@ ruby_version = Gem::Version.new(RUBY_VERSION)
1313if ruby_version >= Gem::Version.new("2.7.0")
1414 gem "debug", github: "ruby/debug", platform: :ruby
1515 gem "irb"
16- gem "ruby-lsp-rspec" if ruby_version >= Gem::Version.new("3.0.0") && RUBY_PLATFORM != "java"
1716end
1817
19- if RUBY_VERSION >= "3 .5"
18+ if ruby_version >= Gem::Version.new("2 .5")
2019 gem "cgi"
2120end
2221
23- if RUBY_VERSION >= "3.4"
22+ if ruby_version >= Gem::Version.new( "3.4")
2423 gem "drb"
2524 gem "mutex_m"
2625 gem "benchmark"
2726 gem "base64"
2827 gem "ostruct"
2928end
3029
31- # For RSpec
32- gem "rspec", "~> 3.0"
30+ # RSpec
31+ gem "rspec"
3332gem "rspec-retry"
3433
34+ if ruby_version >= Gem::Version.new("3.0") && RUBY_PLATFORM != "java"
35+ gem "ruby-lsp-rspec"
36+ end
37+
3538# Coverage
3639gem "simplecov"
3740
38- # Do not change it without checking that `CI=true COVERAGE=true bundle exec rake` passes
39- # in all projects
40- if RUBY_VERSION >= "2.5.0"
41+ # Do not change it without checking that `CI=true COVERAGE=true bundle exec rake`
42+ # passes in all projects
43+ if ruby_version >= Gem::Version.new( "2.5")
4144 gem "rexml", "3.4.1"
4245 gem "simplecov-cobertura", "~> 3.0"
4346else
4447 gem "rexml", "3.2.5"
4548 gem "simplecov-cobertura", "~> 1.4.0"
4649end
4750
48- if ruby_version >= Gem::Version.new("3.4")
49- gem "ostruct"
50- end
51-
5251group :rubocop do
5352 gem "rubocop-rails-omakase"
5453 gem "rubocop-packaging"
You can’t perform that action at this time.
0 commit comments