summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-10-18 10:24:55 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-10-18 23:46:19 -0600
commit70248c19bc559fb4535f8aa06b3208b8f1a648c7 (patch)
tree362f4dea401e4bc0646cf3d32883fad328e255ea /Gemfile
parent5c8afc1945f0d6262b04ff4cf731832e8819f166 (diff)
drop support for Ruby < 9.2 (which provides Ruby 2.3)
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 5ad259e6..26d7e02d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -16,7 +16,7 @@ group :development do
gem 'pygments.rb', ENV['PYGMENTS_VERSION'] if ENV.key? 'PYGMENTS_VERSION'
# rouge is needed for testing source highlighting; Asciidoctor supports rouge >= 2
gem 'rouge', (ENV.fetch 'ROUGE_VERSION', '~> 3.0')
- if RUBY_ENGINE == 'truffleruby' || (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.5.0')
+ if RUBY_ENGINE == 'truffleruby'
gem 'nokogiri', '~> 1.10.0'
elsif (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.6.0')
gem 'nokogiri', '~> 1.12.0'
@@ -32,9 +32,9 @@ group :lint do
gem 'rubocop', '~> 1.24.0', require: false
gem 'rubocop-minitest', '~> 0.17.0', require: false
gem 'rubocop-rake', '~> 0.6.0', require: false
-end unless (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.5.0')
+end
group :coverage do
gem 'json', '~> 2.2.0' if RUBY_ENGINE == 'truffleruby'
gem 'simplecov', '~> 0.16.0'
-end unless (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.5.0')
+end