nicinfo 0.2.0 → 1.0.0

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: bf8b32197f9344ad3fe596d47a9bd8a67e32bce8
4
- data.tar.gz: 21b7cc75e7564169af3ffa3a65f60753f700e86c
3
+ metadata.gz: 66278c672634e66e08d0b658d009235205e29779
4
+ data.tar.gz: ea11d90c9b091cada9868bf819b43787fd957fec
5
5
  SHA512:
6
- metadata.gz: 65dd577a181178730402f1b0dedb341314697a9dd9ccb9531dabe750a9b549294d45f844fe33151eda49b55cec792df52287bce6eb93d6444042365e5590b6ce
7
- data.tar.gz: 15af917a05057ec21fc49be01563861c1b3319150b5972a527b740fb99633326cf7406cdb73c8ad099aa717435243eae8bfe89213afeb8de63dafb50b79b9443
6
+ metadata.gz: 37a795b43acb2f945d631b9c6d89467946a85e0658ae4393d34e3035de1708dffd91525dabdec3e4a13a27e7dc98d688a674e7f7a23809b6fab3e1dc7825b066
7
+ data.tar.gz: 1c778ecbc6045a9b4e8b41f89a6d7e14166007f2d1d3a75130818be45031497ba8475bd17a38b1bb5b6978ea77f31a43d2cef8fcef5bc6e1afed10d8b7887f16
data/lib/bsfiles/asn.json CHANGED
@@ -1047,7 +1047,8 @@
1047
1047
  "393216-394239"
1048
1048
  ],
1049
1049
  [
1050
- "http://rdappilot.arin.net/restfulwhois/rdap"
1050
+ "https://rdap.arin.net/registry",
1051
+ "http://rdap.arin.net/registry"
1051
1052
  ]
1052
1053
  ],
1053
1054
  [
@@ -8,7 +8,8 @@
8
8
  "ARIN"
9
9
  ],
10
10
  [
11
- "http://rdappilot.arin.net/restfulwhois/rdap"
11
+ "https://rdap.arin.net/registry",
12
+ "http://rdap.arin.net/registry"
12
13
  ]
13
14
  ],
14
15
  [
@@ -204,7 +204,8 @@
204
204
  "216.000.000.000/8"
205
205
  ],
206
206
  [
207
- "http://rdappilot.arin.net/restfulwhois/rdap"
207
+ "https://rdap.arin.net/registry",
208
+ "http://rdap.arin.net/registry"
208
209
  ]
209
210
  ],
210
211
  [
@@ -44,7 +44,8 @@
44
44
  "2620:0000::/23"
45
45
  ],
46
46
  [
47
- "http://rdappilot.arin.net/restfulwhois/rdap"
47
+ "https://rdap.arin.net/registry",
48
+ "http://rdap.arin.net/registry"
48
49
  ]
49
50
  ],
50
51
  [
data/lib/config.rb CHANGED
@@ -233,19 +233,19 @@ cache:
233
233
  bootstrap:
234
234
 
235
235
  # The base or bootstrap URL. Specifying this will bypass all built-in bootstrapping.
236
- #base_url: http://rdappilot.arin.net/rdapbootstrap
236
+ #base_url: https://rdap.arin.net/bootstrap
237
237
 
238
- help_root_url: http://rdappilot.arin.net/rdapbootstrap
238
+ help_root_url: https://rdap.arin.net/bootstrap
239
239
 
240
- entity_root_url: http://rdappilot.arin.net/restfulwhois/rdap
240
+ entity_root_url: https://rdap.arin.net/registry
241
241
 
242
- ip_root_url: http://rdappilot.arin.net/restfulwhois/rdap
242
+ ip_root_url: https://rdap.arin.net/registry
243
243
 
244
- as_root_url: http://rdappilot.arin.net/restfulwhois/rdap
244
+ as_root_url: https://rdap.arin.net/registry
245
245
 
246
- domain_root_url: http://rdappilot.arin.net/restfulwhois/rdap
246
+ domain_root_url: https://rdap.arin.net/registry
247
247
 
248
- ns_root_url: http://rdappilot.arin.net/restfulwhois/rdap
248
+ ns_root_url: https://rdap.arin.net/registry
249
249
 
250
250
  search:
251
251
 
data/lib/constants.rb CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  module NicInfo
20
20
 
21
- VERSION = "0.2.0"
21
+ VERSION = "1.0.0"
22
22
  VERSION_LABEL = "NicInfo v." + VERSION
23
23
  COPYRIGHT = "Copyright (c) 2011,2012,2013,2014,2015 American Registry for Internet Numbers (ARIN)"
24
24
 
data/lib/demo/autnum.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl":"http://rdappilot.arin.net/restfulwhois/rdap/autnum/10",
2
+ "nicInfo_demoUrl":"https://rdap.arin.net/registry/autnum/10",
3
3
  "nicInfo_demoHint":"nicinfo as10",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -45,9 +45,9 @@
45
45
  ],
