[DRE-commits] [ruby-hashie] 01/04: Fix the build

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Dec 12 18:02:53 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-hashie.

commit a06c3cf7ecfe66483fbac4c1aa3a53c7c1424c0c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Dec 12 12:40:23 2015 -0200

    Fix the build
    
    Skip an expected failure that is know to break on Ruby > 2.2.0, but works on
    Ruby >= 2.2.3 (Closes: #796514)
---
 debian/changelog                 |  7 +++++++
 debian/patches/fixup-tests.patch | 11 +++++++++++
 debian/patches/series            |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 68ce887..8133a6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-hashie (3.4.2-3) UNRELEASED; urgency=medium
+
+  * fixup-tests.patch: skip an expected failure that is know to break on Ruby
+    > 2.2.0, but works on Ruby >= 2.2.3 (Closes: #796514)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sat, 12 Dec 2015 12:38:30 -0200
+
 ruby-hashie (3.4.2-2) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/patches/fixup-tests.patch b/debian/patches/fixup-tests.patch
new file mode 100644
index 0000000..f99cd1e
--- /dev/null
+++ b/debian/patches/fixup-tests.patch
@@ -0,0 +1,11 @@
+--- a/spec/hashie/mash_spec.rb
++++ b/spec/hashie/mash_spec.rb
+@@ -364,7 +364,7 @@ describe Hashie::Mash do
+ 
+     it 'is able to access an unknown suffixed key as a method' do
+       # See https://github.com/intridea/hashie/pull/285 for more information
+-      if mri22?
++      if mri22? and RUBY_VERSION < '2.2.3'
+         pending 'Bug in MRI 2.2.x means this behavior is broken in those versions'
+       end
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 9eb5093..e15b691 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-spec-spec_helper.rb-don-t-load-pry.patch
+fixup-tests.patch

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



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