nic_ar 0.2.0 → 0.2.1
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.
- data/.gitignore +1 -0
- data/README.rdoc +13 -1
- data/lib/nic-ar.rb +2 -0
- data/lib/nic_ar/client.rb +1 -0
- data/lib/nic_ar/version.rb +1 -1
- metadata +11 -10
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -80,6 +80,8 @@ All the following lookups will raise a NicAr::NotFound exception if the requeste
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
|
83
|
+
=== Entities and people lookups
|
84
|
+
|
83
85
|
All registered domains have a related entities (registrant/administrative contacts) and persons (responsible/technical contacts).
|
84
86
|
|
85
87
|
NicAr::Client.entities("Dynamic DNS Network Services")
|
@@ -97,6 +99,8 @@ All registered domains have a related entities (registrant/administrative contac
|
|
97
99
|
NicAr::Client.people("Andre Dure")
|
98
100
|
=> {"name"=>"Andre Dure", "handle"=>"NICAR-P425476"}
|
99
101
|
|
102
|
+
=== DNS Servers lookups
|
103
|
+
|
100
104
|
DNS Servers can also be queried by hostname or IP.
|
101
105
|
|
102
106
|
NicAr::Client.dns_servers("ns1.mydyndns.org")
|
@@ -108,6 +112,8 @@ DNS Servers can also be queried by hostname or IP.
|
|
108
112
|
"handle"=>"NICAR-H12587"
|
109
113
|
}
|
110
114
|
|
115
|
+
=== Domain transactions lookups
|
116
|
+
|
111
117
|
If a domain name has no recent transactions, a NicAr::NoContent exception will be raised. Otherwise an array of recent transactions will be returned.
|
112
118
|
|
113
119
|
NicAr::Client.transactions("nazarenorock.com.ar")
|
@@ -130,6 +136,8 @@ Transactions can also be queried by it's unique identifier:
|
|
130
136
|
"notes"=>"Se envio acuse de recibo al solicitante"
|
131
137
|
}
|
132
138
|
|
139
|
+
=== Check a domain status
|
140
|
+
|
133
141
|
You can also check if a given domain name resolves OK to it's DNS servers, thus effectively know if it's available online or not.
|
134
142
|
|
135
143
|
NicAr::Client.status("www.nic.ar")
|
@@ -176,6 +184,10 @@ A very nice Node.js application that provides "typeahead" domain searching capab
|
|
176
184
|
4. Push to the branch (`git push origin my-new-feature`)
|
177
185
|
5. Create new Pull Request
|
178
186
|
|
187
|
+
== License
|
188
|
+
|
189
|
+
NicAr::Client is released under the {MIT License}[http://www.opensource.org/licenses/MIT].
|
190
|
+
|
179
191
|
== Copyright
|
180
192
|
|
181
|
-
Copyright (c)2012 {Cristian R. Arroyo}[mailto:cristian.arroyo@
|
193
|
+
Copyright (c)2012 {Cristian R. Arroyo}[mailto:cristian.arroyo@vivaserver.com]
|
data/lib/nic-ar.rb
ADDED
data/lib/nic_ar/client.rb
CHANGED
data/lib/nic_ar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nic_ar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-19 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
16
|
-
requirement: &
|
16
|
+
requirement: &82243180 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.6'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *82243180
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &82242970 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *82242970
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &82242710 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *82242710
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: webmock
|
49
|
-
requirement: &
|
49
|
+
requirement: &82242440 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '1.8'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *82242440
|
58
58
|
description: A simple client for ".ar" (Argentina) domain names lookups
|
59
59
|
email:
|
60
60
|
- cristian.arroyo@vivaserver.com
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- LICENSE.txt
|
69
69
|
- README.rdoc
|
70
70
|
- Rakefile
|
71
|
+
- lib/nic-ar.rb
|
71
72
|
- lib/nic_ar.rb
|
72
73
|
- lib/nic_ar/client.rb
|
73
74
|
- lib/nic_ar/version.rb
|