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
19
19
20
20
.devcontainer /.env
21
21
vendor /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)
13
13
if ruby_version >= Gem::Version.new("2.7.0")
14
14
gem "debug", github: "ruby/debug", platform: :ruby
15
15
gem "irb"
16
- gem "ruby-lsp-rspec" if ruby_version >= Gem::Version.new("3.0.0") && RUBY_PLATFORM != "java"
17
16
end
18
17
19
- if RUBY_VERSION >= "3 .5"
18
+ if ruby_version >= Gem::Version.new("2 .5")
20
19
gem "cgi"
21
20
end
22
21
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"
25
32
gem "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
26
39
gem "simplecov"
27
- gem "simplecov-cobertura", "~> 1.4"
28
- gem "rexml"
29
40
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"
32
49
end
33
50
34
51
group :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")
36
36
gem "rspec-rails"
37
37
gem "sqlite3" , "~> 2.1.1" , platform : :ruby
38
38
elsif rails_version >= Gem ::Version . new ( "7.1.0" )
39
+ gem "psych" , "~> 4.0.0"
39
40
gem "rspec-rails"
40
41
gem "sqlite3" , "~> 1.7.3" , platform : :ruby
41
42
elsif rails_version >= Gem ::Version . new ( "6.1.0" )
@@ -47,8 +48,8 @@ elsif rails_version >= Gem::Version.new("6.1.0")
47
48
gem "sqlite3" , "~> 1.6.9" , platform : :ruby
48
49
end
49
50
else
50
- gem "rspec-rails" , "~> 4.0"
51
51
gem "psych" , "~> 3.0.0"
52
+ gem "rspec-rails" , "~> 4.0"
52
53
53
54
if rails_version >= Gem ::Version . new ( "6.0.0" )
54
55
gem "sqlite3" , "~> 1.4.0" , platform : :ruby
You can’t perform that action at this time.
0 commit comments