Skip to content

Commit e779cdb

Browse files
committed
Clean up Gemfile.dev
1 parent 93d71ee commit e779cdb

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

Gemfile.dev

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,41 @@ ruby_version = Gem::Version.new(RUBY_VERSION)
1313
if 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"
1716
end
1817

19-
if RUBY_VERSION >= "3.5"
18+
if ruby_version >= Gem::Version.new("2.5")
2019
gem "cgi"
2120
end
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"
2928
end
3029

31-
# For RSpec
32-
gem "rspec", "~> 3.0"
30+
# RSpec
31+
gem "rspec"
3332
gem "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
3639
gem "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"
4346
else
4447
gem "rexml", "3.2.5"
4548
gem "simplecov-cobertura", "~> 1.4.0"
4649
end
4750

48-
if ruby_version >= Gem::Version.new("3.4")
49-
gem "ostruct"
50-
end
51-
5251
group :rubocop do
5352
gem "rubocop-rails-omakase"
5453
gem "rubocop-packaging"

0 commit comments

Comments
 (0)