46
46
  "links":[
47
47
  {
48
- "value":"http://rdappilot.arin.net/restfulwhois/rdap/autnum/10",
48
+ "value":"https://rdap.arin.net/registry/autnum/10",
49
49
  "rel":"self",
50
- "href":"http://rdappilot.arin.net/restfulwhois/rdap/autnum/10"
50
+ "href":"https://rdap.arin.net/registry/autnum/10"
51
51
  }
52
52
  ],
53
53
  "events":[
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl":"http://rdappilot.arin.net/restfulwhois/rdap/domain/xn--fo-5ja.example",
2
+ "nicInfo_demoUrl":"https://rdap.arin.net/registry/domain/xn--fo-5ja.example",
3
3
  "nicInfo_demoHint":"nicinfo xn--fo-5ja.example",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -506,9 +506,9 @@
506
506
  ],
507
507
  "links":[
508
508
  {
509
- "value":"http://rdappilot.arin.net/rdapbootstrap/domain/xn--fo-5ja.example",
509
+ "value":"https://rdap.arin.net/bootstrap/domain/xn--fo-5ja.example",
510
510
  "rel":"self",
511
- "href":"http://rdappilot.arin.net/rdapbootstrap/domain/xn--fo-5ja.example"
511
+ "href":"https://rdap.arin.net/bootstrap/domain/xn--fo-5ja.example"
512
512
  }
513
513
  ],
514
514
  "port43":"whois.example.net",
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/domain/192.in-addr.arpa",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/domain/192.in-addr.arpa",
3
3
  "nicInfo_demoHint" : "nicinfo 192.in-addr.arpa",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -54,9 +54,9 @@
54
54
  ],
55
55
  "links":[
56
56
  {
57
- "value":"http://rdappilot.arin.net/restfulwhois/rdap/domain/192.in-addr.arpa",
57
+ "value":"https://rdap.arin.net/registry/domain/192.in-addr.arpa",
58
58
  "rel":"self",
59
- "href":"http://rdappilot.arin.net/restfulwhois/rdap/domain/192.in-addr.arpa"
59
+ "href":"https://rdap.arin.net/registry/domain/192.in-addr.arpa"
60
60
  }
61
61
  ],
62
62
  "events":[
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/domains?nsLdhName=ns1.rir.example",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/domains?nsLdhName=ns1.rir.example",
3
3
  "nicInfo_demoHint" : "nicinfo --type dsbynsname ns1.rir.example",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -74,9 +74,9 @@
74
74
  ],
75
75
  "links":[
76
76
  {
77
- "value":"http://rdappilot.arin.net/restfulwhois/rdap/domain/192.in-addr.arpa",
77
+ "value":"https://rdap.arin.net/registry/domain/192.in-addr.arpa",
78
78
  "rel":"self",
79
- "href":"http://rdappilot.arin.net/restfulwhois/rdap/domain/192.in-addr.arpa"
79
+ "href":"https://rdap.arin.net/registry/domain/192.in-addr.arpa"
80
80
  }
81
81
  ],
82
82
  "events":[
@@ -365,9 +365,9 @@
365
365
  ],
366
366
  "links":[
367
367
  {
368
- "value":"http://rdappilot.arin.net/restfulwhois/rdap/domain/199.in-addr.arpa",
368
+ "value":"https://rdap.arin.net/registry/domain/199.in-addr.arpa",
369
369
  "rel":"self",
370
- "href":"http://rdappilot.arin.net/restfulwhois/rdap/domain/199.in-addr.arpa"
370
+ "href":"https://rdap.arin.net/registry/domain/199.in-addr.arpa"
371
371
  }
372
372
  ],
373
373
  "events":[
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl": "http://rdappilot.arin.net/restfulwhois/rdap/entities?fn=Simon",
2
+ "nicInfo_demoUrl": "https://rdap.arin.net/registry/entities?fn=Simon",
3
3
  "nicInfo_demoHint": "nicinfo --type esbyname Simon",
4
4
  "rdapConformance": [
5
5
  "rdap_level_0"
@@ -147,9 +147,9 @@
147
147
  ],
148
148
  "links": [
149
149
  {
150
- "value": "http://rdappilot.arin.net/rdapbootstrap/entity/entity-dnr",
150
+ "value": "https://rdap.arin.net/bootstrap/entity/entity-dnr",
151
151
  "rel": "self",
152
- "href": "http://rdappilot.arin.net/rdapbootstrap/entity/entity-dnr"
152
+ "href": "https://rdap.arin.net/bootstrap/entity/entity-dnr"
153
153
  }
154
154
  ],
155
155
  "port43": "whois.example.net",
@@ -286,9 +286,9 @@
286
286
  ],
287
287
  "links": [
288
288
  {
289
- "value": "http://rdappilot.arin.net/rdapbootstrap/entity/foo1",
289
+ "value": "https://rdap.arin.net/bootstrap/entity/foo1",
290
290
  "rel": "self",
291
- "href": "http://rdappilot.arin.net/rdapbootstrap/entity/foo1"
291
+ "href": "https://rdap.arin.net/bootstrap/entity/foo1"
292
292
  }
293
293
  ],
294
294
  "events": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/entity/entity-dnr",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/entity/entity-dnr",
