[DRE-commits] [ruby-mixlib-authentication] 02/03: make specs compatible with rspec 3
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Jun 14 18:28:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-mixlib-authentication.
commit d817e06ed1e4ae2854e932d7688329e3e61f38f9
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Jun 12 22:40:08 2015 -0300
make specs compatible with rspec 3
---
debian/changelog | 3 ++-
.../0001-make-specs-compatible-with-rspec-3.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 1efb393..2b86950 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
-ruby-mixlib-authentication (1.3.0-1.1) UNRELEASED; urgency=medium
+ruby-mixlib-authentication (1.3.0-2) UNRELEASED; urgency=medium
* Team upload.
* Update packaging with a new dh-make-ruby run
+ * Add 0001-make-specs-compatible-with-rspec-3.patch
-- Antonio Terceiro <terceiro at debian.org> Fri, 12 Jun 2015 22:31:48 -0300
diff --git a/debian/patches/0001-make-specs-compatible-with-rspec-3.patch b/debian/patches/0001-make-specs-compatible-with-rspec-3.patch
new file mode 100644
index 0000000..6b56965
--- /dev/null
+++ b/debian/patches/0001-make-specs-compatible-with-rspec-3.patch
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Fri, 12 Jun 2015 22:38:25 -0300
+Subject: make specs compatible with rspec 3
+
+---
+ spec/mixlib/authentication/mixlib_authentication_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/mixlib/authentication/mixlib_authentication_spec.rb b/spec/mixlib/authentication/mixlib_authentication_spec.rb
+index c16ab44..5ee29a4 100644
+--- a/spec/mixlib/authentication/mixlib_authentication_spec.rb
++++ b/spec/mixlib/authentication/mixlib_authentication_spec.rb
+@@ -176,7 +176,7 @@ describe "Mixlib::Authentication::SignatureVerification" do
+ headers.delete("HTTP_X_OPS_SIGN")
+
+ mock_request = MockRequest.new(PATH, MERB_REQUEST_PARAMS, headers, BODY)
+- Time.stub!(:now).and_return(TIMESTAMP_OBJ)
++ Time.stub(:now).and_return(TIMESTAMP_OBJ)
+
+ auth_req = Mixlib::Authentication::SignatureVerification.new
+ lambda {auth_req.authenticate_user_request(mock_request, @user_private_key)}.should raise_error(Mixlib::Authentication::AuthenticationError)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9bdd1b1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-make-specs-compatible-with-rspec-3.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mixlib-authentication.git
More information about the Pkg-ruby-extras-commits
mailing list