[DRE-commits] [ruby-aws-sdk] 04/06: Add patch 'use-correct-path-for-bundled-enpoints'

David Suárez deiv-guest at moszumanska.debian.org
Mon Sep 8 16:30:08 UTC 2014


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

deiv-guest pushed a commit to branch master
in repository ruby-aws-sdk.

commit 535fa4e65b8a4392c6d23080adf91ee2314d2509
Author: David Suárez <david.sephirot at gmail.com>
Date:   Mon Sep 8 20:07:16 2014 +0200

    Add patch 'use-correct-path-for-bundled-enpoints'
---
 debian/patches/series                                |  1 +
 debian/patches/use-correct-path-for-bundled-enpoints | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 244817f..f217548 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-correct-path-for-autoload
 use-correct-path-for-bundled-certificate
+use-correct-path-for-bundled-enpoints
diff --git a/debian/patches/use-correct-path-for-bundled-enpoints b/debian/patches/use-correct-path-for-bundled-enpoints
new file mode 100644
index 0000000..0837414
--- /dev/null
+++ b/debian/patches/use-correct-path-for-bundled-enpoints
@@ -0,0 +1,17 @@
+Description: Use the correct path to load the blunded endpoints file
+
+Author: David Suárez <david.sephirot at gmail.com>
+Last-Update: 2014-09-08
+
+--- ruby-aws-sdk-1.52.0.orig/lib/aws/core/endpoints.rb
++++ ruby-aws-sdk-1.52.0/lib/aws/core/endpoints.rb
+@@ -27,7 +27,7 @@ module AWS
+ 
+       def endpoints
+         @endpoints ||= begin
+-          JSON.parse(File.read(File.join(AWS::ROOT, 'endpoints.json')))
++          JSON.parse(File.read(File.join('/usr/share/ruby-aws-sdk', 'endpoints.json')))
+         end
+       end
+       module_function :endpoints
+

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



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