Skip to content

Commit 2bed942

Browse files
committed
Skip the simplecov dependency on jruby.
It is not being used and the bigdecimal dependency (added to recent versions of tins) fails to install on JRuby 9.1.
1 parent 66ac311 commit 2bed942

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Gemfile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ end
1010
group :test do
1111
gem 'minitest', '~> 5.8'
1212

13-
# coveralls is no longer maintained, but supports Ruby < 2.3.
14-
# coveralls_reborn is maintained, but requires Ruby >= 2.3.
15-
gem 'coveralls', git: 'https://github.com/philr/coveralls-ruby.git', require: false if RUBY_VERSION < '2.3'
16-
gem 'coveralls_reborn', '~> 0.13', require: false if RUBY_VERSION >= '2.3'
13+
unless RUBY_ENGINE == 'jruby'
14+
# coveralls is no longer maintained, but supports Ruby < 2.3.
15+
# coveralls_reborn is maintained, but requires Ruby >= 2.3.
16+
gem 'coveralls', git: 'https://github.com/philr/coveralls-ruby.git', require: false if RUBY_VERSION < '2.3'
17+
gem 'coveralls_reborn', '~> 0.13', require: false if RUBY_VERSION >= '2.3'
1718

18-
# term-ansicolor is a dependency of coveralls. All versions are falsely
19-
# declared as compatible with any Ruby version.
20-
#
21-
# Limit to an earlier compatible version.
22-
if RUBY_VERSION < '2.5'
23-
gem 'term-ansicolor', '< 1.9'
19+
# term-ansicolor is a dependency of coveralls. All versions are falsely
20+
# declared as compatible with any Ruby version.
21+
#
22+
# Limit to an earlier compatible version.
23+
if RUBY_VERSION < '2.5'
24+
gem 'term-ansicolor', '< 1.9'
25+
end
2426
end
2527

2628
# The source version of ffi 1.15.5 is declared as compatible with Ruby >= 2.3.

0 commit comments

Comments
 (0)