aliyunsdkcore 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aliyunsdkcore.rb +1 -1
- data/lib/aliyunsdkcore/roa_client.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4de63d69bfea414db0b9f7572bd2af0c5c68f903ac91a7d367877601aabe01b1
|
4
|
+
data.tar.gz: 871939dccdcaf6d85c22b020aef299d48ccb3b8c69cb455431dce80abb433cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca025b973042b83aee3152d5d9feb295303412cd9c2fa3c834ba4e5dc6bc798ebc9625379d7bcac2672dadc97fd668374a99e996986394cbad55fdcd165ee70
|
7
|
+
data.tar.gz: 7dd142a373799e3b888d17bcf025df9e6cc4e919bea7875a2186612e9caa39cfea8e6987c4cbe7b70d32e7170a2f4612fbbf595f24ac10897ca59f5220d795c6
|
data/lib/aliyunsdkcore.rb
CHANGED
@@ -2,7 +2,7 @@ require 'aliyunsdkcore/rpc_client'
|
|
2
2
|
require 'aliyunsdkcore/roa_client'
|
3
3
|
|
4
4
|
module AliyunSDKCore
|
5
|
-
VERSION = "0.0.
|
5
|
+
VERSION = "0.0.12"
|
6
6
|
DEFAULT_UA = "AlibabaCloud (#{Gem::Platform.local.os}; " +
|
7
7
|
"#{Gem::Platform.local.cpu}) Ruby/#{RUBY_VERSION} Core/#{VERSION}"
|
8
8
|
end
|
@@ -115,7 +115,7 @@ module AliyunSDKCore
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def canonicalized_resource(uri, query_hash = {})
|
118
|
-
query_string = query_hash.map { |key, value| "#{key}=#{value}" }.join('&')
|
118
|
+
query_string = query_hash.sort.map { |key, value| "#{key}=#{value}" }.join('&')
|
119
119
|
query_string.empty? ? uri : "#{uri}?#{query_string}"
|
120
120
|
end
|
121
121
|
|