3
3
  "nicInfo_demoHint" : "nicinfo --type entityhandle entity-dnr",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -123,9 +123,9 @@
123
123
  ],
124
124
  "links":[
125
125
  {
126
- "value":"http://rdappilot.arin.net/rdapbootstrap/entity/entity-dnr",
126
+ "value":"https://rdap.arin.net/bootstrap/entity/entity-dnr",
127
127
  "rel":"self",
128
- "href":"http://rdappilot.arin.net/rdapbootstrap/entity/entity-dnr"
128
+ "href":"https://rdap.arin.net/bootstrap/entity/entity-dnr"
129
129
  }
130
130
  ],
131
131
  "port43":"whois.example.net",
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/entity/foo1",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/entity/foo1",
3
3
  "nicInfo_demoHint" : "nicinfo --type entityhandle foo1",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -132,9 +132,9 @@
132
132
  ],
133
133
  "links":[
134
134
  {
135
- "value":"http://rdappilot.arin.net/rdapbootstrap/entity/foo1",
135
+ "value":"https://rdap.arin.net/bootstrap/entity/foo1",
136
136
  "rel":"self",
137
- "href":"http://rdappilot.arin.net/rdapbootstrap/entity/foo1"
137
+ "href":"https://rdap.arin.net/bootstrap/entity/foo1"
138
138
  }
139
139
  ],
140
140
  "events":[
@@ -208,9 +208,9 @@
208
208
  ],
209
209
  "links":[
210
210
  {
211
- "value":"http://rdappilot.arin.net/restfulwhois/rdap/autnum/10",
211
+ "value":"https://rdap.arin.net/registry/autnum/10",
212
212
  "rel":"self",
213
- "href":"http://rdappilot.arin.net/restfulwhois/rdap/autnum/10"
213
+ "href":"https://rdap.arin.net/registry/autnum/10"
214
214
  }
215
215
  ],
216
216
  "events":[
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/entity/restricted",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/entity/restricted",
3
3
  "nicInfo_demoHint" : "nicinfo --type entityhandle restricted",
4
4
  "nicInfo_demoError" : "401",
5
5
  "rdapConformance":[
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "links":[
16
16
  {
17
- "value":"http://rdappilot.arin.net/rdapbootstrap/entity/restricted",
17
+ "value":"https://rdap.arin.net/bootstrap/entity/restricted",
18
18
  "rel":"terms-of-service",
19
19
  "type":"text/html",
20
20
  "href":"http://www.example.com/tos.html"
data/lib/demo/help.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/help",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/help",
3
3
  "nicInfo_demoHint" : "nicinfo --type help ns1.xn--fo-5ja.example",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/nameservers?name=ns*.xn--fo-5ja.example",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/nameservers?name=ns*.xn--fo-5ja.example",
3
3
  "nicInfo_demoHint" : "nicinfo --type nsbyname ns*.xn--fo-5ja.example",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -44,9 +44,9 @@
44
44
  ],
45
45
  "links":[
46
46
  {
47
- "value":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example",
47
+ "value":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example",
48
48
  "rel":"self",
49
- "href":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example"
49
+ "href":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example"
50
50
  }
51
51
  ],
52
52
  "port43":"whois.example.net",
@@ -247,9 +247,9 @@
247
247
  ],
248
248
  "links":[
249
249
  {
250
- "value":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example",
250
+ "value":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example",
251
251
  "rel":"self",
252
- "href":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example"
252
+ "href":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example"
253
253
  }
254
254
  ],
255
255
  "port43":"whois.example.net",
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/nameserver/ns2.example.com",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/nameserver/ns2.example.com",
3
3
  "nicInfo_demoHint" : "nicinfo ns2.example.com",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/nameserver/ns1.example.com",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/nameserver/ns1.example.com",
3
3
  "nicInfo_demoHint" : "nicinfo ns1.example.com",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
data/lib/demo/ns.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example",
3
3
  "nicInfo_demoHint" : "nicinfo ns1.xn--fo-5ja.example",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
@@ -43,9 +43,9 @@
43
43
  ],
44
44
  "links":[
45
45
  {
46
- "value":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example",
46
+ "value":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example",
47
47
  "rel":"self",
48
- "href":"http://rdappilot.arin.net/rdapbootstrap/nameserver/ns1.xn--fo-5ja.example"
48
+ "href":"https://rdap.arin.net/bootstrap/nameserver/ns1.xn--fo-5ja.example"
49
49
  }
50
50
  ],
51
51
  "port43":"whois.example.net",
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/ip/192.0.2.0/24",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/ip/192.0.2.0/24",
3
3
  "nicInfo_demoHint" : "nicinfo 192.0.2.0/24",
4
4
  "rdapConformance":[
5
5
  "rdap_level_0"
data/lib/demo/simple.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "nicInfo_demoUrl" : "http://rdappilot.arin.net/restfulwhois/rdap/entity/ABC123",
2
+ "nicInfo_demoUrl" : "https://rdap.arin.net/registry/entity/ABC123",
3
3
  "nicInfo_demoHint" : "nicinfo --type entityhandle ABC123",
4
4
  "handle":"ABC123",
5
5
  "remarks":[
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nicinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newton