File tree Expand file tree Collapse file tree 5 files changed +418
-10
lines changed
spec/dummy/test_rails_app Expand file tree Collapse file tree 5 files changed +418
-10
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ node_modules
1919
2020.devcontainer /.env
2121vendor /gems
22+ sentry-rails /Gemfile- * .lock
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 @@ -36,6 +36,7 @@ if rails_version >= Gem::Version.new("8.0.0")
3636 gem "rspec-rails"
3737 gem "sqlite3" , "~> 2.1.1" , platform : :ruby
3838elsif rails_version >= Gem ::Version . new ( "7.1.0" )
39+ gem "psych" , "~> 4.0.0"
3940 gem "rspec-rails"
4041 gem "sqlite3" , "~> 1.7.3" , platform : :ruby
4142elsif rails_version >= Gem ::Version . new ( "6.1.0" )
@@ -47,8 +48,8 @@ elsif rails_version >= Gem::Version.new("6.1.0")
4748 gem "sqlite3" , "~> 1.6.9" , platform : :ruby
4849 end
4950else
50- gem "rspec-rails" , "~> 4.0"
5151 gem "psych" , "~> 3.0.0"
52+ gem "rspec-rails" , "~> 4.0"
5253
5354 if rails_version >= Gem ::Version . new ( "6.0.0" )
5455 gem "sqlite3" , "~> 1.4.0" , platform : :ruby
You can’t perform that action at this time.
0 commit comments