whoisxmlapi 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +15 -18
- data/lib/whoisxmlapi/contact.rb +5 -0
- data/lib/whoisxmlapi/result.rb +6 -0
- data/lib/whoisxmlapi/rwhois_result.rb +6 -0
- data/lib/whoisxmlapi/version.rb +1 -1
- metadata +5 -19
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NTRhNzY0ZjZkNTliYzBmNzJlYzM3NjE5N2YxODE1N2VmZWE2Y2QzZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NmQxYWY5OTg0NzFjMDcwNmY2NGJhYWJlOWNhZDFiNzU2MTBlNzQ5Nw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
M2U5YzM1NWIzZjI1MWFhOWVkNTZjZGIzMDM0MTgxMTAyMWI3YzM4NjljNjA0
|
10
|
+
NjJjNWEyM2JlZThiMjEyNTkxYzQyNzJlYzVkYmJjNmE2MTBlYzQxM2JlNGM0
|
11
|
+
Zjg5YWI3ZmY0M2U3NDY3NDAyYmYwOTVmZTIwOGVlZjAxOWRhYmI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OWJmN2FiYzVlNWM0ODI2ODlmMWYwNzJlMGM2NGJhZTNjZjQ0YTk1NTRiMzFk
|
14
|
+
NGM0ZDNiZjMyYTE2N2UwMzMxNTk0MDI0M2JjNGQ5ZDIxNzkyMzM4YmJjYjQx
|
15
|
+
MmEyNGJkMDMyNTU2NjhmMGRiNmMyZjNjMTE1MjEzNDA2ZTJhMmE=
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
whoisxmlapi (0.0.
|
4
|
+
whoisxmlapi (0.0.16)
|
5
5
|
activesupport (~> 3.2)
|
6
6
|
httparty
|
7
7
|
mongoid
|
@@ -10,30 +10,30 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activemodel (3.2.22)
|
14
|
-
activesupport (= 3.2.22)
|
13
|
+
activemodel (3.2.22.5)
|
14
|
+
activesupport (= 3.2.22.5)
|
15
15
|
builder (~> 3.0.0)
|
16
|
-
activesupport (3.2.22)
|
16
|
+
activesupport (3.2.22.5)
|
17
17
|
i18n (~> 0.6, >= 0.6.4)
|
18
18
|
multi_json (~> 1.0)
|
19
|
+
bson (1.6.4)
|
19
20
|
builder (3.0.4)
|
20
|
-
httparty (0.13.
|
21
|
+
httparty (0.13.7)
|
21
22
|
json (~> 1.8)
|
22
23
|
multi_xml (>= 0.5.2)
|
23
|
-
i18n (0.
|
24
|
+
i18n (0.8.1)
|
24
25
|
json (1.8.3)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
multi_json (1.
|
26
|
+
mongo (1.6.2)
|
27
|
+
bson (~> 1.6.2)
|
28
|
+
mongoid (2.4.12)
|
29
|
+
activemodel (~> 3.1)
|
30
|
+
mongo (<= 1.6.2)
|
31
|
+
tzinfo (~> 0.3.22)
|
32
|
+
multi_json (1.12.1)
|
32
33
|
multi_xml (0.5.5)
|
33
|
-
origin (1.1.0)
|
34
34
|
public_suffix (1.4.6)
|
35
35
|
rake (10.4.2)
|
36
|
-
tzinfo (0.3.
|
36
|
+
tzinfo (0.3.53)
|
37
37
|
|
38
38
|
PLATFORMS
|
39
39
|
ruby
|
@@ -42,6 +42,3 @@ DEPENDENCIES
|
|
42
42
|
bundler (~> 1.3)
|
43
43
|
rake
|
44
44
|
whoisxmlapi!
|
45
|
-
|
46
|
-
BUNDLED WITH
|
47
|
-
1.10.6
|
data/lib/whoisxmlapi/contact.rb
CHANGED
@@ -4,6 +4,11 @@ module WhoisXMLAPI
|
|
4
4
|
include Mongoid::Timestamps
|
5
5
|
|
6
6
|
belongs_to :contactable, :polymorphic => true
|
7
|
+
# Actual indexing is performed in db_mongoid_extend.rake
|
8
|
+
index([
|
9
|
+
[ :contactable_id, Mongo::ASCENDING ],
|
10
|
+
[ :contactable_type, Mongo::ASCENDING ]
|
11
|
+
])
|
7
12
|
|
8
13
|
field :name
|
9
14
|
field :organization
|
data/lib/whoisxmlapi/result.rb
CHANGED
@@ -20,6 +20,12 @@ module WhoisXMLAPI
|
|
20
20
|
has_one :billing, :as => :contactable, :class_name => "WhoisXMLAPI::Contact", :autosave => true
|
21
21
|
|
22
22
|
belongs_to :whoisable, :polymorphic => true
|
23
|
+
# Actual indexing is performed in db_mongoid_extend.rake
|
24
|
+
index([
|
25
|
+
[ :whoisable_id, Mongo::ASCENDING ],
|
26
|
+
[ :whoisable_type, Mongo::ASCENDING ]
|
27
|
+
])
|
28
|
+
|
23
29
|
|
24
30
|
def parse(record)
|
25
31
|
self.domain = record['domainName']
|
@@ -4,6 +4,12 @@ module WhoisXMLAPI
|
|
4
4
|
include Mongoid::Timestamps
|
5
5
|
|
6
6
|
belongs_to :rwhoisable, :polymorphic => true
|
7
|
+
# Actual indexing is performed in db_mongoid_extend.rake
|
8
|
+
index([
|
9
|
+
[ :rwhoisable_id, Mongo::ASCENDING ],
|
10
|
+
[ :rwhoisable_type, Mongo::ASCENDING ]
|
11
|
+
])
|
12
|
+
|
7
13
|
field :entity_name, :type => String
|
8
14
|
field :domains, :type => Array
|
9
15
|
|
data/lib/whoisxmlapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whoisxmlapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.16
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Christopher Maujean
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: activesupport
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: mongoid
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ! '>='
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ! '>='
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: httparty
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ! '>='
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -55,7 +49,6 @@ dependencies:
|
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - ! '>='
|
61
54
|
- !ruby/object:Gem::Version
|
@@ -63,7 +56,6 @@ dependencies:
|
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: public_suffix
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
60
|
- - ~>
|
69
61
|
- !ruby/object:Gem::Version
|
@@ -71,7 +63,6 @@ dependencies:
|
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
67
|
- - ~>
|
77
68
|
- !ruby/object:Gem::Version
|
@@ -79,7 +70,6 @@ dependencies:
|
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: bundler
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - ~>
|
85
75
|
- !ruby/object:Gem::Version
|
@@ -87,7 +77,6 @@ dependencies:
|
|
87
77
|
type: :development
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
81
|
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
@@ -95,7 +84,6 @@ dependencies:
|
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: rake
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
88
|
- - ! '>='
|
101
89
|
- !ruby/object:Gem::Version
|
@@ -103,7 +91,6 @@ dependencies:
|
|
103
91
|
type: :development
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
95
|
- - ! '>='
|
109
96
|
- !ruby/object:Gem::Version
|
@@ -135,26 +122,25 @@ files:
|
|
135
122
|
homepage: http://brandle.net/
|
136
123
|
licenses:
|
137
124
|
- MIT
|
125
|
+
metadata: {}
|
138
126
|
post_install_message:
|
139
127
|
rdoc_options: []
|
140
128
|
require_paths:
|
141
129
|
- lib
|
142
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
-
none: false
|
144
131
|
requirements:
|
145
132
|
- - ! '>='
|
146
133
|
- !ruby/object:Gem::Version
|
147
134
|
version: '0'
|
148
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
136
|
requirements:
|
151
137
|
- - ! '>='
|
152
138
|
- !ruby/object:Gem::Version
|
153
139
|
version: '0'
|
154
140
|
requirements: []
|
155
141
|
rubyforge_project:
|
156
|
-
rubygems_version:
|
142
|
+
rubygems_version: 2.4.8
|
157
143
|
signing_key:
|
158
|
-
specification_version:
|
144
|
+
specification_version: 4
|
159
145
|
summary: whoisxmlapi.com access
|
160
146
|
test_files: []
|