qingstor-sdk 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -1
- 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: 0d52711ac86dec42786e6d2feb170b1e50b2a3fb
|
4
|
+
data.tar.gz: eaa1f4b1bb5b3f6cfc828edb3f629a91f89ceff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 192c7d030d9a8158ae2b113de846272fc6f293263b3ea687145d3cdf80acda532f4ac569b0ed094551818473c583ba41a6e2fcc7851384dcfb7a2bdae7ada07b
|
7
|
+
data.tar.gz: 42002bf0729585b85852a23c755672a98159d353ee4285d21169667da84958e3c9c8de3be065f7e43b2f981f50e00279dcc7b42e2d0fe7dc26aa32dfbe7b6b09
|
data/README.md
CHANGED
@@ -11,10 +11,12 @@ The official QingStor SDK for Ruby programming language.
|
|
11
11
|
|
12
12
|
## Installation
|
13
13
|
|
14
|
-
This Gem uses Ruby's _keyword arguments_ feature, thus Ruby
|
14
|
+
This Gem uses Ruby's _keyword arguments_ feature, thus Ruby v2.1.5 or higher is
|
15
15
|
required. See [this article](https://robots.thoughtbot.com/ruby-2-keyword-arguments)
|
16
16
|
for more details about _keyword arguments_.
|
17
17
|
|
18
|
+
_Notice:_ If you are using Ruby v1.9.x, please checkout the [compatible] branch.
|
19
|
+
|
18
20
|
### Install from RubyGems
|
19
21
|
|
20
22
|
``` bash
|
@@ -167,6 +169,11 @@ log_level: 'warn'
|
|
167
169
|
## Change Log
|
168
170
|
All notable changes to QingStor SDK for Ruby will be documented here.
|
169
171
|
|
172
|
+
### [v2.1.1] - 2016-12-24
|
173
|
+
|
174
|
+
#### Fixed
|
175
|
+
- Fix signer bug.
|
176
|
+
|
170
177
|
### [v2.1.0] - 2016-12-24
|
171
178
|
|
172
179
|
#### Changed
|
@@ -205,5 +212,7 @@ All notable changes to QingStor SDK for Ruby will be documented here.
|
|
205
212
|
|
206
213
|
The Apache License (Version 2.0, January 2004).
|
207
214
|
|
215
|
+
[compatible]: https://github.com/yunify/qingstor-sdk-ruby/tree/compatible
|
216
|
+
[v2.1.1]: https://github.com/yunify/qingstor-sdk-ruby/compare/v2.1.0...v2.1.1
|
208
217
|
[v2.1.0]: https://github.com/yunify/qingstor-sdk-ruby/compare/v2.0.1...v2.1.0
|
209
218
|
[v2.0.1]: https://github.com/yunify/qingstor-sdk-ruby/compare/v2.0.0...v2.0.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: 2.1.
|
4
|
+
version: 2.1.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:
|
11
|
+
date: 2017-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|