Gemfile in sentry-rails-5.9.0 vs Gemfile in sentry-rails-5.10.0

- old
+ new

@@ -3,17 +3,19 @@ # Specify your gem's dependencies in sentry-ruby.gemspec gemspec gem "sentry-ruby", path: "../sentry-ruby" +platform :jruby do + gem 'activerecord-jdbcmysql-adapter' + gem "jdbc-sqlite3" +end + rails_version = ENV["RAILS_VERSION"] rails_version = "7.0.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 < Gem::Version.new("6.0.0") gem "sqlite3", "~> 1.3.0", platform: :ruby else gem "sqlite3", platform: :ruby end @@ -35,13 +37,20 @@ gem "rspec-rails", "~> 4.0" gem 'simplecov' gem "simplecov-cobertura", "~> 1.4" gem "rexml" +# https://github.com/flavorjones/loofah/pull/267 +# loofah changed the required ruby version in a patch so we need to explicitly pin it +gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5 + gem "rake", "~> 12.0" -gem "object_tracer" -gem "debug", github: "ruby/debug", platform: :ruby if RUBY_VERSION.to_f >= 2.6 +if RUBY_VERSION.to_f >= 2.6 + gem "debug", github: "ruby/debug", platform: :ruby + gem "irb" +end + gem "pry" gem "benchmark-ips" gem "benchmark_driver" gem "benchmark-ipsa"