dnsmadeeasy-api 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  = Changelog
2
2
 
3
+ == Release 0.9.7 - Jul 08, 2011
4
+
5
+ * FIX: API Documentation
6
+
3
7
  == Release 0.9.6 - Jul 08, 2011
4
8
 
5
9
  * NEW: Added CHANGELOG
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
2
2
  require "rake"
3
3
  require "echoe"
4
4
 
5
- Echoe.new("dnsmadeeasy-api", "0.9.6") do |p|
5
+ Echoe.new("dnsmadeeasy-api", "0.9.7") do |p|
6
6
  p.description = "Ruby client for DNSMadeEasy API."
7
7
  p.summary = "Ruby client for DNSMadeEasy API."
8
8
  p.url = "http://rubygems.org/gems/dnsmadeeasy-api"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{dnsmadeeasy-api}
5
- s.version = "0.9.6"
5
+ s.version = "0.9.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Nitesh Goel}]
@@ -90,7 +90,7 @@ module DnsMadeEasy
90
90
  end
91
91
 
92
92
  # Create a new domain entry.
93
-
93
+ #
94
94
  # Returns a hash of the newly created domain entry, e.g.
95
95
  # { "name" => "sigfig.com", "nameServer" => ["ns66.dnsmadeeasy.com", "ns99.dnsmadeeasy.com"], "gtdEnabled" => true }
96
96
  def create_domain!(domain)
@@ -101,7 +101,7 @@ module DnsMadeEasy
101
101
  end
102
102
 
103
103
  # Delete a domain entry.
104
-
104
+ #
105
105
  # Returns a hash of the deleted domain entry, e.g.
106
106
  # { "name" => "sigfig.com", "nameServer" => ["ns66.dnsmadeeasy.com", "ns99.dnsmadeeasy.com"], "gtdEnabled" => true }
107
107
  def delete_domain!(domain)
@@ -113,7 +113,7 @@ module DnsMadeEasy
113
113
  end
114
114
 
115
115
  # Describe a domain entry.
116
-
116
+ #
117
117
  # Returns a hash of the domain entry, e.g.
118
118
  # { "name" => "sigfig.com", "nameServer" => ["ns66.dnsmadeeasy.com", "ns99.dnsmadeeasy.com"], "gtdEnabled" => true }
119
119
  def describe_domain(domain)
@@ -132,7 +132,7 @@ module DnsMadeEasy
132
132
  #
133
133
  # Returns an array of hashes, each hash representing a dns entry, e.g.
134
134
  # [
135
- # { "name" => "", "type" => "A", "data" => "127.0.0.1", "ttl" => 7200, "id" => 12345, "gtdLocation" => "DEFAULT" }
135
+ # { "name" => "", "type" => "A", "data" => "127.0.0.1", "ttl" => 7200, "id" => 12345, "gtdLocation" => "DEFAULT" },
136
136
  # { "name" => "www", "type" => "CNAME", data => "sigfig.com.", "ttl" => 7200, id => 23456, "gtdLocation" => "DEFAULT" }
137
137
  # ]
138
138
  def list_records(domain, filter={})
@@ -153,15 +153,15 @@ module DnsMadeEasy
153
153
  # :ttl => Time to live. The amount of time a record will be cached before being refreshed. E.g. 300
154
154
  #
155
155
  # Here's a list of possible data values, with the record type they are used with:
156
- # * A: <host IP>
157
- # * AAAA: <IPv6 host IP>
158
- # * CNAME: <target name>
159
- # * HTTPRED: <redirection URL>
160
- # * MX: <priority> <target name>
161
- # * NS: <name server>
162
- # * PTR: <target name>
163
- # * SRV: <priority> <weight> <port> <target name>
164
- # * TXT: <text value>
156
+ # * A: [host IP]
157
+ # * AAAA: [IPv6 host IP]
158
+ # * CNAME: [target name]
159
+ # * HTTPRED: [redirection URL]
160
+ # * MX: [priority] [target name]
161
+ # * NS: [name server]
162
+ # * PTR: [target name]
163
+ # * SRV: [priority] [weight] [port] [target name]
164
+ # * TXT: [text value]
165
165
  #
166
166
  # N.B. for CNAME, MX, NS, PTR, and SRV records, the domain name of the dns record is automatically
167
167
  # appended to the given data unless the data ends with a "." So, to map, say mail to mail.google.com,
@@ -207,7 +207,7 @@ module DnsMadeEasy
207
207
  #
208
208
  # Returns an array of hashes, each hash representing a deleted dns entry, e.g.
209
209
  # [
210
- # { "name" => "", "type" => "A", "data" => "127.0.0.1", "ttl" => 7200, "id" => 12345, "gtdLocation" => "DEFAULT" }
210
+ # { "name" => "", "type" => "A", "data" => "127.0.0.1", "ttl" => 7200, "id" => 12345, "gtdLocation" => "DEFAULT" },
211
211
  # { "name" => "www", "type" => "CNAME", data => "sigfig.com.", "ttl" => 7200, id => 23456, "gtdLocation" => "DEFAULT" }
212
212
  # ]
213
213
  # An empty array is returned if no deletions are made.
@@ -238,15 +238,15 @@ module DnsMadeEasy
238
238
  # :ttl => Time to live. The amount of time a record will be cached before being refreshed. E.g. 300
239
239
  #
240
240
  # Here's a list of possible data values, with the record type they are used with:
241
- # * A: <host IP>
242
- # * AAAA: <IPv6 host IP>
243
- # * CNAME: <target name>
244
- # * HTTPRED: <redirection URL>
245
- # * MX: <priority> <target name>
246
- # * NS: <name server>
247
- # * PTR: <target name>
248
- # * SRV: <priority> <weight> <port> <target name>
249
- # * TXT: <text value>
241
+ # * A: [host IP]
242
+ # * AAAA: [IPv6 host IP]
243
+ # * CNAME: [target name]
244
+ # * HTTPRED: [redirection URL]
245
+ # * MX: [priority] [target name]
246
+ # * NS: [name server]
247
+ # * PTR: [target name]
248
+ # * SRV: [priority] [weight] [port] [target name]
249
+ # * TXT: [text value]
250
250
  #
251
251
  # N.B. for CNAME, MX, NS, PTR, and SRV records, the domain name of the dns record is automatically
252
252
  # appended to the given data unless the data ends with a "." So, to map, say mail to mail.google.com,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsmadeeasy-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 6
10
- version: 0.9.6
9
+ - 7
10
+ version: 0.9.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nitesh Goel