|
10 | 10 | group :test do
|
11 | 11 | gem 'minitest', '~> 5.8'
|
12 | 12 |
|
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' |
17 | 18 |
|
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 |
24 | 26 | end
|
25 | 27 |
|
26 | 28 | # The source version of ffi 1.15.5 is declared as compatible with Ruby >= 2.3.
|
|
0 commit comments