aliyunsdkcore 0.0.15 → 0.0.16

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: 3910f039ad929082e256ec85b5d5383945217f264f9de703af4f6c75bfd455fa
4
- data.tar.gz: 17750b10a775414e5b316b2ab2b452ec603ca4664a7fecada77172c38a0bcc47
3
+ metadata.gz: e02b9d5f64aaa09ed5b4edf944dee663e3ff0cad825052098afbb62dbd794345
4
+ data.tar.gz: 90ddfd3e4a1d40829376bc42139b080fe2b2c3f20e716711e14796f6b0a34925
5
5
  SHA512:
6
- metadata.gz: b32514b7129523f6877f5e88b078a539aceb498e4e2f68751899837daa223f63a287e62ddd8493c850e1c909ea92f26b77c0a2648054445981269ee5a157d269
7
- data.tar.gz: b245826873192fe9ef2588693e5cdd11a723a68b307a3d43090d5169bb4a5a0d85113ea35012c5bdb3ab2cdb9fb6eedb0b2abc0bc891760a170c132772977c17
6
+ metadata.gz: 73d6dcd507109f927f256947a9207d34a65900bcfd11999a3d6fc984b0df3fd94d088f1a94b304fa2dc809815c3c23b72c54b30752c02dd1be6f3503ed5718f6
7
+ data.tar.gz: 23f305732e40b2fe1a1954db9c6dbae8a3deb180ccedaf589d8e55e12122c5c6755f466542283b27d9dad6bc58a16cc48dbaa63de910289948ca6c18fd53a112
@@ -2,7 +2,7 @@ require 'aliyunsdkcore/rpc_client'
2
2
  require 'aliyunsdkcore/roa_client'
3
3
 
4
4
  module AliyunSDKCore
5
- VERSION = "0.0.15"
5
+ VERSION = "0.0.16"
6
6
  DEFAULT_UA = "AlibabaCloud (#{Gem::Platform.local.os}; " +
7
7
  "#{Gem::Platform.local.cpu}) Ruby/#{RUBY_VERSION} Core/#{VERSION}"
8
8
  end
@@ -52,7 +52,7 @@ module AliyunSDKCore
52
52
 
53
53
  response_body = JSON.parse(response.body)
54
54
  if response_body['Code'] && !response_body['Code'].to_s.empty? && !self.codes.include?(response_body['Code'])
55
- raise StandardError, "#{response_body['Message']}, URL: #{uri}"
55
+ raise StandardError, "Code: #{response_body['Code']}, Message: #{response_body['Message']}, URL: #{uri}"
56
56
  end
57
57
 
58
58
  response_body
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyunsdkcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alibaba Cloud SDK
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-14 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -64,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '0'
67
+ version: 2.3.0
68
68
  required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - ">="