summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-12-26 23:59:03 -0700
committerDan Allen <dan.j.allen@gmail.com>2021-12-27 04:28:18 -0700
commit0fc983c86cdf49f0ce46618aab67e765e32ee0db (patch)
tree14b5ffa9d1be729c3eeb06ae1b6dd4c6ebce04ca /Gemfile
parentb2de2a94996bea2662700852396d723383e772aa (diff)
add Ruby 3.1 to CI matrix; update error message transformation to account for changes
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 7c7ebcbe..58daed00 100644
--- a/Gemfile
+++ b/Gemfile
@@ -8,7 +8,8 @@ gemspec
gem 'asciidoctor', ENV['ASCIIDOCTOR_VERSION'], require: false if ENV.key? 'ASCIIDOCTOR_VERSION'
gem 'asciidoctor-diagram', ENV['ASCIIDOCTOR_DIAGRAM_VERSION'], require: false if ENV.key? 'ASCIIDOCTOR_DIAGRAM_VERSION'
gem 'coderay', '~> 1.1.0', require: false
-gem 'open-uri-cached', require: false
+gem 'matrix' if (Gem::Version.new RUBY_VERSION) >= (Gem::Version.new '3.1.0')
+gem 'open-uri-cached', require: false if (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '3.1.0')
gem 'prawn-gmagick', ENV['PRAWN_GMAGICK_VERSION'], require: false if ENV.key? 'PRAWN_GMAGICK_VERSION'
# NOTE: use prawn-table from upstream (pre-0.2.3) to verify fix for #599
gem 'prawn-table', git: 'https://github.com/prawnpdf/prawn-table', ref: '515f2db294866a343b05d15f94e5fb417a32f6ff', require: false