Gemfile in sentry-rails-4.8.3 vs Gemfile in sentry-rails-4.9.0
- old
+ new
@@ -4,20 +4,26 @@
gemspec
gem "sentry-ruby", path: "../sentry-ruby"
rails_version = ENV["RAILS_VERSION"]
rails_version = "6.1.0" if rails_version.nil?
+rails_version = Gem::Version.new(rails_version)
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
gem "jdbc-sqlite3", platform: :jruby
-if rails_version.to_f < 6
+if rails_version < Gem::Version.new("6.0.0")
gem "sqlite3", "~> 1.3.0", platform: :ruby
else
gem "sqlite3", platform: :ruby
end
-gem "rails", "~> #{rails_version}"
+if rails_version >= Gem::Version.new("7.0.0")
+ gem "rails", github: "rails/rails", branch: "7-0-stable"
+else
+ gem "rails", "~> #{rails_version}"
+end
+
gem "sprockets-rails"
gem "sidekiq"
gem "rspec", "~> 3.0"