Skip to content

Commit

Permalink
Test against official Rails 8.0 release (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored Dec 3, 2024
1 parent e8566fb commit 0f89aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- { ruby_version: "3.1", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: 7.2.0 }
- { ruby_version: "3.3", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: "8.0.0.rc1" }
- { ruby_version: "3.3", rails_version: "8.0.0.rc1" }
- { ruby_version: "3.2", rails_version: "8.0.0" }
- { ruby_version: "3.3", rails_version: "8.0.0" }
- { ruby_version: "jruby", rails_version: 6.1.0 }
- {
ruby_version: "3.2",
Expand Down
4 changes: 2 additions & 2 deletions sentry-rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ end
ruby_version = Gem::Version.new(RUBY_VERSION)

rails_version = ENV["RAILS_VERSION"]
rails_version = "7.2.0" if rails_version.nil?
rails_version = "8.0.0" if rails_version.nil?
rails_version = Gem::Version.new(rails_version)

gem "rails", "~> #{rails_version}"

if rails_version >= Gem::Version.new("8.0.0.alpha")
if rails_version >= Gem::Version.new("8.0.0")
gem "rspec-rails"
gem "sqlite3", platform: :ruby
elsif rails_version >= Gem::Version.new("7.1.0")
Expand Down

0 comments on commit 0f89aa8

Please sign in to comment.