nic_ar 0.2.3 → 0.3.0
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 +2 -0
- data/README.rdoc +35 -122
- data/lib/nic-ar.rb +1 -1
- data/lib/nic_ar.rb +1 -1
- data/lib/nic_ar/client.rb +20 -27
- data/lib/nic_ar/version.rb +1 -1
- data/lib/nicar.rb +1 -1
- data/nic_ar.gemspec +1 -1
- data/spec/client_spec.rb +6 -83
- data/spec/spec_helper.rb +1 -1
- data/spec/stubs/domains/dww.com.ar.json +1 -1
- metadata +26 -38
- data/spec/stubs/dns_servers/ns1.sedoparking.com.json +0 -1
- data/spec/stubs/dns_servers/ns2.sedoparking.com.json +0 -1
- data/spec/stubs/entities/Sedo.com LLC.json +0 -1
- data/spec/stubs/people/Sedo.com LLC - Technical Contact.json +0 -1
- data/spec/stubs/transactions/REN17330833.json +0 -1
- data/spec/stubs/transactions/macusadas.com.ar.REN.json +0 -1
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The NicAr::Client class allows to you programatically extract information about any ".ar" (Argentina) domain name.
|
7
7
|
|
8
|
-
It uses the public information as is made available at the {Dirección Nacional del Registro de Dominios de Internet}[http://www.nic.ar] website using the third-party {nic!alert API}[http://api.nicalert.com.ar] webservice.
|
8
|
+
It uses the public information as is made available at the {Dirección Nacional del Registro de Dominios de Internet}[http://www.nic.ar] (Nic.ar) website using the third-party {nic!alert API}[http://api.nicalert.com.ar] webservice.
|
9
9
|
|
10
10
|
== Usage
|
11
11
|
|
@@ -14,127 +14,50 @@ The NicAr::Client class supports lookups for domain names, domain transactions,
|
|
14
14
|
First, find out what kind of domain names you are allowed to looup.
|
15
15
|
|
16
16
|
NicAr::Client.domains
|
17
|
-
=> [".com.ar", ".
|
17
|
+
=> [".com.ar", ".gob.ar", ".int.ar", ".mil.ar", ".net.ar", ".org.ar", ".tur.ar"]
|
18
18
|
|
19
19
|
All the following lookups will raise a NicAr::NotFound exception if the requested resource could not be found.
|
20
20
|
|
21
21
|
NicAr::Client.domains("vivaserver.com.ar")
|
22
22
|
=> {
|
23
|
-
"
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"
|
23
|
+
"status"=> {
|
24
|
+
"available"=>false,
|
25
|
+
"delegated"=>true,
|
26
|
+
"expiring"=>false,
|
27
|
+
"pending"=>false,
|
28
|
+
"registered"=>true},
|
29
|
+
"name"=>"vivaserver.com.ar",
|
30
30
|
"created_on"=>"2004-11-18",
|
31
31
|
"expires_on"=>"2012-11-18",
|
32
32
|
"contacts"=> {
|
33
33
|
"registrant"=>{
|
34
34
|
"name"=>"Cristian Renato Arroyo",
|
35
|
-
"
|
36
|
-
"
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"fax"=>"(0388)155827713",
|
52
|
-
"work_hours"=>"8am-1pm"},
|
53
|
-
"administrative"=>{
|
54
|
-
"name"=>"Dynamic DNS Network Services",
|
55
|
-
"address"=>"210 Park Ave. #267",
|
56
|
-
"city"=>"Worcester",
|
57
|
-
"province"=>"",
|
58
|
-
"zip_code"=>"MA 01609",
|
59
|
-
"country"=>"USA",
|
60
|
-
"phone"=>"1-508-798-2145",
|
61
|
-
"fax"=>"1-508-798-5748",
|
62
|
-
"activity"=>"Network Services"},
|
63
|
-
"technical"=>{
|
64
|
-
"name"=>"Andre Dure",
|
65
|
-
"address"=>"Humahuaca 1303",
|
66
|
-
"city"=>"Capital Federal",
|
67
|
-
"province"=>"Ciudad de Buenos Aires",
|
68
|
-
"zip_code"=>"C1405BIA",
|
69
|
-
"country"=>"Argentina",
|
70
|
-
"phone"=>"49588864",
|
71
|
-
"fax"=>"43335885",
|
72
|
-
"work_hours"=>"10 a 22"}
|
35
|
+
"activity"=>"Diseno de Paginas Web",
|
36
|
+
"addresss" =>{
|
37
|
+
"local" =>{
|
38
|
+
"address"=>"Pje. Vucetich 676. Ciudad De Nieva",
|
39
|
+
"city"=>"S. S. de Jujuy",
|
40
|
+
"province"=>"Jujuy",
|
41
|
+
"zip_code"=>"4600",
|
42
|
+
"country"=>"Argentina",
|
43
|
+
"phone"=>"(0388)155827713",
|
44
|
+
"fax"=>"(0388)155827713"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
"responsible"=>null,
|
49
|
+
"administrative"=>null,
|
50
|
+
"technical"=>null
|
73
51
|
},
|
74
|
-
"
|
75
|
-
"
|
76
|
-
"
|
77
|
-
"
|
78
|
-
"
|
79
|
-
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
=== Entities and people lookups
|
84
|
-
|
85
|
-
All registered domains have a related entities (registrant/administrative contacts) and persons (responsible/technical contacts).
|
86
|
-
|
87
|
-
NicAr::Client.entities("Dynamic DNS Network Services")
|
88
|
-
=> {
|
89
|
-
"name"=>"Dynamic DNS Network Services",
|
90
|
-
"type"=>"ADMINISTRADORA",
|
91
|
-
"address"=>"210 Park Ave. #267",
|
92
|
-
"city"=>"Worcester",
|
93
|
-
"province"=>nil,
|
94
|
-
"country"=>"USA",
|
95
|
-
"activity"=>"Network Services",
|
96
|
-
"handle"=>"NICAR-E607791"
|
97
|
-
}
|
98
|
-
|
99
|
-
NicAr::Client.people("Andre Dure")
|
100
|
-
=> {"name"=>"Andre Dure", "handle"=>"NICAR-P425476"}
|
101
|
-
|
102
|
-
=== DNS Servers lookups
|
103
|
-
|
104
|
-
DNS Servers can also be queried by hostname or IP.
|
105
|
-
|
106
|
-
NicAr::Client.dns_servers("ns1.mydyndns.org")
|
107
|
-
=> {
|
108
|
-
"host"=>"ns1.mydyndns.org",
|
109
|
-
"ip"=>nil,
|
110
|
-
"owner"=>"Andre Dure",
|
111
|
-
"operator"=>"Andre Dure",
|
112
|
-
"handle"=>"NICAR-H12587"
|
52
|
+
"name_servers"=>[
|
53
|
+
{"id"=>0,"host"=>"ns1.mydyndns.org", "ip"=>nil},
|
54
|
+
{"id"=>1,"host"=>"ns2.mydyndns.org", "ip"=>nil},
|
55
|
+
{"id"=>2,"host"=>"ns3.mydyndns.org", "ip"=>nil},
|
56
|
+
{"id"=>4,"host"=>"ns4.mydyndns.org", "ip"=>nil},
|
57
|
+
]
|
113
58
|
}
|
114
59
|
|
115
|
-
|
116
|
-
|
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.
|
118
|
-
|
119
|
-
NicAr::Client.transactions("nazarenorock.com.ar")
|
120
|
-
=> [{
|
121
|
-
"id"=>"REG18127727",
|
122
|
-
"created_at"=>"2012-10-03T15:11:01-03:00",
|
123
|
-
"description"=>"Registro de Nombre",
|
124
|
-
"status"=>"PENDIENTE",
|
125
|
-
"notes"=>"Se envio acuse de recibo al solicitante"
|
126
|
-
}]
|
127
|
-
|
128
|
-
Transactions can also be queried by it's unique identifier:
|
129
|
-
|
130
|
-
NicAr::Client.transactions("REG18127727")
|
131
|
-
=> {
|
132
|
-
"domain"=>"nazarenorock.com.ar",
|
133
|
-
"created_at"=>"2012-10-03T15:11:01-03:00",
|
134
|
-
"description"=>"Registro de Nombre",
|
135
|
-
"status"=>"PENDIENTE",
|
136
|
-
"notes"=>"Se envio acuse de recibo al solicitante"
|
137
|
-
}
|
60
|
+
Please note that this output conforms to the latest update of the Nic.ar website (late 2013), which significantly reduces the contacts data details exposed, as opposed to the previous version.
|
138
61
|
|
139
62
|
=== Check a domain status
|
140
63
|
|
@@ -162,19 +85,9 @@ But also note that a domain name without the "www." may or may not resolve in th
|
|
162
85
|
|
163
86
|
Lastly, status checking only works for ".ar" (Argentina) domain names.
|
164
87
|
|
165
|
-
==
|
166
|
-
|
167
|
-
The full documentation of the <b>nic!alert API</b> is available at {api.nicalert.com.ar}[http://api.nicalert.com.ar] if you want to write your own client, use any other language, or just use CURL in a RESTful way.
|
168
|
-
|
169
|
-
== Live examples
|
170
|
-
|
171
|
-
=== nic!alert
|
172
|
-
|
173
|
-
A live test application is set up at the {nic!alert}[http://www.nicalert.com.ar] website that allows for the automatic renewal of ".ar" domain names within their 30-day expiring period. The application also has the added feature of resolving the CAPTCHA challenge for the submission of the renewal request.
|
174
|
-
|
175
|
-
=== Nic.ar Whois domain
|
88
|
+
== Full API reference
|
176
89
|
|
177
|
-
|
90
|
+
The full documentation of the {public nic!alert API}[http://api.nicalert.com.ar] is available at {http://api.nicalert.com.ar/docs}[http://api.nicalert.com.ar/docs] if you want to write your own client, use any other language, or just use CURL in a RESTful way.
|
178
91
|
|
179
92
|
== Contributing
|
180
93
|
|
@@ -190,4 +103,4 @@ NicAr::Client is released under the {MIT License}[http://www.opensource.org/lice
|
|
190
103
|
|
191
104
|
== Copyright
|
192
105
|
|
193
|
-
Copyright (c)
|
106
|
+
Copyright (c)2014 {Cristian R. Arroyo}[mailto:cristian.arroyo@vivaserver.com]
|
data/lib/nic-ar.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# So you can require "nicar" instead of "nic-ar"
|
2
|
-
|
2
|
+
require_relative 'nic-ar'
|
data/lib/nic_ar.rb
CHANGED
@@ -7,7 +7,7 @@ require 'rest_client'
|
|
7
7
|
# NicAr is the _official_ Ruby gem for accessing the {nic!alert API}[http://api.nicalert.com.ar]. See the README.rdoc
|
8
8
|
|
9
9
|
module NicAr
|
10
|
-
# The base URI for the nic!alert API
|
10
|
+
# The base URI for the nic!alert API
|
11
11
|
API_URI = 'http://api.nicalert.com.ar'
|
12
12
|
|
13
13
|
# Exception for status HTTP 424: Failed Dependency
|
data/lib/nic_ar/client.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
module NicAr
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Full API spec. available at {api.nicalert.com.ar}[http://api.nicalert.com.ar]
|
3
|
+
# NicAr::Client
|
4
|
+
# Simple HTTP client for accessing the {public nic!alert API}[http://api.nicalert.com.ar].
|
5
|
+
# Full API spec. available at {api.nicalert.com.ar/docs}[http://api.nicalert.com.ar/docs]
|
6
6
|
#
|
7
|
+
# (c)2014 Cristian R. Arroyo <cristian.arroyo@vivaserver.com>
|
8
|
+
|
7
9
|
class Client
|
8
10
|
class << self
|
9
11
|
# Maps class methods to API calls
|
@@ -20,7 +22,7 @@ module NicAr
|
|
20
22
|
|
21
23
|
# Acknowledge supported methods/API calls
|
22
24
|
def respond_to?(resource)
|
23
|
-
return true if %w[
|
25
|
+
return true if %w[domains].include? resource.to_s # old resources deprecated by new Nic.ar website
|
24
26
|
super
|
25
27
|
end
|
26
28
|
|
@@ -34,32 +36,23 @@ module NicAr
|
|
34
36
|
message = message_from(e.http_body)
|
35
37
|
|
36
38
|
case e.http_code
|
37
|
-
#
|
38
|
-
when 424
|
39
|
-
raise CaptchaError, message
|
40
|
-
#406: Not Acceptable
|
41
|
-
when 406
|
42
|
-
raise RequestError, message
|
43
|
-
#417: Expectation Failed
|
44
|
-
when 417
|
45
|
-
raise ExpectationError, message
|
46
|
-
#404: Not Found
|
47
|
-
when 404
|
48
|
-
raise NotFound
|
49
|
-
#400: Bad Request
|
50
|
-
when 400
|
39
|
+
when 400 # Bad Request
|
51
40
|
raise ParameterError, message
|
52
|
-
#
|
53
|
-
|
41
|
+
when 404 # Not Found
|
42
|
+
raise NotFound
|
43
|
+
when 406 # Not Acceptable
|
44
|
+
raise RequestError, message
|
45
|
+
when 408 # Request Timeout
|
46
|
+
raise TimeoutError, message
|
47
|
+
when 412 # Precondition Failed
|
54
48
|
raise PreconditionError, message
|
55
|
-
#
|
56
|
-
|
49
|
+
when 417 # Expectation Failed
|
50
|
+
raise ExpectationError, message
|
51
|
+
when 424 # Failed Dependency
|
52
|
+
raise CaptchaError, message
|
53
|
+
when 500 # System Error
|
57
54
|
raise ServiceError, message
|
58
|
-
#
|
59
|
-
when 408
|
60
|
-
raise TimeoutError, message
|
61
|
-
#503: Service Unavailable
|
62
|
-
when 503
|
55
|
+
when 503 # Service Unavailable
|
63
56
|
raise UnavailableError, message
|
64
57
|
else
|
65
58
|
raise e
|
data/lib/nic_ar/version.rb
CHANGED
data/lib/nicar.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# So you can require "nicar" instead of "nic_ar"
|
2
|
-
|
2
|
+
require_relative 'nic_ar'
|
data/nic_ar.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.email = ["cristian.arroyo@vivaserver.com"]
|
11
11
|
gem.description = %q{A simple client for ".ar" (Argentina) domain names lookups}
|
12
12
|
gem.summary = %q{A simple client for ".ar" (Argentina) domain names lookups using the nic!alert API}
|
13
|
-
gem.homepage = "https://github.com/vivaserver/nic_ar"
|
13
|
+
gem.homepage = "https://github.com/vivaserver/ruby-nic_ar"
|
14
14
|
|
15
15
|
gem.add_runtime_dependency 'rest-client', '~> 1.6'
|
16
16
|
gem.add_development_dependency 'minitest'
|
data/spec/client_spec.rb
CHANGED
@@ -2,11 +2,11 @@ require_relative 'spec_helper'
|
|
2
2
|
|
3
3
|
describe 'NicAr::Client' do
|
4
4
|
it 'fixes respond_to?' do
|
5
|
-
|
5
|
+
refute NicAr::Client.respond_to? :dns_servers # old resources deprecated by new Nic.ar website
|
6
6
|
assert NicAr::Client.respond_to? :domains
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
refute NicAr::Client.respond_to? :entities
|
8
|
+
refute NicAr::Client.respond_to? :people
|
9
|
+
refute NicAr::Client.respond_to? :transactions
|
10
10
|
end
|
11
11
|
|
12
12
|
describe 'when receiving invalid requests' do
|
@@ -21,27 +21,9 @@ describe 'NicAr::Client' do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
describe 'DNS lookups' do
|
25
|
-
it 'returns a hash for primary DNS lookups' do
|
26
|
-
stub_request(:get,/dns_servers\/ns1\.sedoparking\.com$/).to_return(:body => stub_for('dns_servers/ns1.sedoparking.com'))
|
27
|
-
result = NicAr::Client.dns_servers 'ns1.sedoparking.com'
|
28
|
-
result.must_be_instance_of Hash
|
29
|
-
result['host'].must_equal 'ns1.sedoparking.com'
|
30
|
-
result['handle'].must_equal 'NICAR-H24966'
|
31
|
-
end
|
32
|
-
|
33
|
-
it 'returns a hash for secondary DNS lookups' do
|
34
|
-
stub_request(:get,/dns_servers\/ns2\.sedoparking\.com$/).to_return(:body => stub_for('dns_servers/ns2.sedoparking.com'))
|
35
|
-
result = NicAr::Client.dns_servers 'ns2.sedoparking.com'
|
36
|
-
result.must_be_instance_of Hash
|
37
|
-
result['host'].must_equal 'ns2.sedoparking.com'
|
38
|
-
result['handle'].must_equal 'NICAR-H24965'
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
24
|
describe 'Domains lookups' do
|
43
25
|
it 'knows what kind of domains to lookup' do
|
44
|
-
stub_request(:get,/domains$/).to_return(:body => '[".com.ar", ".
|
26
|
+
stub_request(:get,/domains$/).to_return(:body => '[".com.ar", ".gob.ar", ".int.ar", ".mil.ar", ".net.ar", ".org.ar", ".tur.ar"]')
|
45
27
|
result = NicAr::Client.domains
|
46
28
|
result.must_be_instance_of Array
|
47
29
|
result.wont_be_empty
|
@@ -56,66 +38,7 @@ describe 'NicAr::Client' do
|
|
56
38
|
stub_request(:get,/domains\/dww\.com\.ar$/).to_return(:body => stub_for('domains/dww.com.ar'))
|
57
39
|
result = NicAr::Client.domains 'dww.com.ar'
|
58
40
|
result.must_be_instance_of Hash
|
59
|
-
result['name'].must_equal
|
60
|
-
result['domain'].must_equal '.com.ar'
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
describe 'Entities lookups' do
|
65
|
-
it 'returns an Entity hash for lookups' do
|
66
|
-
stub_request(:get,/entities\/Sedo\.com.LLC$/).to_return(:body => stub_for('entities/Sedo.com LLC'))
|
67
|
-
result = NicAr::Client.entities 'Sedo.com LLC'
|
68
|
-
result.must_be_instance_of Hash
|
69
|
-
result['name'].must_equal 'Sedo.com LLC'
|
70
|
-
result['handle'].must_equal 'NICAR-E779784'
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
describe 'People lookups' do
|
75
|
-
it 'returns a Person hash for lookups' do
|
76
|
-
stub_request(:get,/people\/Sedo\.com.LLC.-.Technical.Contact$/).to_return(:body => stub_for('people/Sedo.com LLC - Technical Contact'))
|
77
|
-
result = NicAr::Client.people 'Sedo.com LLC - Technical Contact'
|
78
|
-
result.must_be_instance_of Hash
|
79
|
-
result['name'].must_equal 'Sedo.com LLC - Technical Contact'
|
80
|
-
result['handle'].must_equal 'NICAR-P1280916'
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
describe 'Transactions lookups' do
|
85
|
-
it 'returns a Transactions array for domains lookups' do
|
86
|
-
stub_request(:get,/transactions\/macusadas\.com\.ar$/).to_return(:body => stub_for('transactions/macusadas.com.ar.REN'))
|
87
|
-
result = NicAr::Client.transactions 'macusadas.com.ar'
|
88
|
-
result.must_be_instance_of Array
|
89
|
-
result.count.must_equal 1
|
90
|
-
transaction = result.first
|
91
|
-
transaction.must_be_instance_of Hash
|
92
|
-
transaction['id'].must_equal 'REN17330833'
|
93
|
-
transaction['status'].must_equal 'FINALIZADO'
|
94
|
-
transaction['description'].must_equal 'Renovacion de Nombre'
|
95
|
-
end
|
96
|
-
|
97
|
-
it 'returns a Transaction hash for single transaction lookups' do
|
98
|
-
stub_request(:get,/transactions\/REN17330833$/).to_return(:body => stub_for('transactions/REN17330833'))
|
99
|
-
result = NicAr::Client.transactions 'REN17330833'
|
100
|
-
result['domain'].must_equal 'macusadas.com.ar'
|
101
|
-
result['status'].must_equal 'FINALIZADO'
|
102
|
-
result['description'].must_equal 'Renovacion de Nombre'
|
103
|
-
end
|
104
|
-
|
105
|
-
it 'has flexible support for multiple arguments' do
|
106
|
-
stub_request(:get,/domains\/macusadas\.com\.ar\/transactions$/).to_return(:body => stub_for('transactions/macusadas.com.ar.REN'))
|
107
|
-
result = NicAr::Client.domains 'macusadas.com.ar', 'transactions'
|
108
|
-
result.must_be_instance_of Array
|
109
|
-
transaction = result.first
|
110
|
-
transaction.must_be_instance_of Hash
|
111
|
-
transaction['id'].must_equal 'REN17330833'
|
112
|
-
transaction['status'].must_equal 'FINALIZADO'
|
113
|
-
transaction['description'].must_equal 'Renovacion de Nombre'
|
114
|
-
end
|
115
|
-
|
116
|
-
it 'might return no transactions at all' do
|
117
|
-
stub_request(:get,/transactions\/hispafuentes\.com\.ar$/).to_return(:status => 204)
|
118
|
-
proc { NicAr::Client.transactions 'hispafuentes.com.ar' }.must_raise NicAr::NoContent
|
41
|
+
result['name'].must_equal 'dww.com.ar'
|
119
42
|
end
|
120
43
|
end
|
121
44
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"available":false,"delegated":true,"expiring":false,"pending":
|
1
|
+
{"status":{"available":false,"delegated":true,"expiring":false,"phasing_out":null,"pending":null,"registered":true},"name":"dww.com.ar","created_on":"2010-05-18","expires_on":"2014-05-18","message":"NO DISPONIBLE","contacts":{"registrant":{"name":"Werlen Analia Guadalupe","id":"DNI 23167053","activity":"Diseno de Paginas Web","addresses":{"local":{"country":"Argentina","address":"Soler 138","city":"Cordoba","province":"Cordoba","zip_code":"5000","phone":"0351 4735 06"}}},"responsible":null,"administrative":null,"technical":null},"name_servers":[{"id":0,"host":"ns1.sedoparking.com","ip":null},{"id":1,"host":"ns2.sedoparking.com","ip":null}]}
|
metadata
CHANGED
@@ -1,80 +1,80 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nic_ar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.3
|
5
4
|
prerelease:
|
5
|
+
version: 0.3.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Cristian R. Arroyo
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
prerelease: false
|
15
16
|
name: rest-client
|
17
|
+
type: :runtime
|
16
18
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
19
|
requirements:
|
19
20
|
- - ~>
|
20
21
|
- !ruby/object:Gem::Version
|
21
22
|
version: '1.6'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
23
|
none: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
28
|
version: '1.6'
|
29
|
+
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
+
prerelease: false
|
31
32
|
name: minitest
|
33
|
+
type: :development
|
32
34
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
35
|
requirements:
|
35
36
|
- - ! '>='
|
36
37
|
- !ruby/object:Gem::Version
|
37
38
|
version: '0'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
41
|
requirements:
|
43
42
|
- - ! '>='
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: '0'
|
45
|
+
none: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
+
prerelease: false
|
47
48
|
name: rake
|
49
|
+
type: :development
|
48
50
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
51
|
requirements:
|
51
52
|
- - ! '>='
|
52
53
|
- !ruby/object:Gem::Version
|
53
54
|
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
55
|
none: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
58
|
- - ! '>='
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '0'
|
61
|
+
none: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
+
prerelease: false
|
63
64
|
name: webmock
|
65
|
+
type: :development
|
64
66
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
67
|
requirements:
|
67
68
|
- - ~>
|
68
69
|
- !ruby/object:Gem::Version
|
69
70
|
version: '1.8'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
71
|
none: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
73
|
requirements:
|
75
74
|
- - ~>
|
76
75
|
- !ruby/object:Gem::Version
|
77
76
|
version: '1.8'
|
77
|
+
none: false
|
78
78
|
description: A simple client for ".ar" (Argentina) domain names lookups
|
79
79
|
email:
|
80
80
|
- cristian.arroyo@vivaserver.com
|
@@ -96,40 +96,34 @@ files:
|
|
96
96
|
- nic_ar.gemspec
|
97
97
|
- spec/client_spec.rb
|
98
98
|
- spec/spec_helper.rb
|
99
|
-
- spec/stubs/dns_servers/ns1.sedoparking.com.json
|
100
|
-
- spec/stubs/dns_servers/ns2.sedoparking.com.json
|
101
99
|
- spec/stubs/domains/dww.com.ar.json
|
102
|
-
|
103
|
-
- spec/stubs/people/Sedo.com LLC - Technical Contact.json
|
104
|
-
- spec/stubs/transactions/REN17330833.json
|
105
|
-
- spec/stubs/transactions/macusadas.com.ar.REN.json
|
106
|
-
homepage: https://github.com/vivaserver/nic_ar
|
100
|
+
homepage: https://github.com/vivaserver/ruby-nic_ar
|
107
101
|
licenses: []
|
108
102
|
post_install_message:
|
109
103
|
rdoc_options: []
|
110
104
|
require_paths:
|
111
105
|
- lib
|
112
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
107
|
requirements:
|
115
108
|
- - ! '>='
|
116
109
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
110
|
segments:
|
119
111
|
- 0
|
120
|
-
hash:
|
121
|
-
|
112
|
+
hash: 2419756568503364636
|
113
|
+
version: '0'
|
122
114
|
none: false
|
115
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
116
|
requirements:
|
124
117
|
- - ! '>='
|
125
118
|
- !ruby/object:Gem::Version
|
126
|
-
version: '0'
|
127
119
|
segments:
|
128
120
|
- 0
|
129
|
-
hash:
|
121
|
+
hash: 2419756568503364636
|
122
|
+
version: '0'
|
123
|
+
none: false
|
130
124
|
requirements: []
|
131
125
|
rubyforge_project:
|
132
|
-
rubygems_version: 1.8.
|
126
|
+
rubygems_version: 1.8.25
|
133
127
|
signing_key:
|
134
128
|
specification_version: 3
|
135
129
|
summary: A simple client for ".ar" (Argentina) domain names lookups using the nic!alert
|
@@ -137,10 +131,4 @@ summary: A simple client for ".ar" (Argentina) domain names lookups using the ni
|
|
137
131
|
test_files:
|
138
132
|
- spec/client_spec.rb
|
139
133
|
- spec/spec_helper.rb
|
140
|
-
- spec/stubs/dns_servers/ns1.sedoparking.com.json
|
141
|
-
- spec/stubs/dns_servers/ns2.sedoparking.com.json
|
142
134
|
- spec/stubs/domains/dww.com.ar.json
|
143
|
-
- spec/stubs/entities/Sedo.com LLC.json
|
144
|
-
- spec/stubs/people/Sedo.com LLC - Technical Contact.json
|
145
|
-
- spec/stubs/transactions/REN17330833.json
|
146
|
-
- spec/stubs/transactions/macusadas.com.ar.REN.json
|
@@ -1 +0,0 @@
|
|
1
|
-
{"host":"ns1.sedoparking.com","ip":null,"owner":"Sedo.com LLC","operator":"Sedo.com LLC - Technical Contact","handle":"NICAR-H24966"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"host":"ns2.sedoparking.com","ip":null,"owner":"Sedo.com LLC","operator":"Sedo.com LLC - Technical Contact","handle":"NICAR-H24965"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"Sedo.com LLC","type":"ADMINISTRADORA","address":"One Broadway 1 14","city":"Cambridge, MA","province":null,"country":"Argentina","activity":"Proveedor de Servicios de Internet","handle":"NICAR-E779784"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"Sedo.com LLC - Technical Contact","handle":"NICAR-P1280916"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"domain":"macusadas.com.ar","created_at":"2012-06-20T22:15:50-03:00","description":"Renovacion de Nombre","status":"FINALIZADO","notes":"Tramite finalizado el 20/06/12."}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":"REN17330833","created_at":"2012-06-20T22:15:50-03:00","description":"Renovacion de Nombre","status":"FINALIZADO","notes":"Tramite finalizado el 20/06/12."}]
|