Debian Codegraph @

Gemfile

raw
1 source "https://rubygems.org"
2
3 gemspec
4
5 group :test do
6 gem 'rake', ['>= 12.2.1', '< 14']
7 gem 'minitest', '~> 5.0'
8 gem 'simplecov', '~> 0.15.1', require: false
9
10 # json is a dependency of simplecov. Version 2.3.0 is declared as compatible
11 # with Ruby >= 1.9, but actually fails with a syntax error:
12 # https://travis-ci.org/tzinfo/tzinfo/jobs/625092293#L605
13 #
14 # 2.5.1 is declared as compatible with Ruby >= 2.0, but actually fails to
15 # compile with an undefined reference to `rb_funcallv` on Windows:
16 # https://github.com/tzinfo/tzinfo/runs/1664656059#step:3:757
17 #
18 # 2.3.0 also fails to build the native extension with Rubinius:
19 # https://travis-ci.org/tzinfo/tzinfo/jobs/625092305#L1310
20 #
21 # Limit to earlier compatible versions.
22 if RUBY_VERSION < '2.0' || RUBY_ENGINE == 'rbx'
23 gem 'json', '< 2.3.0'
24 elsif RUBY_VERSION < '2.1' && RUBY_PLATFORM =~ /mingw/
25 gem 'json', '< 2.5.0'
26 end
27 end