fog-radosgw 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/radosgw/utils.rb +5 -7
- data/lib/fog/radosgw/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844e4e85f59194c6da557c4db9b99a11906ec004
|
4
|
+
data.tar.gz: 11c2a794e00bea4ed8d8a254161df92452a05c07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de8418b7a04fbeefdbb0b1db755eafb22dfee839edd8d3c6586b7f7bc86a14bf6565b84760e670aa62cbb42ad5e9a58c34b5fae8f4a8eb1d0002e77e126c6a15
|
7
|
+
data.tar.gz: 647f69bd47240f29ecd7f46008e88cf73082ccc7fc315ba063fcddfd9d92f6b7c2be77c7cc09fd6df7ba602f79ea87a9a86c0534404866a7dd1e9e230c27bec8
|
data/lib/fog/radosgw/utils.rb
CHANGED
@@ -21,13 +21,11 @@ module Fog
|
|
21
21
|
def signature(params, expires)
|
22
22
|
headers = params[:headers] || {}
|
23
23
|
|
24
|
-
string_to_sign =
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
#{expires}
|
30
|
-
DATA
|
24
|
+
string_to_sign = [
|
25
|
+
params[:method].to_s.upcase,
|
26
|
+
headers['Content-MD5'],
|
27
|
+
headers['Content-Type'],
|
28
|
+
expires].map(&:to_s).join("\n") + "\n"
|
31
29
|
|
32
30
|
amz_headers, canonical_amz_headers = {}, ''
|
33
31
|
for key, value in headers
|
data/lib/fog/radosgw/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-radosgw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Kåre Hellan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-json
|