addressfinder 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Dockerfile +2 -2
- data/addressfinder.gemspec +12 -12
- data/lib/addressfinder/bulk.rb +3 -3
- data/lib/addressfinder/version.rb +1 -1
- data/spec/lib/addressfinder/v2/au/verification_spec.rb +1 -1
- data/spec/lib/addressfinder/verification_spec.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bac347ed1fa4ee45f7ff1bdc3f5fdc5bee74206fa73b1fe4d33be727f21c1b41
|
4
|
+
data.tar.gz: 44e72444624d652a166089b6c630fb739d47f77155dfaed2e8a27b88afa7bf59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 180b47e4aa74a5b09c312cc6be655bca62f9f4293f68b7c2505370dbdf2f14c2a48bf71d6523fbe1cf991bcf078745f62ba9d9f9b4e7cebdabd9b38900e111ee
|
7
|
+
data.tar.gz: 7396a52596c09359dbd3cb2facaafe6d4af4b4887be6d0c12b9de8770441ca45055bace9b4665af649793c0f482f39125b59df0e377f75c61e6380578ab258e1
|
data/CHANGELOG.md
CHANGED
data/Dockerfile
CHANGED
data/addressfinder.gemspec
CHANGED
@@ -2,25 +2,25 @@
|
|
2
2
|
require File.expand_path('../lib/addressfinder/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.name =
|
5
|
+
gem.name = 'addressfinder'
|
6
6
|
gem.version = AddressFinder::VERSION
|
7
7
|
gem.licenses = ['MIT']
|
8
|
-
gem.authors = [
|
9
|
-
gem.email = [
|
10
|
-
gem.description =
|
11
|
-
gem.summary =
|
12
|
-
gem.homepage =
|
8
|
+
gem.authors = ['Nigel Ramsay', 'Naiki Pohe', 'Sean Arnold', 'Alexandre Barret', 'Cassandre Guinut']
|
9
|
+
gem.email = ['nigel.ramsay@addressfinder.nz', 'naiki.pohe@abletech.co.nz', 'seanarnie@gmail.com', 'alex@abletech.nz', 'cassandre.guinut@addressfinder.nz']
|
10
|
+
gem.description = 'Ruby client library for AddressFinder'
|
11
|
+
gem.summary = 'Provides easy access to AddressFinder APIs'
|
12
|
+
gem.homepage = 'https://github.com/AddressFinder/addressfinder-ruby'
|
13
13
|
|
14
14
|
gem.files = `git ls-files`.split($/)
|
15
15
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
16
|
gem.test_files = gem.files.grep(%r{^(spec|features)/})
|
17
|
-
gem.require_paths = [
|
17
|
+
gem.require_paths = ['lib']
|
18
18
|
|
19
|
-
gem.required_ruby_version = '
|
20
|
-
gem.add_dependency 'multi_json', '~> 1.
|
21
|
-
gem.add_development_dependency 'rspec', '~>
|
22
|
-
gem.add_development_dependency '
|
19
|
+
gem.required_ruby_version = '>= 2.1'
|
20
|
+
gem.add_dependency 'multi_json', '~> 1.15'
|
21
|
+
gem.add_development_dependency 'guard-rspec', '~> 4.7'
|
22
|
+
gem.add_development_dependency 'listen', '~> 3.7'
|
23
23
|
gem.add_development_dependency 'rake', '~> 13.0'
|
24
|
+
gem.add_development_dependency 'rspec', '~> 3.11'
|
24
25
|
gem.add_development_dependency 'webmock', '~> 1.21'
|
25
|
-
gem.add_development_dependency 'listen', '~> 3.2'
|
26
26
|
end
|
data/lib/addressfinder/bulk.rb
CHANGED
@@ -25,14 +25,14 @@ module AddressFinder
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def cleanse(args={})
|
28
|
-
AddressFinder::Verification.new(args.merge(http: http)).perform.result
|
28
|
+
AddressFinder::Verification.new(**args.merge(http: http)).perform.result
|
29
29
|
end
|
30
30
|
|
31
31
|
def verification(args={})
|
32
32
|
if verification_version&.downcase == "v2" && (args[:country] || default_country) == 'au'
|
33
|
-
AddressFinder::V2::Au::Verification.new(args.merge(http: http)).perform.result
|
33
|
+
AddressFinder::V2::Au::Verification.new(**args.merge(http: http)).perform.result
|
34
34
|
else
|
35
|
-
AddressFinder::Verification.new(args.merge(http: http)).perform.result
|
35
|
+
AddressFinder::Verification.new(**args.merge(http: http)).perform.result
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
@@ -10,7 +10,7 @@ RSpec.describe AddressFinder::V2::Au::Verification do
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
-
let(:verification_module){ AddressFinder::V2::Au::Verification.new(args) }
|
13
|
+
let(:verification_module){ AddressFinder::V2::Au::Verification.new(**args) }
|
14
14
|
let(:http){ AddressFinder::HTTP.new(AddressFinder.configuration) }
|
15
15
|
let(:net_http){ http.send(:net_http) }
|
16
16
|
|
@@ -11,7 +11,7 @@ RSpec.describe AddressFinder::Verification do
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
let(:verification_module){ AddressFinder::Verification.new(args) }
|
14
|
+
let(:verification_module){ AddressFinder::Verification.new(**args) }
|
15
15
|
let(:http){ AddressFinder::HTTP.new(AddressFinder.configuration) }
|
16
16
|
let(:net_http){ http.send(:net_http) }
|
17
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: addressfinder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Ramsay
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: multi_json
|
@@ -20,42 +20,42 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "~>"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '1.
|
23
|
+
version: '1.15'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '1.
|
30
|
+
version: '1.15'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
|
-
name: rspec
|
32
|
+
name: guard-rspec
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
35
|
- - "~>"
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
37
|
+
version: '4.7'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - "~>"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '4.7'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
46
|
+
name: listen
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - "~>"
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '3.7'
|
52
52
|
type: :development
|
53
53
|
prerelease: false
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
56
|
- - "~>"
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '3.7'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: rake
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,33 +71,33 @@ dependencies:
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '13.0'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
|
-
name:
|
74
|
+
name: rspec
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '3.11'
|
80
80
|
type: :development
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
86
|
+
version: '3.11'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
|
-
name:
|
88
|
+
name: webmock
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
93
|
+
version: '1.21'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: '
|
100
|
+
version: '1.21'
|
101
101
|
description: Ruby client library for AddressFinder
|
102
102
|
email:
|
103
103
|
- nigel.ramsay@addressfinder.nz
|
@@ -155,7 +155,7 @@ require_paths:
|
|
155
155
|
- lib
|
156
156
|
required_ruby_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- - "
|
158
|
+
- - ">="
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '2.1'
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
167
|
+
rubygems_version: 3.1.6
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Provides easy access to AddressFinder APIs
|