diff options
| -rw-r--r-- | CHANGELOG.adoc | 1 | ||||
| -rw-r--r-- | Gemfile | 1 | ||||
| -rw-r--r-- | asciidoctor-pdf.gemspec | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 1d6660f1..23d42ee0 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -189,6 +189,7 @@ Bug Fixes:: Compliance:: * drop support for Ruby < 2.5 (which includes JRuby 9.1) (#1681) +* declare the matrix gem as a dependency to fix compatibility with Ruby 3.1 * use `YAML.safe_load` from Ruby stdlib instead of `safe_yaml gem` * drop deprecated Pdf module alias in API (leaving only PDF) * remove deprecated "ascii" fonts; only bundle the more complete "subset" fonts @@ -8,7 +8,6 @@ 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 'matrix' if (Gem::Version.new RUBY_VERSION) >= (Gem::Version.new '3.1.0') gem 'open-uri-cached', '~> 1.0.0', require: false gem 'pdf-reader', '2.8.0', require: false gem 'prawn-gmagick', ENV['PRAWN_GMAGICK_VERSION'], require: false if ENV.key? 'PRAWN_GMAGICK_VERSION' diff --git a/asciidoctor-pdf.gemspec b/asciidoctor-pdf.gemspec index 12027403..0bc0c820 100644 --- a/asciidoctor-pdf.gemspec +++ b/asciidoctor-pdf.gemspec @@ -35,6 +35,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'asciidoctor', '~> 2.0' s.add_runtime_dependency 'prawn', '~> 2.4.0' + s.add_runtime_dependency 'matrix', '~> 0.4' # required until prawn >= 2.5.0 is released s.add_runtime_dependency 'prawn-table', '~> 0.2.0' s.add_runtime_dependency 'prawn-templates', '~> 0.1.0' s.add_runtime_dependency 'prawn-svg', '~> 0.32.0' |
