Skip to content

Commit 21a8d42

Browse files
committed
Update Gemfile to adjust Ruby version conditions for rdoc, simplecov, coveralls_reborn, and rackup
1 parent 0c72f95 commit 21a8d42

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ source 'https://rubygems.org'
44
group :development do
55
gem 'rspec'
66
gem 'rake'
7-
gem 'rdoc'
7+
gem 'rdoc', RUBY_VERSION < '2.7.0' ? '~> 6.0' : nil
88
gem 'json'
9-
gem 'simplecov' if RUBY_VERSION >= '2.7.'
10-
gem 'coveralls_reborn', :require => false if RUBY_VERSION >= '2.7.'
9+
gem 'simplecov' if RUBY_VERSION >= '2.7.0'
10+
gem 'coveralls_reborn', :require => false if RUBY_VERSION >= '2.7.0'
1111
gem 'webrick'
1212
end
1313

@@ -25,8 +25,8 @@ group :textile do
2525
end
2626

2727
group :server do
28-
gem 'rackup' if RUBY_VERSION >= '2.4.0'
29-
gem 'rack', '~> 2.0' if RUBY_VERSION < '2.4.0'
28+
gem 'rackup' if RUBY_VERSION >= '2.6.0'
29+
gem 'rack', '~> 2.0' if RUBY_VERSION < '2.6.0'
3030
end
3131

3232
group :i18n do

0 commit comments

Comments
 (0)