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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 085dc72ef0fba628a4b5333907aa8908ccc13d09
4
- data.tar.gz: 8aefd7a35683cedafacc9d9ac210ad6ff1963d08
3
+ metadata.gz: 0d52711ac86dec42786e6d2feb170b1e50b2a3fb
4
+ data.tar.gz: eaa1f4b1bb5b3f6cfc828edb3f629a91f89ceff0
5
5
  SHA512:
6
- metadata.gz: 11d22ac48463e77c861b4a2de66927d6a09ab51c67f9cbd0c2619e392dc0d4b5a751f4c06c0b48b753f898fe6ab440b99f665131db2b6b7ae181c26fc6ee25c7
7
- data.tar.gz: e987a50acafb8b714a283abe3c3bcd4e74891a34a030ccc2dead7b00424587510cf6ca7ab7f6e575e8240572a5fc2c3ce45706be982114ec03aac9c2d3af9079
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 2.1.5 or higher is
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
@@ -16,6 +16,6 @@
16
16
 
17
17
  module QingStor
18
18
  module SDK
19
- VERSION = '2.1.0'.freeze
19
+ VERSION = '2.1.1'.freeze
20
20
  end
21
21
  end
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.0
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: 2016-12-24 00:00:00.000000000 Z
11
+ date: 2017-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport