Gemfile in sentry-rails-5.18.0 vs Gemfile in sentry-rails-5.18.1

- old
+ new

@@ -15,11 +15,14 @@ rails_version = Gem::Version.new(rails_version) if rails_version < Gem::Version.new("6.0.0") gem "sqlite3", "~> 1.3.0", platform: :ruby else - # 1.7.0 dropped support for ruby < 3.0, remove later after upgrading craft setup - gem "sqlite3", "1.6.9", platform: :ruby + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.7.0") + gem "sqlite3", "~> 1.7.3", platform: :ruby + else + gem "sqlite3", "~> 1.6.9", platform: :ruby + end end if rails_version >= Gem::Version.new("7.2.0.alpha") gem "rails", github: "rails/rails" elsif rails_version >= Gem::Version.new("7.1.0")