From 0f89aa8b870820c7b43e8fac297d1467abcbef6a Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 3 Dec 2024 23:02:43 +0800 Subject: [PATCH] Test against official Rails 8.0 release (#2479) --- .github/workflows/sentry_rails_test.yml | 4 ++-- sentry-rails/Gemfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sentry_rails_test.yml b/.github/workflows/sentry_rails_test.yml index 06a5867c0..b52abde8a 100644 --- a/.github/workflows/sentry_rails_test.yml +++ b/.github/workflows/sentry_rails_test.yml @@ -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", diff --git a/sentry-rails/Gemfile b/sentry-rails/Gemfile index 53f632539..5000bb3b2 100644 --- a/sentry-rails/Gemfile +++ b/sentry-rails/Gemfile @@ -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")