whois 4.1.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +8 -0
- data/.travis.yml +4 -13
- data/CHANGELOG.md +10 -2
- data/CONTRIBUTING.md +18 -6
- data/Gemfile +0 -2
- data/README.md +22 -22
- data/data/tld.json +52 -58
- data/lib/whois/version.rb +1 -1
- data/spec/spec_helper.rb +0 -5
- data/whois.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb9fa20211291994c62267b7d254509ba77b9b79bacf8035423052d17ed7d366
|
4
|
+
data.tar.gz: d7c987fcdcde95084dc1099e8cc1fe5be78fc25b850fd556dde39c38c057a1e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc78d80c44eb0cf4474d8b2d5fc732c8511482262da4a1b7b8723332ad66dba989741e05387edb8f3fe3f09751701a88e0c8f6d8726abd252b5f7f1a6f0a7bc4
|
7
|
+
data.tar.gz: 3d73aa8a5cd70949776a5e81445850aa1021432566ec9993a693968123eac399e4c9d3c3939d96bf8ed96476185fe5a23ab5d752d47dfc0c791474d933e0d40e
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# These are supported funding model platforms
|
2
|
+
|
3
|
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4
|
+
patreon: # Replace with a single Patreon username
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
6
|
+
ko_fi: weppos # Replace with a single Ko-fi username
|
7
|
+
tidelift: "rubygems/whois"
|
8
|
+
custom: https://whoisrb.org/contribute/#donate
|
data/.travis.yml
CHANGED
@@ -1,27 +1,18 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
3
|
rvm:
|
4
|
-
|
5
|
-
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
- 2.5
|
9
|
-
- 2.6
|
10
|
-
- jruby-9.1.5.0
|
4
|
+
- "2.4"
|
5
|
+
- "2.5"
|
6
|
+
- "2.6"
|
7
|
+
- "2.7"
|
11
8
|
- ruby-head
|
12
9
|
|
13
|
-
env:
|
14
|
-
- COVERALL=1
|
15
|
-
|
16
10
|
cache:
|
17
11
|
- bundler
|
18
12
|
|
19
13
|
matrix:
|
20
14
|
allow_failures:
|
21
15
|
- rvm: ruby-head
|
22
|
-
- rvm: jruby-head
|
23
|
-
- rvm: jruby-9.1.5.0
|
24
16
|
|
25
17
|
before_install:
|
26
|
-
# - rvm get latest
|
27
18
|
- gem install bundler
|
data/CHANGELOG.md
CHANGED
@@ -3,13 +3,21 @@
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](http://semver.org/).
|
4
4
|
|
5
5
|
|
6
|
+
#### Release 5.0.0
|
7
|
+
|
8
|
+
- CHANGED: Minimum Ruby version 2.5
|
9
|
+
- SERVER: Update Amazon Registry whois hosts
|
10
|
+
|
11
|
+
- FIXED: Fixed issue that prevented to query .CAT domains (GH-583).
|
12
|
+
|
13
|
+
|
6
14
|
#### Release 4.1.0
|
7
15
|
|
8
|
-
- SERVER:
|
16
|
+
- SERVER: Added .SS
|
9
17
|
- SERVER: Update .ALLFINANZ, .CAM, .DVAG, .FRESENIUS, .POHL, .TUI, .XN--VERMGENSBERATER-CTB, .XN--VERMGENSBERATUNG-PWB, .ZUERICH, .BMW, .MINI, .BABY, .DESI, .SAARLAND, .ECO
|
10
18
|
- SERVER: Deleted .DOHA
|
11
19
|
|
12
|
-
-
|
20
|
+
- CHANGED: Reduce string allocations and retentions (GH-437). Thanks @casperisfine @byroot
|
13
21
|
|
14
22
|
|
15
23
|
#### Release 4.0.8
|
data/CONTRIBUTING.md
CHANGED
@@ -4,27 +4,39 @@
|
|
4
4
|
|
5
5
|
Fork, then clone the repo:
|
6
6
|
|
7
|
-
|
7
|
+
~~~
|
8
|
+
git clone git@github.com:your-username/whois.git
|
9
|
+
~~~
|
8
10
|
|
9
11
|
Set up your machine:
|
10
12
|
|
11
|
-
|
13
|
+
~~~
|
14
|
+
bundle
|
15
|
+
~~~
|
12
16
|
|
13
17
|
Make sure the tests pass:
|
14
18
|
|
15
|
-
|
19
|
+
~~~
|
20
|
+
bundle exec rake
|
21
|
+
~~~
|
16
22
|
|
17
23
|
To propose a change/feature/patch, create your feature branch:
|
18
24
|
|
19
|
-
|
25
|
+
~~~
|
26
|
+
git checkout -b my-new-feature
|
27
|
+
~~~
|
20
28
|
|
21
29
|
Make your change. Add tests for your change. Make the tests pass:
|
22
30
|
|
23
|
-
|
31
|
+
~~~
|
32
|
+
bundle exec rake
|
33
|
+
~~~
|
24
34
|
|
25
35
|
Commit your changes:
|
26
36
|
|
27
|
-
|
37
|
+
~~~
|
38
|
+
git commit -am 'Add some feature'
|
39
|
+
~~~
|
28
40
|
|
29
41
|
Push to your fork and [submit a pull request](https://github.com/weppos/whois/compare/).
|
30
42
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -33,7 +33,7 @@ This repository contains the core whois library, that includes the WHOIS client,
|
|
33
33
|
|
34
34
|
## Requirements
|
35
35
|
|
36
|
-
|
36
|
+
- Ruby >= 2.4
|
37
37
|
|
38
38
|
For older versions of Ruby, see the [CHANGELOG](CHANGELOG.md).
|
39
39
|
|
@@ -42,25 +42,25 @@ For older versions of Ruby, see the [CHANGELOG](CHANGELOG.md).
|
|
42
42
|
|
43
43
|
You can install the gem manually:
|
44
44
|
|
45
|
-
|
45
|
+
~~~shell
|
46
46
|
gem install whois
|
47
|
-
|
47
|
+
~~~
|
48
48
|
|
49
49
|
Or use [Bundler](http://bundler.io/) and define it as a dependency in your `Gemfile`:
|
50
50
|
|
51
|
-
|
51
|
+
~~~ruby
|
52
52
|
gem 'whois'
|
53
|
-
|
53
|
+
~~~
|
54
54
|
|
55
55
|
To use the WHOIS parser component you need to install the `whois-parser` gem:
|
56
56
|
|
57
|
-
|
57
|
+
~~~shell
|
58
58
|
gem install whois-parser
|
59
|
-
|
59
|
+
~~~
|
60
60
|
|
61
|
-
|
61
|
+
~~~ruby
|
62
62
|
gem 'whois-parser'
|
63
|
-
|
63
|
+
~~~
|
64
64
|
|
65
65
|
The `whois-parser` gem already depends on the `whois` gem. If you install `whois-parser`, `whois` will be installed as well and it will also be automatically required when you `require 'whois-parser'`.
|
66
66
|
|
@@ -69,7 +69,7 @@ If you are upgrading to 4.0, see [4.0-Upgrade.md](4.0-Upgrade.md).
|
|
69
69
|
|
70
70
|
## Getting Started
|
71
71
|
|
72
|
-
|
72
|
+
This section covers only the essentials for getting started with the Whois library. The [documentation](https://whoisrb.org/docs/) provides a more accurate explanation including tutorials, more examples and technical details about the client/server/record/parser architecture.
|
73
73
|
|
74
74
|
### Querying a WHOIS
|
75
75
|
|
@@ -77,7 +77,7 @@ Note. This section covers only the essentials for getting started with the Whois
|
|
77
77
|
|
78
78
|
Check out the following examples:
|
79
79
|
|
80
|
-
|
80
|
+
~~~ruby
|
81
81
|
# Domain WHOIS
|
82
82
|
whois = Whois::Client.new
|
83
83
|
whois.lookup("google.com")
|
@@ -97,29 +97,29 @@ whois.lookup("74.125.67.100")
|
|
97
97
|
whois = Whois::Client.new
|
98
98
|
whois.lookup("2001:db8::1428:57ab")
|
99
99
|
# => #<Whois::Record>
|
100
|
-
|
100
|
+
~~~
|
101
101
|
|
102
102
|
The query method is stateless. For this reason, you can safely re-use the same client instance for multiple queries.
|
103
103
|
|
104
|
-
|
104
|
+
~~~ruby
|
105
105
|
whois = Whois::Client.new
|
106
106
|
whois.lookup("google.com")
|
107
107
|
whois.lookup(".com")
|
108
108
|
whois.lookup("74.125.67.100")
|
109
109
|
whois.lookup("2001:db8::1428:57ab")
|
110
110
|
whois.lookup("google.it")
|
111
|
-
|
111
|
+
~~~
|
112
112
|
|
113
113
|
If you just need a WHOIS response and you don't care about a full control of the WHOIS client, the `Whois` module provides an all-in-one method called `Whois.whois`. This is the simplest way to send a WHOIS request.
|
114
114
|
|
115
|
-
|
115
|
+
~~~ruby
|
116
116
|
Whois.whois("google.com")
|
117
117
|
# => #<Whois::Record>
|
118
|
-
|
118
|
+
~~~
|
119
119
|
|
120
120
|
Did I mention you can even use blocks?
|
121
121
|
|
122
|
-
|
122
|
+
~~~ruby
|
123
123
|
Whois::Client.new do |w|
|
124
124
|
w.lookup("google.com")
|
125
125
|
w.lookup(".com")
|
@@ -127,7 +127,7 @@ Whois::Client.new do |w|
|
|
127
127
|
w.lookup("2001:db8::1428:57ab")
|
128
128
|
w.lookup("google.it")
|
129
129
|
end
|
130
|
-
|
130
|
+
~~~
|
131
131
|
|
132
132
|
### Consuming the Record
|
133
133
|
|
@@ -135,7 +135,7 @@ Any WHOIS query returns a `Whois::Record`. This object looks like a String, but
|
|
135
135
|
|
136
136
|
`Whois::Record` encapsulates a WHOIS record and provides the ability to parse the WHOIS response programmatically, when the `whois-parser` gem is installed and loaded.
|
137
137
|
|
138
|
-
|
138
|
+
~~~ruby
|
139
139
|
require 'whois-parser'
|
140
140
|
|
141
141
|
record = Whois.whois("google.it")
|
@@ -162,7 +162,7 @@ tech.name
|
|
162
162
|
parser.nameservers.each do |nameserver|
|
163
163
|
puts nameserver
|
164
164
|
end
|
165
|
-
|
165
|
+
~~~
|
166
166
|
|
167
167
|
This feature is made possible by the <tt>Whois</tt> record parsers. Unfortunately, due to the lack of a global standard, each WHOIS server requires a specific parser. For this reason, the library doesn't support all existing WHOIS servers.
|
168
168
|
|
@@ -174,14 +174,14 @@ By default, each query run though the client has a timeout value of 5 seconds. I
|
|
174
174
|
|
175
175
|
Of course, you can customize the timeout value setting a different value. If timeout is `nil`, the client will wait until the response is sent back from the server or the process is killed. Don't disable the timeout unless you really know what you are doing!
|
176
176
|
|
177
|
-
|
177
|
+
~~~ruby
|
178
178
|
whois = Whois::Client.new(:timeout => 10)
|
179
179
|
whois.timeout # => 10
|
180
180
|
whois.timeout = 5
|
181
181
|
whois.timeout # => 5
|
182
182
|
|
183
183
|
whois.lookup("google.com")
|
184
|
-
|
184
|
+
~~~
|
185
185
|
|
186
186
|
|
187
187
|
## Credits
|
data/data/tld.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_": {
|
3
3
|
"schema": "2",
|
4
|
-
"updated": "2019-
|
4
|
+
"updated": "2019-09-19 11:00:00 UTC"
|
5
5
|
},
|
6
6
|
"aaa": {
|
7
7
|
"_type": "newgtld",
|
@@ -366,7 +366,7 @@
|
|
366
366
|
"audible": {
|
367
367
|
"_group": "amazonregistry",
|
368
368
|
"_type": "newgtld",
|
369
|
-
"
|
369
|
+
"host": "whois.nic.audible"
|
370
370
|
},
|
371
371
|
"audio": {
|
372
372
|
"_group": "uniregistry",
|
@@ -380,7 +380,7 @@
|
|
380
380
|
"author": {
|
381
381
|
"_group": "amazonregistry",
|
382
382
|
"_type": "newgtld",
|
383
|
-
"
|
383
|
+
"host": "whois.nic.author"
|
384
384
|
},
|
385
385
|
"auto": {
|
386
386
|
"_group": "uniregistry",
|
@@ -403,7 +403,7 @@
|
|
403
403
|
"aws": {
|
404
404
|
"_group": "amazonregistry",
|
405
405
|
"_type": "newgtld",
|
406
|
-
"
|
406
|
+
"host": "whois.nic.aws"
|
407
407
|
},
|
408
408
|
"ax": {
|
409
409
|
"host": "whois.ax"
|
@@ -698,7 +698,7 @@
|
|
698
698
|
"book": {
|
699
699
|
"_group": "amazonregistry",
|
700
700
|
"_type": "newgtld",
|
701
|
-
"
|
701
|
+
"host": "whois.nic.book"
|
702
702
|
},
|
703
703
|
"booking": {
|
704
704
|
"_type": "newgtld",
|
@@ -721,7 +721,7 @@
|
|
721
721
|
"bot": {
|
722
722
|
"_group": "amazonregistry",
|
723
723
|
"_type": "newgtld",
|
724
|
-
"
|
724
|
+
"host": "whois.nic.bot"
|
725
725
|
},
|
726
726
|
"boutique": {
|
727
727
|
"_group": "donuts",
|
@@ -797,7 +797,7 @@
|
|
797
797
|
"buy": {
|
798
798
|
"_group": "amazonregistry",
|
799
799
|
"_type": "newgtld",
|
800
|
-
"host": "whois.
|
800
|
+
"host": "whois.nic.buy"
|
801
801
|
},
|
802
802
|
"buzz": {
|
803
803
|
"_type": "newgtld",
|
@@ -850,7 +850,7 @@
|
|
850
850
|
"call": {
|
851
851
|
"_group": "amazonregistry",
|
852
852
|
"_type": "newgtld",
|
853
|
-
"
|
853
|
+
"host": "whois.nic.call"
|
854
854
|
},
|
855
855
|
"calvinklein": {
|
856
856
|
"_type": "newgtld",
|
@@ -957,9 +957,7 @@
|
|
957
957
|
"host": "whois.nic.casino"
|
958
958
|
},
|
959
959
|
"cat": {
|
960
|
-
"host": "whois.nic.cat"
|
961
|
-
"adapter": "formatted",
|
962
|
-
"format": "-C US-ASCII ace %s"
|
960
|
+
"host": "whois.nic.cat"
|
963
961
|
},
|
964
962
|
"catering": {
|
965
963
|
"_group": "donuts",
|
@@ -1094,7 +1092,7 @@
|
|
1094
1092
|
"circle": {
|
1095
1093
|
"_group": "amazonregistry",
|
1096
1094
|
"_type": "newgtld",
|
1097
|
-
"
|
1095
|
+
"host": "whois.nic.cirle"
|
1098
1096
|
},
|
1099
1097
|
"cisco": {
|
1100
1098
|
"_type": "newgtld",
|
@@ -1404,7 +1402,7 @@
|
|
1404
1402
|
"coupon": {
|
1405
1403
|
"_group": "amazonregistry",
|
1406
1404
|
"_type": "newgtld",
|
1407
|
-
"
|
1405
|
+
"host": "whois.nic.coupon"
|
1408
1406
|
},
|
1409
1407
|
"coupons": {
|
1410
1408
|
"_group": "donuts",
|
@@ -1556,7 +1554,7 @@
|
|
1556
1554
|
"deal": {
|
1557
1555
|
"_group": "amazonregistry",
|
1558
1556
|
"_type": "newgtld",
|
1559
|
-
"
|
1557
|
+
"host": "whois.nic.deal"
|
1560
1558
|
},
|
1561
1559
|
"dealer": {
|
1562
1560
|
"_type": "newgtld",
|
@@ -1981,7 +1979,7 @@
|
|
1981
1979
|
"fast": {
|
1982
1980
|
"_group": "amazonregistry",
|
1983
1981
|
"_type": "newgtld",
|
1984
|
-
"
|
1982
|
+
"host": "whois.nic.fast"
|
1985
1983
|
},
|
1986
1984
|
"fedex": {
|
1987
1985
|
"_group": "afiliassrs",
|
@@ -2041,7 +2039,7 @@
|
|
2041
2039
|
"fire": {
|
2042
2040
|
"_group": "amazonregistry",
|
2043
2041
|
"_type": "newgtld",
|
2044
|
-
"
|
2042
|
+
"host": "whois.nic.fire"
|
2045
2043
|
},
|
2046
2044
|
"firestone": {
|
2047
2045
|
"_type": "newgtld",
|
@@ -2154,7 +2152,7 @@
|
|
2154
2152
|
},
|
2155
2153
|
"fox": {
|
2156
2154
|
"_type": "newgtld",
|
2157
|
-
"
|
2155
|
+
"host": "whois.nic.fox"
|
2158
2156
|
},
|
2159
2157
|
"fr": {
|
2160
2158
|
"host": "whois.nic.fr"
|
@@ -2217,7 +2215,7 @@
|
|
2217
2215
|
"free": {
|
2218
2216
|
"_group": "amazonregistry",
|
2219
2217
|
"_type": "newgtld",
|
2220
|
-
"
|
2218
|
+
"host": "whois.nic.free"
|
2221
2219
|
},
|
2222
2220
|
"fresenius": {
|
2223
2221
|
"_group": "ksregistry",
|
@@ -2494,7 +2492,7 @@
|
|
2494
2492
|
"got": {
|
2495
2493
|
"_group": "amazonregistry",
|
2496
2494
|
"_type": "newgtld",
|
2497
|
-
"
|
2495
|
+
"host": "whois.nic.got"
|
2498
2496
|
},
|
2499
2497
|
"gov": {
|
2500
2498
|
"host": "whois.dotgov.gov"
|
@@ -2735,10 +2733,6 @@
|
|
2735
2733
|
"_type": "newgtld",
|
2736
2734
|
"host": "whois.nic.honda"
|
2737
2735
|
},
|
2738
|
-
"honeywell": {
|
2739
|
-
"_type": "newgtld",
|
2740
|
-
"adapter": "none"
|
2741
|
-
},
|
2742
2736
|
"horse": {
|
2743
2737
|
"_group": "mmregistry",
|
2744
2738
|
"_type": "newgtld",
|
@@ -2761,7 +2755,7 @@
|
|
2761
2755
|
"hot": {
|
2762
2756
|
"_group": "amazonregistry",
|
2763
2757
|
"_type": "newgtld",
|
2764
|
-
"
|
2758
|
+
"host": "whois.nic.hot"
|
2765
2759
|
},
|
2766
2760
|
"hoteles": {
|
2767
2761
|
"_type": "newgtld",
|
@@ -2860,7 +2854,7 @@
|
|
2860
2854
|
"imdb": {
|
2861
2855
|
"_group": "amazonregistry",
|
2862
2856
|
"_type": "newgtld",
|
2863
|
-
"
|
2857
|
+
"host": "whois.nic.imdb"
|
2864
2858
|
},
|
2865
2859
|
"immo": {
|
2866
2860
|
"_group": "donuts",
|
@@ -3069,12 +3063,12 @@
|
|
3069
3063
|
"jot": {
|
3070
3064
|
"_group": "amazonregistry",
|
3071
3065
|
"_type": "newgtld",
|
3072
|
-
"
|
3066
|
+
"host": "whois.nic.jot"
|
3073
3067
|
},
|
3074
3068
|
"joy": {
|
3075
3069
|
"_group": "amazonregistry",
|
3076
3070
|
"_type": "newgtld",
|
3077
|
-
"
|
3071
|
+
"host": "whois.nic.joy"
|
3078
3072
|
},
|
3079
3073
|
"jp": {
|
3080
3074
|
"host": "whois.jprs.jp",
|
@@ -3153,7 +3147,7 @@
|
|
3153
3147
|
"kindle": {
|
3154
3148
|
"_group": "amazonregistry",
|
3155
3149
|
"_type": "newgtld",
|
3156
|
-
"
|
3150
|
+
"host": "whois.nic.kindle"
|
3157
3151
|
},
|
3158
3152
|
"kitchen": {
|
3159
3153
|
"_group": "donuts",
|
@@ -3378,7 +3372,7 @@
|
|
3378
3372
|
"like": {
|
3379
3373
|
"_group": "amazonregistry",
|
3380
3374
|
"_type": "newgtld",
|
3381
|
-
"
|
3375
|
+
"host": "whois.nic.like"
|
3382
3376
|
},
|
3383
3377
|
"lilly": {
|
3384
3378
|
"_type": "newgtld",
|
@@ -3764,7 +3758,7 @@
|
|
3764
3758
|
"moi": {
|
3765
3759
|
"_group": "amazonregistry",
|
3766
3760
|
"_type": "newgtld",
|
3767
|
-
"
|
3761
|
+
"host": "whois.nic.moi"
|
3768
3762
|
},
|
3769
3763
|
"mom": {
|
3770
3764
|
"_group": "uniregistry",
|
@@ -4088,12 +4082,12 @@
|
|
4088
4082
|
"now": {
|
4089
4083
|
"_group": "amazonregistry",
|
4090
4084
|
"_type": "newgtld",
|
4091
|
-
"
|
4085
|
+
"host": "whois.nic.now"
|
4092
4086
|
},
|
4093
4087
|
"nowruz": {
|
4094
4088
|
"_group": "agitsys",
|
4095
4089
|
"_type": "newgtld",
|
4096
|
-
"host": "whois.
|
4090
|
+
"host": "whois.nic.nowruz"
|
4097
4091
|
},
|
4098
4092
|
"nowtv": {
|
4099
4093
|
"_group": "afiliassrs",
|
@@ -4299,7 +4293,7 @@
|
|
4299
4293
|
"pars": {
|
4300
4294
|
"_group": "agitsys",
|
4301
4295
|
"_type": "newgtld",
|
4302
|
-
"host": "whois.
|
4296
|
+
"host": "whois.nic.pars"
|
4303
4297
|
},
|
4304
4298
|
"partners": {
|
4305
4299
|
"_group": "donuts",
|
@@ -4322,7 +4316,7 @@
|
|
4322
4316
|
"pay": {
|
4323
4317
|
"_group": "amazonregistry",
|
4324
4318
|
"_type": "newgtld",
|
4325
|
-
"
|
4319
|
+
"host": "whois.nic.pay"
|
4326
4320
|
},
|
4327
4321
|
"pccw": {
|
4328
4322
|
"_group": "afiliassrs",
|
@@ -4414,7 +4408,7 @@
|
|
4414
4408
|
"pin": {
|
4415
4409
|
"_group": "amazonregistry",
|
4416
4410
|
"_type": "newgtld",
|
4417
|
-
"
|
4411
|
+
"host": "whois.nic.pin"
|
4418
4412
|
},
|
4419
4413
|
"ping": {
|
4420
4414
|
"_type": "newgtld",
|
@@ -4523,7 +4517,7 @@
|
|
4523
4517
|
"prime": {
|
4524
4518
|
"_group": "amazonregistry",
|
4525
4519
|
"_type": "newgtld",
|
4526
|
-
"
|
4520
|
+
"host": "whois.nic.prime"
|
4527
4521
|
},
|
4528
4522
|
"pro": {
|
4529
4523
|
"host": "whois.afilias.net"
|
@@ -4636,7 +4630,7 @@
|
|
4636
4630
|
"read": {
|
4637
4631
|
"_group": "amazonregistry",
|
4638
4632
|
"_type": "newgtld",
|
4639
|
-
"
|
4633
|
+
"host": "whois.nic.read"
|
4640
4634
|
},
|
4641
4635
|
"realestate": {
|
4642
4636
|
"_type": "newgtld",
|
@@ -4809,7 +4803,7 @@
|
|
4809
4803
|
"room": {
|
4810
4804
|
"_group": "amazonregistry",
|
4811
4805
|
"_type": "newgtld",
|
4812
|
-
"
|
4806
|
+
"host": "whois.nic.room"
|
4813
4807
|
},
|
4814
4808
|
"rs": {
|
4815
4809
|
"host": "whois.rnids.rs"
|
@@ -4861,7 +4855,7 @@
|
|
4861
4855
|
"safe": {
|
4862
4856
|
"_group": "amazonregistry",
|
4863
4857
|
"_type": "newgtld",
|
4864
|
-
"
|
4858
|
+
"host": "whois.nic.safe"
|
4865
4859
|
},
|
4866
4860
|
"safety": {
|
4867
4861
|
"_type": "newgtld",
|
@@ -4917,7 +4911,7 @@
|
|
4917
4911
|
"save": {
|
4918
4912
|
"_group": "amazonregistry",
|
4919
4913
|
"_type": "newgtld",
|
4920
|
-
"
|
4914
|
+
"host": "whois.nic.save"
|
4921
4915
|
},
|
4922
4916
|
"saxo": {
|
4923
4917
|
"_group": "aridnrs",
|
@@ -5016,7 +5010,7 @@
|
|
5016
5010
|
"secure": {
|
5017
5011
|
"_group": "amazonregistry",
|
5018
5012
|
"_type": "newgtld",
|
5019
|
-
"
|
5013
|
+
"host": "whois.nic.secure"
|
5020
5014
|
},
|
5021
5015
|
"security": {
|
5022
5016
|
"_group": "centralnic",
|
@@ -5094,7 +5088,7 @@
|
|
5094
5088
|
"shia": {
|
5095
5089
|
"_group": "agitsys",
|
5096
5090
|
"_type": "newgtld",
|
5097
|
-
"host": "whois.
|
5091
|
+
"host": "whois.nic.shia"
|
5098
5092
|
},
|
5099
5093
|
"shiksha": {
|
5100
5094
|
"_group": "afilias",
|
@@ -5141,7 +5135,7 @@
|
|
5141
5135
|
"silk": {
|
5142
5136
|
"_group": "amazonregistry",
|
5143
5137
|
"_type": "newgtld",
|
5144
|
-
"
|
5138
|
+
"host": "whois.nic.silk"
|
5145
5139
|
},
|
5146
5140
|
"sina": {
|
5147
5141
|
"_group": "afiliassrs",
|
@@ -5200,7 +5194,7 @@
|
|
5200
5194
|
"smile": {
|
5201
5195
|
"_group": "amazonregistry",
|
5202
5196
|
"_type": "newgtld",
|
5203
|
-
"
|
5197
|
+
"host": "whois.nic.smile"
|
5204
5198
|
},
|
5205
5199
|
"sn": {
|
5206
5200
|
"host": "whois.nic.sn"
|
@@ -5249,7 +5243,7 @@
|
|
5249
5243
|
"song": {
|
5250
5244
|
"_group": "amazonregistry",
|
5251
5245
|
"_type": "newgtld",
|
5252
|
-
"
|
5246
|
+
"host": "whois.nic.song"
|
5253
5247
|
},
|
5254
5248
|
"sony": {
|
5255
5249
|
"_type": "newgtld",
|
@@ -5272,7 +5266,7 @@
|
|
5272
5266
|
"spot": {
|
5273
5267
|
"_group": "amazonregistry",
|
5274
5268
|
"_type": "newgtld",
|
5275
|
-
"
|
5269
|
+
"host": "whois.nic.spot"
|
5276
5270
|
},
|
5277
5271
|
"spreadbetting": {
|
5278
5272
|
"_type": "newgtld",
|
@@ -5451,7 +5445,7 @@
|
|
5451
5445
|
"talk": {
|
5452
5446
|
"_group": "amazonregistry",
|
5453
5447
|
"_type": "newgtld",
|
5454
|
-
"
|
5448
|
+
"host": "whois.nic.talk"
|
5455
5449
|
},
|
5456
5450
|
"taobao": {
|
5457
5451
|
"_type": "newgtld",
|
@@ -5490,7 +5484,7 @@
|
|
5490
5484
|
"tci": {
|
5491
5485
|
"_group": "agitsys",
|
5492
5486
|
"_type": "newgtld",
|
5493
|
-
"host": "whois.
|
5487
|
+
"host": "whois.nic.tci"
|
5494
5488
|
},
|
5495
5489
|
"td": {
|
5496
5490
|
"adapter": "web",
|
@@ -5740,12 +5734,12 @@
|
|
5740
5734
|
"tunes": {
|
5741
5735
|
"_group": "amazonregistry",
|
5742
5736
|
"_type": "newgtld",
|
5743
|
-
"
|
5737
|
+
"host": "whois.nic.tunes"
|
5744
5738
|
},
|
5745
5739
|
"tushu": {
|
5746
5740
|
"_group": "amazonregistry",
|
5747
5741
|
"_type": "newgtld",
|
5748
|
-
"
|
5742
|
+
"host": "whois.nic.tushu"
|
5749
5743
|
},
|
5750
5744
|
"tv": {
|
5751
5745
|
"host": "tvwhois.verisign-grs.com",
|
@@ -6038,7 +6032,7 @@
|
|
6038
6032
|
"wanggou": {
|
6039
6033
|
"_group": "amazonregistry",
|
6040
6034
|
"_type": "newgtld",
|
6041
|
-
"
|
6035
|
+
"host": "whois.nic.wanggou"
|
6042
6036
|
},
|
6043
6037
|
"warman": {
|
6044
6038
|
"_type": "newgtld",
|
@@ -6159,7 +6153,7 @@
|
|
6159
6153
|
"wow": {
|
6160
6154
|
"_group": "amazonregistry",
|
6161
6155
|
"_type": "newgtld",
|
6162
|
-
"
|
6156
|
+
"host": "whois.nic.wow"
|
6163
6157
|
},
|
6164
6158
|
"ws": {
|
6165
6159
|
"host": "whois.website.ws"
|
@@ -6620,7 +6614,7 @@
|
|
6620
6614
|
"xn--mgbt3dhd": {
|
6621
6615
|
"_group": "agitsys",
|
6622
6616
|
"_type": "newgtld",
|
6623
|
-
"host": "whois.
|
6617
|
+
"host": "whois.nic.xn--mgbt3dhd"
|
6624
6618
|
},
|
6625
6619
|
"xn--mgbtx2b": {
|
6626
6620
|
"host": "whois.cmc.iq"
|
@@ -6822,7 +6816,7 @@
|
|
6822
6816
|
"yamaxun": {
|
6823
6817
|
"_group": "amazonregistry",
|
6824
6818
|
"_type": "newgtld",
|
6825
|
-
"
|
6819
|
+
"host": "whois.nic.yamaxun"
|
6826
6820
|
},
|
6827
6821
|
"yandex": {
|
6828
6822
|
"_type": "newgtld",
|
@@ -6848,7 +6842,7 @@
|
|
6848
6842
|
"you": {
|
6849
6843
|
"_group": "amazonregistry",
|
6850
6844
|
"_type": "newgtld",
|
6851
|
-
"
|
6845
|
+
"host": "whois.nic.you"
|
6852
6846
|
},
|
6853
6847
|
"youtube": {
|
6854
6848
|
"_group": "google",
|
@@ -6890,7 +6884,7 @@
|
|
6890
6884
|
"zappos": {
|
6891
6885
|
"_group": "amazonregistry",
|
6892
6886
|
"_type": "newgtld",
|
6893
|
-
"
|
6887
|
+
"host": "whois.nic.zappos"
|
6894
6888
|
},
|
6895
6889
|
"zara": {
|
6896
6890
|
"_group": "afiliassrs",
|
@@ -6900,7 +6894,7 @@
|
|
6900
6894
|
"zero": {
|
6901
6895
|
"_group": "amazonregistry",
|
6902
6896
|
"_type": "newgtld",
|
6903
|
-
"
|
6897
|
+
"host": "whois.nic.zero"
|
6904
6898
|
},
|
6905
6899
|
"zip": {
|
6906
6900
|
"_group": "google",
|
@@ -6908,7 +6902,7 @@
|
|
6908
6902
|
"host": "whois.nic.google"
|
6909
6903
|
},
|
6910
6904
|
"zm": {
|
6911
|
-
"host": "whois.
|
6905
|
+
"host": "whois.zicta.zm"
|
6912
6906
|
},
|
6913
6907
|
"zone": {
|
6914
6908
|
"_group": "donuts",
|
data/lib/whois/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/whois.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = 'Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library.'
|
13
13
|
s.license = 'MIT'
|
14
14
|
|
15
|
-
s.required_ruby_version = '>= 2.
|
15
|
+
s.required_ruby_version = '>= 2.4'
|
16
16
|
|
17
17
|
s.require_paths = %w( lib )
|
18
18
|
s.executables =%w( whoisrb )
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whois
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -64,6 +64,7 @@ extra_rdoc_files:
|
|
64
64
|
- LICENSE.txt
|
65
65
|
- ".yardopts"
|
66
66
|
files:
|
67
|
+
- ".github/FUNDING.yml"
|
67
68
|
- ".gitignore"
|
68
69
|
- ".rspec"
|
69
70
|
- ".simplecov"
|
@@ -153,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
154
|
requirements:
|
154
155
|
- - ">="
|
155
156
|
- !ruby/object:Gem::Version
|
156
|
-
version: 2.
|
157
|
+
version: '2.4'
|
157
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
159
|
requirements:
|
159
160
|
- - ">="
|