[DRE-commits] [jekyll] 01/02: Add adapt_test_rouge2.patch to fix a test for ruby-rouge 2.x

Cédric Boutillier boutil at moszumanska.debian.org
Mon Jul 4 10:17:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository jekyll.

commit c6d5a43a9fb7dffdd216c52f7b8d7f462204a926
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jul 4 12:03:57 2016 +0200

    Add adapt_test_rouge2.patch to fix a test for ruby-rouge 2.x
---
 debian/patches/adapt_test_rouge2.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/adapt_test_rouge2.patch b/debian/patches/adapt_test_rouge2.patch
new file mode 100644
index 0000000..9d5bb3d
--- /dev/null
+++ b/debian/patches/adapt_test_rouge2.patch
@@ -0,0 +1,27 @@
+Description: simplify selector to adapt to rouge 2.x
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-07-04
+
+--- a/test/test_kramdown.rb
++++ b/test/test_kramdown.rb
+@@ -56,7 +56,7 @@
+         ~~~
+       MARKDOWN
+ 
+-      selector = "div.highlighter-rouge>pre.highlight>code"
++      selector = "div.highlighter-rouge"
+       refute result.css(selector).empty?
+     end
+ 
+--- a/jekyll.gemspec
++++ b/jekyll.gemspec
+@@ -470,7 +470,7 @@
+   s.add_runtime_dependency('mercenary', '~> 0.3.3')
+   s.add_runtime_dependency('safe_yaml', '~> 1.0')
+   s.add_runtime_dependency('colorator', '~> 0.1')
+-  s.add_runtime_dependency('rouge', '~> 1.7')
++  s.add_runtime_dependency('rouge', '~> 2.0')
+   s.add_runtime_dependency('jekyll-sass-converter', '~> 1.0')
+   s.add_runtime_dependency('jekyll-watch', '~> 1.1')
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 3bd9a65..23d63b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@
 0012_no_require_relative.patch
 0013_require_coffee_script_test.patch
 0014_skip_test_autopkgtest.patch
+adapt_test_rouge2.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/jekyll.git



More information about the Pkg-ruby-extras-commits mailing list