diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-03-16 19:56:47 +0000 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-03-19 22:04:12 +0000 |
commit | 3547ffa89fec408e93627c03f8bf0b3c98bde0e2 (patch) | |
tree | e9de66703c2e41a1376594a7c6202eaf819e0a8d /pkgs/development/ruby-modules | |
parent | eccad06e23a12bea201f1f540b56808b4ed71a12 (diff) |
ruby: remove unused patches
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/fake-s3-list-bucket.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/pkgs/development/ruby-modules/fake-s3-list-bucket.patch b/pkgs/development/ruby-modules/fake-s3-list-bucket.patch deleted file mode 100644 index 251935161d18..000000000000 --- a/pkgs/development/ruby-modules/fake-s3-list-bucket.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 983634ea6b81910529596c262644eacfa2c2c4f9 -Author: Shea Levy <shea@shealevy.com> -Date: Wed Sep 4 16:16:12 2013 -0400 - - Fix LS_BUCKET - - GET foo.s3.amazonaws.com/ and GET s3.amazonaws.com/foo should result in - an LS_BUCKET request, but under the previous logic it would result in a - LIST_BUCKETS request. GET s3.amazonaws.com/ still results in a - LIST_BUCKETS request due to the 'if path == "/" and s_req.is_path_style' - conditional. - - Signed-off-by: Shea Levy <shea@shealevy.com> - -diff --git a/lib/fakes3/server.rb b/lib/fakes3/server.rb -index 6958151..36d9cad 100644 ---- a/lib/fakes3/server.rb -+++ b/lib/fakes3/server.rb -@@ -213,10 +213,7 @@ module FakeS3 - elems = path.split("/") - end - -- if elems.size == 0 -- # List buckets -- s_req.type = Request::LIST_BUCKETS -- elsif elems.size == 1 -+ if elems.size < 2 - s_req.type = Request::LS_BUCKET - s_req.query = query - else |