[DRE-commits] [ruby-jwt] 04/09: Drop rspec3 patch, upstream fixed it in other way

Lucas Kanashiro kanashiro at moszumanska.debian.org
Tue Jun 21 16:58:09 UTC 2016


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

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

commit 85a21d9f72cd75b07f34d30d645aad85855f48c8
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Tue Jun 21 12:37:13 2016 -0300

    Drop rspec3 patch, upstream fixed it in other way
---
 debian/changelog                 |  1 +
 debian/patches/rpsec3-port.patch | 30 ------------------------------
 debian/patches/series            |  1 -
 3 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bcdb37e..09328a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ruby-jwt (1.5.4-1) UNRELEASED; urgency=medium
   [ Lucas Kanashiro ]
   * Imported Upstream version 1.5.4
   * debian/rules: export GEM2DEB_TEST_RUNNER = --check-dependencies
+  * Drop rspec3 patch, upstream fixed it in other way
 
  -- Cédric Boutillier <boutil at moszumanska.debian.org>  Tue, 21 Jun 2016 12:31:19 -0300
 
diff --git a/debian/patches/rpsec3-port.patch b/debian/patches/rpsec3-port.patch
deleted file mode 100644
index 8436827..0000000
--- a/debian/patches/rpsec3-port.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: Port tests to RSpec 3
-Author: Balasankar C <balasankarc at autistici.org>
-Last-Update: 2015-09-02
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/spec/jwt_spec.rb
-+++ b/spec/jwt_spec.rb
-@@ -124,18 +124,18 @@
- 
-   describe "secure comparison" do
-     it "returns true if strings are equal" do
--      expect(JWT.secure_compare("Foo", "Foo")).to be_true
-+      expect(JWT.secure_compare("Foo", "Foo")).to be_truthy
-     end
- 
-     it "returns false if either input is nil or empty" do
-       [nil, ""].each do |bad|
--        expect(JWT.secure_compare(bad, "Foo")).to be_false
--        expect(JWT.secure_compare("Foo", bad)).to be_false
-+        expect(JWT.secure_compare(bad, "Foo")).to be_falsey
-+        expect(JWT.secure_compare("Foo", bad)).to be_falsey
-       end
-     end
- 
-     it "retuns false if the strings are different" do
--      expect(JWT.secure_compare("Foo", "Bar")).to be_false
-+      expect(JWT.secure_compare("Foo", "Bar")).to be_falsey
-     end
-   end
- 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 026def5..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-rpsec3-port.patch

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



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