[DRE-commits] [SCM] ruby-mixlib-authentication.git branch, master, updated. upstream/1.1.4-7-g21079e3
Paul van Tilburg
paulvt at debian.org
Thu May 17 11:56:05 UTC 2012
The following commit has been merged in the master branch:
commit 5929d271f74174b75c640a308b1791f32b551825
Author: Paul van Tilburg <paulvt at debian.org>
Date: Thu May 17 13:51:28 2012 +0200
Added 01_fix_http_authentication_request_spec.diff patch to fix a test
diff --git a/debian/changelog b/debian/changelog
index 1bbb364..2df7163 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ ruby-mixlib-authentication (1.1.4-1) UNRELEASED; urgency=low
libmixlib-authentication-ruby1.8 as transitional packages.
- Added a build-depend on ruby-rspec for the test suite.
* debian/copyright: reworked to fit the Debian copyright format version 1.0.
+ * debian/patches: added 01_fix_http_authentication_request_spec.diff to
+ fix an issue with a test.
+ * debian/source/local-options: set "unapply-patches" to unapply patches
+ after build.
-- Paul van Tilburg <paulvt at debian.org> Tue, 15 May 2012 22:22:57 +0200
diff --git a/debian/patches/01_fix_http_authentication_request_spec.diff b/debian/patches/01_fix_http_authentication_request_spec.diff
new file mode 100644
index 0000000..24444fa
--- /dev/null
+++ b/debian/patches/01_fix_http_authentication_request_spec.diff
@@ -0,0 +1,22 @@
+Description: Fix for HTTP authentication test
+ This fix is supplied by upstream to repair an issue with a HTTP
+ authentication spec file.
+ .
+ The fix will be included in an upcoming upstream releases for which the
+ date has not been set yet.
+Forwarded: not-needed
+Author: Chris Walters <github.algorist at ckwalters.com>
+Origin: upstream, https://github.com/opscode/mixlib-authentication/commit/fe5cd0116d13982557fdc92355e493e3849a5e0e
+
+--- a/spec/mixlib/authentication/http_authentication_request_spec.rb
++++ b/spec/mixlib/authentication/http_authentication_request_spec.rb
+@@ -82,8 +82,7 @@
+ it "raises an error when not all required headers are given" do
+ @merb_headers.delete("HTTP_X_OPS_SIGN")
+ exception = Mixlib::Authentication::MissingAuthenticationHeader
+- auth_req = Mixlib::Authentication::HTTPAuthenticationRequest.new(@request)
+- lambda {auth_req.validate_headers!}.should raise_error(exception)
++ lambda{ Mixlib::Authentication::HTTPAuthenticationRequest.new(@request) }.should raise_error(exception)
+ end
+
+ it "extracts the path from the request" do
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f09b351
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_fix_http_authentication_request_spec.diff
--
ruby-mixlib-authentication.git
More information about the Pkg-ruby-extras-commits
mailing list