[DRE-commits] [ruby-coveralls] 12/15: Create patch to remove the dependency on pry in tests

Lucas Kanashiro kanashiro at moszumanska.debian.org
Fri Sep 1 22:18:50 UTC 2017


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

kanashiro pushed a commit to branch master
in repository ruby-coveralls.

commit 64579f30f4ab870e4ac62208f876d1ffade9eb2f
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Fri Sep 1 19:04:18 2017 -0300

    Create patch to remove the dependency on pry in tests
---
 debian/changelog                   |  1 +
 debian/patches/05_disable_pry.diff | 17 +++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b8d9688..b566624 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ ruby-coveralls (0.8.21-1) UNRELEASED; urgency=medium
   * Declare compliance with Debian Policy 4.1.0
   * Mark package as autopkgtest-able
   * Add myself to Uploaders list
+  * Create patch to remove the dependency on pry in tests
 
  -- Lucas Kanashiro <kanashiro at debian.org>  Fri, 01 Sep 2017 17:52:52 -0300
 
diff --git a/debian/patches/05_disable_pry.diff b/debian/patches/05_disable_pry.diff
new file mode 100644
index 0000000..12d8bd8
--- /dev/null
+++ b/debian/patches/05_disable_pry.diff
@@ -0,0 +1,17 @@
+Description: Disable pry
+Author: Lucas Kanashiro <kanashiro at debian.org>
+Forwarded: no
+Last-Update: 2017-09-01
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -2,7 +2,8 @@ require 'simplecov'
+ require 'webmock'
+ require 'vcr'
+ 
+-require 'pry' if RUBY_VERSION > "1.8.7"
++# We do not need pry to run tests during the build
++#require 'pry' if RUBY_VERSION > "1.8.7"
+ 
+ class InceptionFormatter
+   def format(result)
diff --git a/debian/patches/series b/debian/patches/series
index 10da688..d9c18f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+05_disable_pry.diff
 02_disable_vcr.diff
 04_include_rspec.diff

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



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