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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9bddf910cc0a1f585831e00757753c56f596ea6
4
- data.tar.gz: 1ece8de87816d8b48286a5c3d7e16411a14482fe
3
+ metadata.gz: 4b54dd307ded2eef0c75ab866e7596cea664b34e
4
+ data.tar.gz: d1bf6ddc1819b83441e1b3df7e0c8a1774513c03
5
5
  SHA512:
6
- metadata.gz: 0750a39b2d69a4bbe46d92cf1983026f8f05c77e0106ecaede87f5982c39a8efbbec2fee96f26283b4f2180bb879f3d5bf4f091385a7ec30fc1055ad6355becf
7
- data.tar.gz: a04c1ab9024436abebc1ea0560784e35a65b59368d3e98e4c4ff92a327166565c45f110217df447e935cb36bac64a97f56cd6683e7efb07ebaaeafcca71d49c0
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
@@ -16,6 +16,6 @@
16
16
 
17
17
  module QingStor
18
18
  module SDK
19
- VERSION = '1.9.0'.freeze
19
+ VERSION = '1.9.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: 1.9.0
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-13 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