[DRE-commits] [ruby-multi-xml] 04/12: Drop rspec3.patch, applied upstream

Cédric Boutillier boutil at moszumanska.debian.org
Mon Dec 4 23:45:28 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-multi-xml.

commit fd59115d5f28dbed9095178e0c0fefa327a5e07b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Nov 17 00:23:48 2017 +0100

    Drop rspec3.patch, applied upstream
---
 debian/patches/rspec3.patch | 59 ---------------------------------------------
 debian/patches/series       |  1 -
 2 files changed, 60 deletions(-)

diff --git a/debian/patches/rspec3.patch b/debian/patches/rspec3.patch
deleted file mode 100644
index f4b4dca..0000000
--- a/debian/patches/rspec3.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From a4ae6aa9810ab44634df977f9d0d37efb785c45c Mon Sep 17 00:00:00 2001
-From: Erik Michaels-Ober <sferik at gmail.com>
-Date: Sat, 9 Nov 2013 07:29:35 -0500
-Subject: [PATCH] Prepare for rspec 3.0
-Bug: https://github.com/sferik/multi_xml/commit/a4ae6aa9810ab44634df977f9d0d37efb785c45c
-
----
- spec/parser_shared_example.rb | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/spec/parser_shared_example.rb b/spec/parser_shared_example.rb
-index 82d1645..f3dbd00 100644
---- a/spec/parser_shared_example.rb
-+++ b/spec/parser_shared_example.rb
-@@ -145,7 +145,7 @@
-           context "when #{boolean}" do
-             it "returns #{boolean}" do
-               xml = "<tag type=\"boolean\">#{boolean}</tag>"
--              expect(MultiXml.parse(xml)['tag']).to instance_eval("be_#{boolean}")
-+              expect(MultiXml.parse(xml)['tag']).to be instance_eval(boolean)
-             end
-           end
-         end
-@@ -156,7 +156,7 @@
-           end
- 
-           it "returns true" do
--            expect(MultiXml.parse(@xml)['tag']).to be_true
-+            expect(MultiXml.parse(@xml)['tag']).to be true
-           end
-         end
- 
-@@ -166,7 +166,7 @@
-           end
- 
-           it "returns false" do
--            expect(MultiXml.parse(@xml)['tag']).to be_false
-+            expect(MultiXml.parse(@xml)['tag']).to be false
-           end
-         end
-       end
-@@ -428,7 +428,7 @@
-           end
- 
-           it "returns nil" do
--            expect(MultiXml.parse(@xml)['tag']).to be_nil
-+            expect(MultiXml.parse(@xml)['tag']).to be nil
-           end
-         end
-       end
-@@ -444,7 +444,7 @@
-           end
- 
-           it "returns nil when the type is allowed" do
--            expect(MultiXml.parse(@xml, :disallowed_types => [])['tag']).to be_nil
-+            expect(MultiXml.parse(@xml, :disallowed_types => [])['tag']).to be nil
-           end
-         end
-       end
diff --git a/debian/patches/series b/debian/patches/series
index df73c76..93f0321 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 remove-simplecov.patch
-rspec3.patch

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



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