[DRE-commits] [ruby-rspec-retry] 03/07: Refresh patches
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Aug 8 12:56:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-rspec-retry.
commit 93fef89f1738d46eec4357aeeddf6571775f98ad
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Aug 8 09:48:11 2015 -0300
Refresh patches
---
debian/changelog | 1 +
debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch | 10 ++++++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 70a8d56..313ec4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-rspec-retry (0.4.2-1) UNRELEASED; urgency=medium
* New upstream release
+ * Refresh patches
-- Antonio Terceiro <terceiro at debian.org> Sat, 08 Aug 2015 09:46:52 -0300
diff --git a/debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch b/debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch
index e3e1d41..d14acd4 100644
--- a/debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch
+++ b/debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch
@@ -6,14 +6,16 @@ Subject: Do not use pry-debugger to run specs
spec/spec_helper.rb | 1 -
1 file changed, 1 deletion(-)
-diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
-index 61685ae..79f0af0 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
-@@ -1,6 +1,5 @@
+@@ -1,10 +1,5 @@
require 'rspec'
require 'rspec/retry'
--require 'pry-debugger'
+-if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2')
+- require "pry-debugger"
+-else
+- require "pry-byebug"
+-end
RSpec.configure do |config|
config.verbose_retry = true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-retry.git
More information about the Pkg-ruby-extras-commits
mailing list