summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-04-19 11:05:11 +0300
committerGitHub <noreply@github.com>2023-04-19 11:05:11 +0300
commitf06d2caa534479d1bf73c77d061dafa13f12949e (patch)
treebcd49d0a03adcee69e8d15117340f2edd2002cbc
parent807519c660f89a2313ab14716984357bad2fd73c (diff)
Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0 (#440)magentastripe-20240607
* Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0 Updates the requirements on [pygments.rb](https://github.com/pygments/pygments.rb) to permit the latest version. - [Release notes](https://github.com/pygments/pygments.rb/releases) - [Changelog](https://github.com/pygments/pygments.rb/blob/master/CHANGELOG.adoc) - [Commits](https://github.com/pygments/pygments.rb/compare/v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: pygments.rb dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Fix tests --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marat Radchenko <marat@slonopotamus.org>
-rw-r--r--asciidoctor-epub3.gemspec2
-rw-r--r--spec/highlight_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/asciidoctor-epub3.gemspec b/asciidoctor-epub3.gemspec
index 59a5e6a..5417cfc 100644
--- a/asciidoctor-epub3.gemspec
+++ b/asciidoctor-epub3.gemspec
@@ -33,7 +33,7 @@ An extension for Asciidoctor that converts AsciiDoc documents to EPUB3 and KF8/M
s.add_development_dependency 'asciidoctor-diagram', '>= 1.5.0', '< 3.0.0'
s.add_development_dependency 'asciimath', '~> 2.0'
s.add_development_dependency 'coderay', '~> 1.1.0'
- s.add_development_dependency 'pygments.rb', '~> 2.3.0'
+ s.add_development_dependency 'pygments.rb', '~> 2.4.0'
s.add_development_dependency 'rake', '~> 13.0.0'
s.add_development_dependency 'rouge', '~> 3.0'
s.add_development_dependency 'rspec', '~> 3.12.0'
diff --git a/spec/highlight_spec.rb b/spec/highlight_spec.rb
index 89508c4..2282fde 100644
--- a/spec/highlight_spec.rb
+++ b/spec/highlight_spec.rb
@@ -21,7 +21,7 @@ describe 'Asciidoctor::Epub3::Converter - Highlight' do
article = book.item_by_href 'source_highlight.xhtml'
expect(article).not_to be_nil
if Asciidoctor::Document.supports_syntax_highlighter?
- expect(article.content).to include '<span class="tok-k">class</span> <span class="tok-nc">Foo</span>'
+ expect(article.content).to include '<span class="tok-nc">Foo</span>'
expect(article.content).to include '<link rel="stylesheet" href="./pygments-bw.css"/>'
expect(book.item_by_href('pygments-bw.css')).not_to be_nil
else