[DRE-commits] [ruby-fog-aws] 02/02: Upload 0.7.0-1 to unstable

Miguel Landaeta nomadium at moszumanska.debian.org
Tue Jul 7 20:58:32 UTC 2015


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

nomadium pushed a commit to branch master
in repository ruby-fog-aws.

commit b7a8aae7cac3448c3978d47f25d23a047273da37
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Tue Jul 7 17:28:03 2015 -0300

    Upload 0.7.0-1 to unstable
---
 debian/changelog                                   |  8 +++++
 ...pe-lambda-function-names-in-requests-path.patch | 42 ----------------------
 debian/patches/series                              |  1 -
 3 files changed, 8 insertions(+), 43 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fe65a45..d0fb3f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-fog-aws (0.7.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Drop patch 03-escape-lambda-function-names-in-requests-path.patch, it was
+    merged at upstream. 
+
+ -- Miguel Landaeta <nomadium at debian.org>  Tue, 07 Jul 2015 17:26:08 -0300
+
 ruby-fog-aws (0.6.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/03-escape-lambda-function-names-in-requests-path.patch b/debian/patches/03-escape-lambda-function-names-in-requests-path.patch
deleted file mode 100644
index a44b4a1..0000000
--- a/debian/patches/03-escape-lambda-function-names-in-requests-path.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From: Miguel Landaeta <nomadium at debian.org>
-Date: Fri, 03 Jul 2015 11:43:53 -0300
-Subject: Escape Lambda function name in request paths
-Forwarded: yes, https://github.com/fog/fog-aws/pull/140
-
-diff --git a/lib/fog/aws/lambda.rb b/lib/fog/aws/lambda.rb
-index 198f796..bbe4240 100644
---- a/lib/fog/aws/lambda.rb
-+++ b/lib/fog/aws/lambda.rb
-@@ -124,7 +124,8 @@ def request(params)
- 
-           idempotent   = params.delete(:idempotent)
-           parser       = params.delete(:parser)
--          request_path = "/#{@version}#{params.delete(:path)}"
-+          path         = params.delete(:path)
-+          request_path = "/#{@version}#{path}"
-           query        = params.delete(:query)   || {}
-           method       = params.delete(:method)  || 'POST'
-           expects      = params.delete(:expects) || 200
-@@ -132,6 +133,13 @@ def request(params)
- 
-           headers.merge!(params[:headers] || {})
- 
-+          request_path_to_sign = case path
-+          when %r{^/functions/([0-9a-zA-Z\:\-\_]+)(/.+)?$}
-+            "/#{@version}/functions/#{Fog::AWS.escape($~[1])}#{$~[2]}"
-+          else
-+            request_path
-+          end
-+
-           body, headers = AWS.signed_params_v4(
-             params,
-             headers,
-@@ -140,7 +148,7 @@ def request(params)
-               :aws_session_token => @aws_session_token,
-               :signer            => @signer,
-               :host              => @host,
--              :path              => request_path,
-+              :path              => request_path_to_sign,
-               :port              => @port,
-               :query             => query,
-               :body              => params[:body]
diff --git a/debian/patches/series b/debian/patches/series
index ffefb73..78af513 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 01-dont-use-rubygems-to-run-tests.patch
 02-use-rubyzip-1.0-apis-for-tests.patch
-03-escape-lambda-function-names-in-requests-path.patch

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



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