File: Gemfile

package info (click to toggle)
ruby-sentry-rails 5.18.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: ruby: 1,035; makefile: 7; sh: 4
file content (57 lines) | stat: -rw-r--r-- 1,426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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

rails_version = ENV["RAILS_VERSION"]
rails_version = "7.1.0" if rails_version.nil?
rails_version = Gem::Version.new(rails_version)

if rails_version < Gem::Version.new("6.0.0")
  gem "sqlite3", "~> 1.3.0", platform: :ruby
else
  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")
  gem "rails", "~> #{rails_version}"
else
  gem "rails", "~> #{rails_version}"
  gem "psych", "~> 3.0.0"
end

gem "mini_magick"

gem "sprockets-rails"

gem "sidekiq"

gem "rspec-rails", "~> 4.0"

ruby_version = Gem::Version.new(RUBY_VERSION)

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 "benchmark-ips"
gem "benchmark_driver"
gem "benchmark-ipsa"
gem "benchmark-memory"

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