aliyun 0.4.2 → 0.5.0.pre

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: 014e1ae72ad9a1e98ab9079c1540e8c72f611258
4
- data.tar.gz: ac6ee5edc6bcf3f5c6934e59a2e16d7512c3a7e0
3
+ metadata.gz: ada38cdcdb2569ba1d0382bb66eb52f9fb6bd8a7
4
+ data.tar.gz: 96365c9fad53b08c09eca899f620c4942718ec12
5
5
  SHA512:
6
- metadata.gz: c7af9c873e85086cc7bfb8eb0d65a89394f4e0e53e95e5fc1307b91a27b0744dfb54958f9c6c3a4e900c1b2228d16532be3d553381b7237c0bc5c2e38aeaded2
7
- data.tar.gz: 25117578507b07c03228bfa90a7964ec86f292baa5d615fc6a756c03a8b544e19ef221918c9717bd4e4d037bd6e46a7104fce58dd00b76a3eeccee3425f6272d
6
+ metadata.gz: f15118d4911d53579b0722a27e5cf23b7d1064b99cf60f9cd2e214b95bfd1a01267285c1ef23315b8cb0f57b8cd090e4848ccea288471e50151775d16f028463
7
+ data.tar.gz: 953cacb53487fc915fcfdefdd4ad7a7e428f3d9dadb3f2fe2a76140191091ce727fbe626b9cac29a0449aebd3fe9919543d4ad930c06eaf10bb1dec142a3fc89
data/README.md CHANGED
@@ -48,7 +48,6 @@ Current support these services:
48
48
 
49
49
  * `:cdn` => `CDN` (Content Delivery Network)
50
50
  * `:cms` => `CMS` (Cloud Monitor Service)
51
- * `:dns` => `DNS` (Domain Name Service)
52
51
  * `:ecs` => `ECS` (Elastic Compute Service)
53
52
  * `:ram` => `RAM` (Resource Access Management)
54
53
  * `:rds` => `RDS` (Relational Database Service)
@@ -1,6 +1,5 @@
1
1
  require "aliyun/services/cdn"
2
2
  require "aliyun/services/cms"
3
- require "aliyun/services/dns"
4
3
  require "aliyun/services/ecs"
5
4
  require "aliyun/services/ram"
6
5
  require "aliyun/services/rds"
@@ -11,7 +10,6 @@ module Aliyun
11
10
  SERVICES = {
12
11
  :cdn => CDNConfig,
13
12
  :cms => CMSConfig,
14
- :dns => DNSConfig,
15
13
  :ecs => ECSConfig,
16
14
  :ram => RAMConfig,
17
15
  :rds => RDSConfig,
@@ -1,3 +1,3 @@
1
1
  module Aliyun
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0.pre"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Lantao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-30 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,7 +103,6 @@ files:
103
103
  - lib/aliyun/services.rb
104
104
  - lib/aliyun/services/cdn.rb
105
105
  - lib/aliyun/services/cms.rb
106
- - lib/aliyun/services/dns.rb
107
106
  - lib/aliyun/services/ecs.rb
108
107
  - lib/aliyun/services/ram.rb
109
108
  - lib/aliyun/services/rds.rb
@@ -112,7 +111,6 @@ files:
112
111
  - lib/aliyun/version.rb
113
112
  - spec/aliyun_cdn_spec.rb
114
113
  - spec/aliyun_cms_spec.rb
115
- - spec/aliyun_dns_spec.rb
116
114
  - spec/aliyun_ecs_spec.rb
117
115
  - spec/aliyun_ram_spec.rb
118
116
  - spec/aliyun_rds_spec.rb
@@ -135,9 +133,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
133
  version: '0'
136
134
  required_rubygems_version: !ruby/object:Gem::Requirement
137
135
  requirements:
138
- - - ">="
136
+ - - ">"
139
137
  - !ruby/object:Gem::Version
140
- version: '0'
138
+ version: 1.3.1
141
139
  requirements: []
142
140
  rubyforge_project:
143
141
  rubygems_version: 2.4.8
@@ -147,7 +145,6 @@ summary: Ruby wrapper of Aliyun API for system administrator
147
145
  test_files:
148
146
  - spec/aliyun_cdn_spec.rb
149
147
  - spec/aliyun_cms_spec.rb
150
- - spec/aliyun_dns_spec.rb
151
148
  - spec/aliyun_ecs_spec.rb
152
149
  - spec/aliyun_ram_spec.rb
153
150
  - spec/aliyun_rds_spec.rb
@@ -1,24 +0,0 @@
1
- module Aliyun
2
- class DNSConfig < APIConfig
3
- def self.info
4
- "Aliyun DNS Service"
5
- end
6
- def self.endpoint
7
- 'https://dns.aliyuncs.com/'
8
- end
9
- def self.default_parameters
10
- {
11
- :Format=>"JSON",
12
- :Version=>"2015-01-09",
13
- :SignatureMethod=>"HMAC-SHA1",
14
- :SignatureVersion=>"1.0"
15
- }
16
- end
17
- def self.separator
18
- super
19
- end
20
- def self.http_method
21
- super
22
- end
23
- end
24
- end
@@ -1,23 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Aliyun do
4
- it 'can create aliyun dns service' do
5
- options = load_options
6
- options[:service] = :dns
7
- service = Aliyun::Service.new options
8
-
9
- expect(service).to be_instance_of(Aliyun::Service)
10
- expect(service.service).to be(Aliyun::DNSConfig)
11
- end
12
-
13
- it 'can query aliyun dns service for domains' do
14
- options = load_options
15
- options[:service] = :dns
16
- service = Aliyun::Service.new options
17
- parameters = {}
18
- dns_service = service.DescribeDomains parameters
19
-
20
- expect(dns_service).to have_key("Domains")
21
- expect(dns_service).to have_key("TotalCount")
22
- end
23
- end