aliyunsdkcore 0.0.11 → 0.0.12

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
  SHA256:
3
- metadata.gz: '08892068e0b97ff13906fcfbe0df15e863c9918c225dc5bf4480f362f6ee84ce'
4
- data.tar.gz: 1abfbffae1279885c9d4b0d9ab7f02855536ecc7301e150ce3366939d0cde704
3
+ metadata.gz: 4de63d69bfea414db0b9f7572bd2af0c5c68f903ac91a7d367877601aabe01b1
4
+ data.tar.gz: 871939dccdcaf6d85c22b020aef299d48ccb3b8c69cb455431dce80abb433cc8
5
5
  SHA512:
6
- metadata.gz: 49e77402010bcd2827a60e75e666a6119b7d6eb8c27b6b2575a7c72e62c4eec9b742f9c68a789d876c900a493cfed7a224fa6b72076ea8013722a0293f1c4fa6
7
- data.tar.gz: 455e15e192f7b4162d6d487c11049c3e5a26476a58188a9db46a61eb394dc20d77fa977132f36e43606193ba2d32f5316d15edb19d873fc11cb08c8266f205ab
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.11"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyunsdkcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alibaba Cloud SDK