radosgw-s3 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b670b4ebdb3d82028d8123baabdb8b73009c758c
4
- data.tar.gz: e55274728dd5ba6e66174ddd31349e1268210768
3
+ metadata.gz: 359cebe03279f2013ccf6867ded7ba76ba8ca83a
4
+ data.tar.gz: ec92ec54012013cc6e24d8d52e936388d6c5a737
5
5
  SHA512:
6
- metadata.gz: 40dde8be0059906467dfad9efeaa69aa5db302c3718c6fc3108f9a282b0d1d12b8d2cbc683da135ff1cdf6103771c747727e8f88dd74d0eb8d0dd2ceeebc5e79
7
- data.tar.gz: 0534107067e63a729561ad184caf01c9be301c0c29aacf60de928433993869aa58994384380aa774bae8abfb1d104b7ad1a40900ffb58a68382b22a7b4f597ae
6
+ metadata.gz: 43df2d7b7e35a61b06a8742c671ac9a0d8d5063d76d063a9dc471b2bee9a332d6f7f0f4369040fed692ea76775bd14add12e6111ed62c17d5d1dea5f81d16c7b
7
+ data.tar.gz: 304cfb998921f373597e915b3d00ed19ea897b13e1f5fe1d9c5a73294c8e295c8dc58ae4a9349e59eb8057490a750aa809a1659464100002dae945bd1274a22a
data/lib/s3/connection.rb CHANGED
@@ -59,7 +59,7 @@ module S3
59
59
  body = options.fetch(:body, nil)
60
60
  params = options.fetch(:params, {})
61
61
  headers = options.fetch(:headers, {})
62
- use_authsign = options.fetch(:use_authsign)
62
+ use_authsign = options.fetch(:use_authsign, false)
63
63
 
64
64
  # Must be done before adding params
65
65
  # Encodes all characters except forward-slash (/) and explicitly legal URL characters
@@ -182,7 +182,7 @@ module S3
182
182
  response = http(host).start do |http|
183
183
  host = http.address
184
184
 
185
- request = send_authsign(request)
185
+ request = send_authsign(host, request)
186
186
 
187
187
  http.request(request)
188
188
  end
data/lib/s3/service.rb CHANGED
@@ -58,7 +58,7 @@ module S3
58
58
 
59
59
  # Returns the signature for POST operations done externally via javascript
60
60
  def auth_sign
61
- service_request(:post, use_authsign: true)
61
+ service_request(:post, :use_authsign => true)
62
62
  end
63
63
 
64
64
  # Returns "http://" or "https://", depends on <tt>:use_ssl</tt>
data/lib/s3/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module S3
2
- VERSION = "0.6"
2
+ VERSION = "0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radosgw-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Alrin, Kishorekumar Neelamegam, Rajthilak, Kuba Kuźma