fog-dynect 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/gemfiles/Gemfile-1.8.7 +1 -0
- data/lib/fog/dynect/dns.rb +1 -1
- data/lib/fog/dynect/requests/dns/delete_record.rb +1 -1
- data/lib/fog/dynect/requests/dns/get_record.rb +5 -5
- data/lib/fog/dynect/requests/dns/post_record.rb +1 -1
- data/lib/fog/dynect/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 401a7838e48dbce6d3886da627c94d2988a66d8f
|
4
|
+
data.tar.gz: f0e26f2b61d0aa9c6eaca2054662a5a957511559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9aad5c5b2a7ec66ecee40dd2aeebd64ef91e8e72f1b75eaab318df7d1a6e630b069dbba6b897e344ec74505ebd8f6e190d8a9cfe336f2e66ffae43af5d8e7dd
|
7
|
+
data.tar.gz: 4e954afb4b823a266c8f8b69fe340b0fe0878c9e46ed5e402522dfbe6f8109f29d17e157f57ef942693cc11eb0a59a35e16a9c5e1fd1cbb9219211bd9f4d93f9
|
data/Rakefile
CHANGED
data/gemfiles/Gemfile-1.8.7
CHANGED
data/lib/fog/dynect/dns.rb
CHANGED
@@ -68,7 +68,7 @@ module Fog
|
|
68
68
|
@path = options[:path] || '/REST'
|
69
69
|
@persistent = options[:persistent] || false
|
70
70
|
@scheme = options[:scheme] || 'https'
|
71
|
-
@version = options[:version] || '3.
|
71
|
+
@version = options[:version] || '3.7.0'
|
72
72
|
@job_poll_timeout = options[:job_poll_timeout] || 10
|
73
73
|
@connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
|
74
74
|
end
|
@@ -5,7 +5,7 @@ module Fog
|
|
5
5
|
# Delete a record
|
6
6
|
#
|
7
7
|
# ==== Parameters
|
8
|
-
# * type<~String> - type of record in ['AAAA', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
8
|
+
# * type<~String> - type of record in ['AAAA', 'ALIAS', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
9
9
|
# * zone<~String> - zone of record
|
10
10
|
# * fqdn<~String> - fqdn of record
|
11
11
|
# * record_id<~String> - id of record
|
@@ -5,7 +5,7 @@ module Fog
|
|
5
5
|
# List records of a given type
|
6
6
|
#
|
7
7
|
# ==== Parameters
|
8
|
-
# * type<~String> - type of record in ['AAAA', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
8
|
+
# * type<~String> - type of record in ['AAAA', 'ALIAS', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
9
9
|
# * zone<~String> - name of zone to lookup
|
10
10
|
# * fqdn<~String> - name of fqdn to lookup
|
11
11
|
# * options<~Hash>:
|
@@ -24,10 +24,10 @@ module Fog
|
|
24
24
|
class Mock
|
25
25
|
def get_record(type, zone, fqdn, options = {})
|
26
26
|
raise ArgumentError unless [
|
27
|
-
'AAAA', '
|
28
|
-
'
|
29
|
-
'
|
30
|
-
'NSA', 'NS', 'PTR', 'PX',
|
27
|
+
'AAAA', 'ALIAS' ,'ANY', 'A',
|
28
|
+
'CNAME', 'DHCID', 'DNAME',
|
29
|
+
'DNSKEY', 'DS', 'KEY', 'LOC',
|
30
|
+
'MX', 'NSA', 'NS', 'PTR', 'PX',
|
31
31
|
'RP', 'SOA', 'SPF', 'SRV',
|
32
32
|
'SSHFP', 'TXT'
|
33
33
|
].include? type
|
@@ -5,7 +5,7 @@ module Fog
|
|
5
5
|
# Create a record
|
6
6
|
#
|
7
7
|
# ==== Parameters
|
8
|
-
# * type<~String> - type of record in ['AAAA', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
8
|
+
# * type<~String> - type of record in ['AAAA', 'ALIAS', 'ANY', 'A', 'CNAME', 'DHCID', 'DNAME', 'DNSKEY', 'DS', 'KEY', 'LOC', 'MX', 'NSA', 'NS', 'PTR', 'PX', 'RP', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT']
|
9
9
|
# * zone<~String> - zone of record
|
10
10
|
# * rdata<~Hash> - rdata for record
|
11
11
|
# * options<~Hash>: (options vary by type, listing below includes common parameters)
|
data/lib/fog/dynect/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-dynect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wesley Beary
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -161,9 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.5.1
|
164
|
+
rubygems_version: 2.4.5.1
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Module for the 'fog' gem to support Dynect DNS.
|
168
168
|
test_files: []
|
169
|
-
has_rdoc:
|