[DRE-commits] [SCM] ruby-treetop.git branch, master, updated. debian/1.4.10-5-11-gb92c594

Cédric Boutillier boutil at debian.org
Wed Jun 19 15:56:45 UTC 2013


The following commit has been merged in the master branch:
commit 5facfe8ed176681f21f61ad226a907538feb4654
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jun 19 17:30:03 2013 +0200

    fix regexp in spec to make them pass with Ruby 1.8

diff --git a/debian/patches/0003-Use-ruby18-compatible-regexp.patch b/debian/patches/0003-Use-ruby18-compatible-regexp.patch
new file mode 100644
index 0000000..f9d4979
--- /dev/null
+++ b/debian/patches/0003-Use-ruby18-compatible-regexp.patch
@@ -0,0 +1,18 @@
+Description: Use a Regexp in specs compatible with Ruby1.8
+Author: Cédric Boutillier <boutil at debian.org>
+Origin: vendor
+Bug: https://github.com/nathansobo/treetop/issues/32
+Forwarded: https://github.com/nathansobo/treetop/pull/36
+Last-Update: 2013-06-19
+
+--- ruby-treetop-1.4.14.orig/spec/compiler/character_class_spec.rb
++++ ruby-treetop-1.4.14/spec/compiler/character_class_spec.rb
+@@ -86,7 +86,7 @@ module CharacterClassSpec
+   end
+ 
+   describe "a character class with a negated POSIX bracket expression" do
+-    testing_expression "[[:^space:]]"
++    testing_expression "[^[:space:]]"
+     it "matches a character outside the negated class" do
+       parse('a').should_not be_nil
+     end
diff --git a/debian/patches/series b/debian/patches/series
index 04924e2..b26b275 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Do-not-require-rubygems.patch
 0002-Add-a-tt-manual-page.patch
+0003-Use-ruby18-compatible-regexp.patch

-- 
ruby-treetop.git



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