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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92710752e40c09411abd997d9476c3095398eb3a
4
- data.tar.gz: 77a5b04868616c15d5f5371e7dace6f333ec6e60
3
+ metadata.gz: 00a7f1fb8c7f336891d329dc9c7a38bd47debb6b
4
+ data.tar.gz: fe1267727a6dbab5f7ae76b9f776031c774e582f
5
5
  SHA512:
6
- metadata.gz: 68cac8c97cc721963cd46ab4c2161ba944139ae03345cd1bf7dd705305ae59fe9f895191b6677f3e0f79028a52449d152e91c18ed02c3066402c0d2307fae71c
7
- data.tar.gz: 52a83068bb801a2c0c8269302de09dc80d556358496fe192e8c0cf88fd9ceaf0c402de9456bea0d0c53a2d2210ebcb0645a83114740b9dc32172518afb4c42ab
6
+ metadata.gz: 97ef820e23ba7ec85adea3caabde6656907e4082d04863037f9cf3a25fe4926e12a0a71608ed76df581cb6abe42d06f2fa30dc664d020797828ef27a5f36338e
7
+ data.tar.gz: fbf8150597d15237494c3e245c5298c2862f01169a61f1d28ad8c5b97e4ba273f94a2e574ae91bc16e9fb9f8ea955495a938d9d7cc39f7a45727b9ef5a868992
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  # Specify your gem's dependencies in foreplay.gemspec
data/Guardfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  guard :rubocop do
2
3
  watch(/.+\.rb$/)
3
4
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
data/Rakefile CHANGED
@@ -1 +1,2 @@
1
+ # frozen_string_literal: true
1
2
  require 'bundler/gem_tasks'
data/bin/ssl_doctor.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
  # Usage: ruby doctor.rb [HOST=status.github.com[:PORT=443]]
3
4
  require 'rbconfig'
4
5
  require 'net/https'
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.2'
25
- spec.add_development_dependency 'gem-release', '~> 0.7'
26
- spec.add_development_dependency 'simplecov', '~> 0.10'
27
- spec.add_development_dependency 'coveralls', '~> 0.8'
28
- spec.add_development_dependency 'vcr', '~> 2.9'
29
- spec.add_development_dependency 'webmock', '~> 1.21'
30
- spec.add_development_dependency 'byebug', '~> 5.0'
31
- spec.add_development_dependency 'rubocop', '~> 0.31'
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.12'
34
- spec.add_development_dependency 'guard-rspec', '~> 4.5'
35
- spec.add_development_dependency 'guard-rubocop', '~> 1.2'
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
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module ContactData
3
4
  class Contact
4
5
  BASE = :contacts
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module ContactData
3
4
  class Deprecated
4
5
  class << self
@@ -1,8 +1,9 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module ContactData
3
4
  class Exception < RuntimeError
4
5
  end
5
6
 
6
- class FetchError < Exception
7
+ class FetchError < RuntimeError
7
8
  end
8
9
  end
@@ -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'.freeze
13
+ API = 'api/v2'
13
14
 
14
15
  LOGLEVEL = Logger::WARN
15
16
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module ContactData
3
4
  class Link
4
5
  extend ContactData
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module ContactData
2
3
  class Text
3
4
  class Results
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'contact-data/text/results'
3
4
 
4
5
  module ContactData
@@ -1,4 +1,5 @@
1
+ # frozen_string_literal: true
1
2
  # Gem version
2
3
  module ContactData
3
- VERSION = '0.4.9'.freeze
4
+ VERSION = '0.4.10'
4
5
  end
data/lib/contact-data.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'contact-data/contact'
3
4
  require 'contact-data/link'
4
5
  require 'contact-data/text'
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'spec_helper'
3
4
  require 'contact-data'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'spec_helper'
3
4
  require 'contact-data'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'spec_helper'
3
4
  require 'contact-data'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'spec_helper'
3
4
  require 'contact-data'
4
5
 
data/spec/fetcher_spec.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'spec_helper'
3
4
  require 'contact-data'
4
5
 
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'simplecov'
2
3
  require 'coveralls'
3
4
  SimpleCov.start
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'vcr'
2
3
 
3
4
  VCR.configure do |c|
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.9
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-06-24 00:00:00.000000000 Z
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.2'
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.2'
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.7'
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.7'
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.10'
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.10'
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.8'
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.8'
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.9'
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.9'
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.21'
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.21'
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.0'
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.0'
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.31'
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.31'
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.12'
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.12'
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.5'
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.5'
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.2'
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.2'
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