qingstor-sdk 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/qingstor/sdk/request/signer.rb +4 -1
- data/lib/qingstor/sdk/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: 4b54dd307ded2eef0c75ab866e7596cea664b34e
|
|
4
|
+
data.tar.gz: d1bf6ddc1819b83441e1b3df7e0c8a1774513c03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2321d9baae7163f47c4160d603fe795e6a5174213d69d048b194f24044c1ce788971013a77efb5fe27e2979212ed27817c7b367e99c79cf86cd575f6269005cc
|
|
7
|
+
data.tar.gz: a8654e0841ab0690403f4a9822cd0ab8b5d0c0101743264520b6f3bd4543af5515c7c56bea5dd436f2d27b0a54c7a7789ccddf84cae93b6c2c11b7c95a97a1d4
|
data/README.md
CHANGED
|
@@ -165,9 +165,16 @@ log_level: 'warn'
|
|
|
165
165
|
## Change Log
|
|
166
166
|
All notable changes to QingStor SDK for Ruby will be documented here.
|
|
167
167
|
|
|
168
|
+
### v1.9.1 - 2017-01-16
|
|
169
|
+
|
|
170
|
+
#### Fixed
|
|
171
|
+
|
|
172
|
+
- Fix request signer.
|
|
173
|
+
|
|
168
174
|
### v1.9.0 - 2017-01-13
|
|
169
175
|
|
|
170
176
|
#### Changed
|
|
177
|
+
|
|
171
178
|
- Be compatible with Ruby v1.9.x.
|
|
172
179
|
|
|
173
180
|
## Reference Documentations
|
|
@@ -189,3 +196,4 @@ All notable changes to QingStor SDK for Ruby will be documented here.
|
|
|
189
196
|
The Apache License (Version 2.0, January 2004).
|
|
190
197
|
|
|
191
198
|
[master]: https://github.com/yunify/qingstor-sdk-ruby/tree/master
|
|
199
|
+
[v1.9.1]: https://github.com/yunify/qingstor-sdk-ruby/compare/v1.9.0...v1.9.1
|
|
@@ -87,7 +87,10 @@ module QingStor
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def self.canonicalized_resource(input)
|
|
90
|
-
path = input[:request_uri]
|
|
90
|
+
path = CGI.escape input[:request_uri]
|
|
91
|
+
path.gsub! '%3F', '?'
|
|
92
|
+
path.gsub! '%2F', '/'
|
|
93
|
+
path.gsub! '+', '%20'
|
|
91
94
|
|
|
92
95
|
params = input[:request_params].keys.sort.map { |k|
|
|
93
96
|
if sub_resource? k.to_s
|
data/lib/qingstor/sdk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qingstor-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yunify SDK Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|