File tree Expand file tree Collapse file tree 2 files changed +26
-8
lines changed Expand file tree Collapse file tree 2 files changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,39 @@ 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- # For RSpec
24- gem "rspec", "~> 3.0"
22+ if ruby_version >= Gem::Version.new("3.4")
23+ gem "drb"
24+ gem "mutex_m"
25+ gem "benchmark"
26+ gem "base64"
27+ gem "ostruct"
28+ end
29+
30+ # RSpec
31+ gem "rspec"
2532gem "rspec-retry"
33+
34+ if ruby_version >= Gem::Version.new("3.0") && RUBY_PLATFORM != "java"
35+ gem "ruby-lsp-rspec"
36+ end
37+
38+ # Coverage
2639gem "simplecov"
27- gem "simplecov-cobertura", "~> 1.4"
28- gem "rexml"
2940
30- if ruby_version >= Gem::Version.new("3.4")
31- gem "ostruct"
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")
44+ gem "rexml", "3.4.1"
45+ gem "simplecov-cobertura", "~> 3.0"
46+ else
47+ gem "rexml", "3.2.5"
48+ gem "simplecov-cobertura", "~> 1.4.0"
3249end
3350
3451group :rubocop do
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ elsif rails_version >= Gem::Version.new("6.1.0")
4747 gem "sqlite3" , "~> 1.6.9" , platform : :ruby
4848 end
4949else
50+ gem "psych" , "~> 3.0.0"
5051 gem "rspec-rails" , "~> 4.0"
5152 gem "psych" , "~> 3.0.0"
5253
You can’t perform that action at this time.
0 commit comments