[DRE-commits] [ruby-mixlib-log] 06/06: drop patch for rspec 3 compatibility, not needed anymore

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Sep 19 17:37:54 UTC 2016


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

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

commit 2dbdfdd46fe7ac90f103b8635abd8f269db25d81
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Sep 19 14:29:28 2016 -0300

    drop patch for rspec 3 compatibility, not needed anymore
---
 debian/changelog                                   |  1 +
 ...-log_spec-make-it-compatible-with-rspec-3.patch | 29 ----------------------
 debian/patches/series                              |  1 -
 3 files changed, 1 insertion(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dc9dca6..5fe1f79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ruby-mixlib-log (1.7.1-1) unstable; urgency=medium
 
   [ Antonio Terceiro ]
   * New upstream version 1.7.1
+    - drop patch for rspec 3 compatibility, not needed anymore
   * update packaging with new run of `dh-make-ruby -w`
     - Bump Standards-Version to 3.9.8 (no changes needed)
     - update homepage
diff --git a/debian/patches/0001-log_spec-make-it-compatible-with-rspec-3.patch b/debian/patches/0001-log_spec-make-it-compatible-with-rspec-3.patch
deleted file mode 100644
index d438512..0000000
--- a/debian/patches/0001-log_spec-make-it-compatible-with-rspec-3.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Antonio Terceiro <terceiro at debian.org>
-Date: Fri, 12 Jun 2015 22:15:21 -0300
-Subject: log_spec: make it compatible with rspec 3
-
----
- spec/mixlib/log_spec.rb | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/spec/mixlib/log_spec.rb b/spec/mixlib/log_spec.rb
-index 1a4a33e..83f90e3 100644
---- a/spec/mixlib/log_spec.rb
-+++ b/spec/mixlib/log_spec.rb
-@@ -132,14 +132,14 @@ describe Mixlib::Log do
- 
-   it "should default to STDOUT if init is called with no arguments" do
-     logger_mock = Struct.new(:formatter, :level).new
--    Logger.stub!(:new).and_return(logger_mock)
-+    Logger.stub(:new).and_return(logger_mock)
-     Logger.should_receive(:new).with(STDOUT).and_return(logger_mock)
-     Logit.init
-   end
- 
-   it "should have by default a base log level of warn" do
-     logger_mock = Struct.new(:formatter, :level).new
--    Logger.stub!(:new).and_return(logger_mock)
-+    Logger.stub(:new).and_return(logger_mock)
-     Logit.init
-     Logit.level.should eql(:warn)
-   end
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 1092b18..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-log_spec-make-it-compatible-with-rspec-3.patch

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



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