[DRE-commits] [ruby-hashie] 02/03: skip loading pry when running the teste suite
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Aug 5 13:04:14 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 251da7003dd961356f9856cff083900d2fba5bf2
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Aug 5 09:59:24 2015 -0300
skip loading pry when running the teste suite
see #794657
---
debian/changelog | 2 ++
.../0001-spec-spec_helper.rb-don-t-load-pry.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9bf2ae9..8025a52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
ruby-hashie (3.4.2-2) unstable; urgency=medium
* Conflicts: ruby-rash (see #792548)
+ * 0001-spec-spec_helper.rb-don-t-load-pry.patch: skip loading pry when
+ running the teste suite (see #794657)
-- Antonio Terceiro <terceiro at debian.org> Wed, 05 Aug 2015 09:36:31 -0300
diff --git a/debian/patches/0001-spec-spec_helper.rb-don-t-load-pry.patch b/debian/patches/0001-spec-spec_helper.rb-don-t-load-pry.patch
new file mode 100644
index 0000000..3c8f3e8
--- /dev/null
+++ b/debian/patches/0001-spec-spec_helper.rb-don-t-load-pry.patch
@@ -0,0 +1,22 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Wed, 5 Aug 2015 09:56:54 -0300
+Subject: spec/spec_helper.rb: don't load pry
+
+pry is broken with ruby-slop >= 4.x
+---
+ spec/spec_helper.rb | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 7c07c4a..9f061b4 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -3,8 +3,6 @@ if ENV['CI']
+ CodeClimate::TestReporter.start
+ end
+
+-require 'pry'
+-
+ require 'rspec'
+ require 'hashie'
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9eb5093
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-spec-spec_helper.rb-don-t-load-pry.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