Repository navigation
Expand file tree
/
Copy pathGemfile
More file actions
61 lines (52 loc) · 1.81 KB
/
Copy pathGemfile
File metadata and controls
61 lines (52 loc) · 1.81 KB
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
58
59
60
61
source 'https://rubygems.org'
gemspec
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.2")
gem 'rake', '~> 13.0'
else
gem 'rake', '< 13'
end
gem 'rake-compiler', '~> 1.2.0'
# For local debugging, irb is Gemified since Ruby 2.6
gem 'irb', require: false
group :test do
unless RUBY_PLATFORM =~ /mswin|mingw/
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('4.0')
# Ruby 4.0 removed Data_Wrap_Struct, breaking eventmachine 1.2.7's
# fastfilereader ext; use git master until a fix is released.
gem 'eventmachine', github: 'eventmachine/eventmachine'
else
gem 'eventmachine'
end
end
gem 'rspec', '~> 3.2'
gem 'rubocop'
gem 'clocale'
end
group :benchmarks, optional: true do
# active_record.rb / active_record_threaded.rb compare against the
# trilogy ActiveRecord adapter, built into activerecord >= 7.1. This is
# intentionally not pinned to >= 7.1 here: `bundle lock` resolves the
# whole Gemfile regardless of this group's `optional: true`, and a hard
# floor above what old Rubies can run breaks CI legs that never touch
# this group at all.
gem 'activerecord', '>= 3.0'
gem 'benchmark-ips'
gem 'faker'
gem 'sequel'
# trilogy's gemspec requires Ruby >= 3.0. `bundle lock` resolves the
# whole Gemfile regardless of this group's `optional: true`, so this
# line must be omitted entirely on older Rubies rather than merely
# version-constrained, the same way the old `mysql` gem line was
# guarded here before it was dropped.
gem 'trilogy' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0')
end
group :development do
gem 'pry'
gem 'rake-compiler-dock', '~> 1.12'
end
# On MRI Ruby >= 3.0, rubysl-rake causes the conflict on GitHub Actions.
# platforms :rbx do
# gem 'rubysl-bigdecimal'
# gem 'rubysl-drb'
# gem 'rubysl-rake'
# end