contact-data 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Guardfile +1 -0
- data/Rakefile +1 -0
- data/bin/ssl_doctor.rb +1 -0
- data/contact-data.gemspec +12 -11
- data/lib/contact-data/contact.rb +1 -0
- data/lib/contact-data/deprecated.rb +1 -0
- data/lib/contact-data/exception.rb +2 -1
- data/lib/contact-data/fetcher.rb +2 -1
- data/lib/contact-data/link.rb +1 -0
- data/lib/contact-data/text/results.rb +1 -0
- data/lib/contact-data/text.rb +1 -0
- data/lib/contact-data/version.rb +2 -1
- data/lib/contact-data.rb +1 -0
- data/spec/contact-data_contact_spec.rb +1 -0
- data/spec/contact-data_deprecated_spec.rb +1 -0
- data/spec/contact-data_link_spec.rb +1 -0
- data/spec/contact-data_text_spec.rb +1 -0
- data/spec/fetcher_spec.rb +1 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/support/vcr_setup.rb +1 -0
- metadata +24 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00a7f1fb8c7f336891d329dc9c7a38bd47debb6b
|
4
|
+
data.tar.gz: fe1267727a6dbab5f7ae76b9f776031c774e582f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97ef820e23ba7ec85adea3caabde6656907e4082d04863037f9cf3a25fe4926e12a0a71608ed76df581cb6abe42d06f2fa30dc664d020797828ef27a5f36338e
|
7
|
+
data.tar.gz: fbf8150597d15237494c3e245c5298c2862f01169a61f1d28ad8c5b97e4ba273f94a2e574ae91bc16e9fb9f8ea955495a938d9d7cc39f7a45727b9ef5a868992
|
data/Gemfile
CHANGED
data/Guardfile
CHANGED
data/Rakefile
CHANGED
data/bin/ssl_doctor.rb
CHANGED
data/contact-data.gemspec
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
lib = File.expand_path('../lib', __FILE__)
|
2
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
4
|
require 'contact-data/version'
|
@@ -21,16 +22,16 @@ Gem::Specification.new do |spec|
|
|
21
22
|
spec.add_runtime_dependency 'addressable', '~> 2.3'
|
22
23
|
|
23
24
|
spec.add_development_dependency 'rake', '~> 11'
|
24
|
-
spec.add_development_dependency 'rspec', '~> 3
|
25
|
-
spec.add_development_dependency 'gem-release', '~> 0
|
26
|
-
spec.add_development_dependency 'simplecov', '~> 0
|
27
|
-
spec.add_development_dependency 'coveralls', '~> 0
|
28
|
-
spec.add_development_dependency 'vcr', '~> 2
|
29
|
-
spec.add_development_dependency 'webmock', '~> 1
|
30
|
-
spec.add_development_dependency 'byebug', '~> 5
|
31
|
-
spec.add_development_dependency 'rubocop', '~> 0
|
25
|
+
spec.add_development_dependency 'rspec', '~> 3'
|
26
|
+
spec.add_development_dependency 'gem-release', '~> 0'
|
27
|
+
spec.add_development_dependency 'simplecov', '~> 0'
|
28
|
+
spec.add_development_dependency 'coveralls', '~> 0'
|
29
|
+
spec.add_development_dependency 'vcr', '~> 2'
|
30
|
+
spec.add_development_dependency 'webmock', '~> 1'
|
31
|
+
spec.add_development_dependency 'byebug', '~> 5'
|
32
|
+
spec.add_development_dependency 'rubocop', '~> 0'
|
32
33
|
spec.add_development_dependency 'listen', '~> 3.0', '< 3.1' # Dependency of guard, 3.1 requires Ruby 2.2+
|
33
|
-
spec.add_development_dependency 'guard', '~> 2
|
34
|
-
spec.add_development_dependency 'guard-rspec', '~> 4
|
35
|
-
spec.add_development_dependency 'guard-rubocop', '~> 1
|
34
|
+
spec.add_development_dependency 'guard', '~> 2'
|
35
|
+
spec.add_development_dependency 'guard-rspec', '~> 4'
|
36
|
+
spec.add_development_dependency 'guard-rubocop', '~> 1'
|
36
37
|
end
|
data/lib/contact-data/contact.rb
CHANGED
data/lib/contact-data/fetcher.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
2
3
|
require 'logger'
|
3
4
|
require 'json'
|
4
5
|
require 'rest-client'
|
@@ -9,7 +10,7 @@ module ContactData
|
|
9
10
|
attr_reader :http_method, :api_method, :options
|
10
11
|
|
11
12
|
URL = ENV['XENDATA_URL'] || 'http://public.xenapto.com'
|
12
|
-
API = 'api/v2'
|
13
|
+
API = 'api/v2'
|
13
14
|
|
14
15
|
LOGLEVEL = Logger::WARN
|
15
16
|
|
data/lib/contact-data/link.rb
CHANGED
data/lib/contact-data/text.rb
CHANGED
data/lib/contact-data/version.rb
CHANGED
data/lib/contact-data.rb
CHANGED
data/spec/fetcher_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/support/vcr_setup.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contact-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xenapto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -58,112 +58,112 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3
|
61
|
+
version: '3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3
|
68
|
+
version: '3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gem-release
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: coveralls
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: vcr
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '2
|
117
|
+
version: '2'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '2
|
124
|
+
version: '2'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: webmock
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1
|
131
|
+
version: '1'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1
|
138
|
+
version: '1'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: byebug
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '5
|
145
|
+
version: '5'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '5
|
152
|
+
version: '5'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0
|
159
|
+
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0
|
166
|
+
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: listen
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,42 +190,42 @@ dependencies:
|
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '2
|
193
|
+
version: '2'
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - "~>"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: '2
|
200
|
+
version: '2'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: guard-rspec
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: '4
|
207
|
+
version: '4'
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: '4
|
214
|
+
version: '4'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: guard-rubocop
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - "~>"
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: '1
|
221
|
+
version: '1'
|
222
222
|
type: :development
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '1
|
228
|
+
version: '1'
|
229
229
|
description: A Ruby gem to retrieve data about people and organizations from http://public.xenapto.com
|
230
230
|
email:
|
231
231
|
- developers@xenapto.com
|