forked from mongodb/mongoid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
29 lines (20 loc) · 614 Bytes
/
Copy pathGemfile
File metadata and controls
29 lines (20 loc) · 614 Bytes
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
# rubocop:todo all
source 'https://rubygems.org'
gemspec
require_relative './gemfiles/standard'
standard_dependencies
gem 'actionpack'
gem 'activemodel'
i18n_versions = ['~> 1.0', '>= 1.1']
if RUBY_PLATFORM =~ /java/
# https://github.com/jruby/jruby/issues/6573
i18n_versions << '< 1.8.8'
end
if RUBY_VERSION < '3.2'
# 1.15.0 uses Fiber[:foo] syntax, which breaks on Ruby 3.1
i18n_versions << '< 1.15.0'
end
gem 'i18n', *i18n_versions
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ windows jruby ]
gem 'ostruct' if RUBY_VERSION >= '4.0'