Sha256: 5f1d0cdf932e41bb1e1e8ad57c773756266b2384b07ea109a14297315219a38a

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

source "https://rubygems.org"
git_source(:github) { |name| "https://github.com/#{name}.git" }

# 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

ruby_version = Gem::Version.new(RUBY_VERSION)

rails_version = ENV["RAILS_VERSION"]
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")
  gem "rspec-rails"
  gem "sqlite3", platform: :ruby
elsif rails_version >= Gem::Version.new("7.1.0")
  gem "rspec-rails"
  gem "sqlite3", "~> 1.7.3", platform: :ruby
elsif rails_version >= Gem::Version.new("6.1.0")
  gem "rspec-rails", "~> 4.0"

  if ruby_version >= Gem::Version.new("2.7.0")
    gem "sqlite3", "~> 1.7.3", platform: :ruby
  else
    gem "sqlite3", "~> 1.6.9", platform: :ruby
  end
else
  gem "rspec-rails", "~> 4.0"
  gem "psych", "~> 3.0.0"

  if rails_version >= Gem::Version.new("6.0.0")
    gem "sqlite3", "~> 1.4.0", platform: :ruby
  else
    gem "sqlite3", "~> 1.3.0", platform: :ruby
  end
end

if ruby_version < Gem::Version.new("2.5.0")
  # 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"
end

gem "mini_magick"

gem "sprockets-rails"

gem "benchmark-ips"
gem "benchmark_driver"
gem "benchmark-ipsa"
gem "benchmark-memory"

eval_gemfile File.expand_path("../Gemfile", __dir__)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sentry-rails-5.22.1 Gemfile
sentry-rails-5.22.0 Gemfile