loqate 0.10.2 → 0.12.0

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
  SHA256:
3
- metadata.gz: 8b4390ffdee4320c50814836998e21876994357d8aa511003ecfef7572284447
4
- data.tar.gz: 7301f167946099a2bdd07163b23d621da9171a0c5da09c5817cde40a04bf13f3
3
+ metadata.gz: d37f55f57ac91abcb2a381c0389d908114db9c330bdf07379d5ada10a2dea85c
4
+ data.tar.gz: efde49b8e5cd34031450c7f8043c389d66e509a575bb73cdf0386286246fb903
5
5
  SHA512:
6
- metadata.gz: 93e7c4f6f992b0cb3eae1cc51a98f7b8977a0b78214f1cadeaebc424c05752d6b9d2d630e7322989d197a35ad0d6b8beb9ccd129367cebb404c817b0ad16a7c1
7
- data.tar.gz: 214b9dfa4dc5a311083ce5f0f96cac69f3643d059c7c8db0bd4c60d563a85d3c218d1e6b7b2d537037ed121b67c8bc8ff655347e5c5a877eb7655af7464aaa0d
6
+ metadata.gz: f3fe6bde75397bbaeea6ec97fb764ad0a23c62c3c83f045f42d40962cc8c12686e7534195a502ee48d5f480261e7329d1213c32d8b304b16ce5f49433e7eb8bf
7
+ data.tar.gz: 850e514eada88d53af951c7a14929a41ef73673ff79ad4d25fc8a47fd05ebf9c6bcca2ca29623d45f311655110c775e87d99fdb24a7b9fe060d906183724e9e6
data/.rubocop.yml CHANGED
@@ -2,6 +2,12 @@ require: rubocop-rspec
2
2
 
3
3
  AllCops:
4
4
  DisplayCopNames: true
5
+ NewCops: enable
6
+
7
+ # ---------------------- Layout -----------------------
8
+
9
+ Layout/LineLength:
10
+ Max: 120
5
11
 
6
12
  # ---------------------- Metrics ----------------------
7
13
 
@@ -10,9 +16,6 @@ Metrics/BlockLength:
10
16
  - spec/**/*_spec.rb
11
17
  - loqate.gemspec
12
18
 
13
- Metrics/LineLength:
14
- Max: 120
15
-
16
19
  Naming/MethodName:
17
20
  Exclude:
18
21
  - lib/loqate/result.rb
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.0.1
data/.tools-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.6.5
1
+ ruby 2.7.1
data/.travis.yml CHANGED
@@ -3,14 +3,13 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
 
6
- env:
7
- global:
8
- - CC_TEST_REPORTER_ID=b25183239ab212ebe6b73b13e25fe32ff06b542836e2e1d8786fa8966954b63f
9
-
10
6
  rvm:
11
- - 2.5.1
7
+ - 2.5
8
+ - 2.6
9
+ - 2.7
10
+ - 3.0
12
11
 
13
- before_install: gem install bundler -v 1.16.5
12
+ before_install: gem install bundler -v 2.1.4
14
13
 
15
14
  before_script:
16
15
  - echo 'fake-key' > .api_key
data/CHANGELOG.md CHANGED
@@ -4,7 +4,71 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.10.1] - 2019-12-31
7
+ ## [0.12.0] - 2021-04-26
8
+ ## Changed
9
+ - Set the gem development Ruby version to Ruby `3.0.1`
10
+ - Ensured compatibility with Ruby `3.0`
11
+ - Updated the API client to handle internal Loqate errors such as `502`:
12
+ ```
13
+ JSON::ParserError (767: unexpected token at '<html><head>)
14
+ <meta http-equiv="content-type" content="text/html;charset=utf-8">
15
+ <title>502 Server Error</title>
16
+ </head>
17
+ <body text=#000000 bgcolor=#ffffff>
18
+ <h1>Error: Server Error</h1>
19
+ <h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
20
+ <h2></h2>
21
+ </body></html>
22
+ ```
23
+
24
+ ## [0.11.1] - 2021-04-26
25
+ ## Fixed
26
+ - Fixed the allowed values of the enum `Phone::PhoneNumberValidation::IsValid` by adding `Maybe` as a valid value.
27
+
28
+ ## [0.11.0] - 2021-01-29
29
+ ## Changed
30
+ - Updated `bundler` to version `2.1`
31
+ - Updated `guard` to version `2.16`
32
+ - Updated `guard-bundler` to version `3.0`
33
+ - Updated `guard-rubocop` to version `1.3`
34
+ - Updated `overcommit` to version `0.53`
35
+ - Updated `pry` to version `0.13`
36
+ - Updated `rubocop` to version `0.85`
37
+ - Updated `rubocop-rspec` to version `1.39`
38
+ - Updated `simplecov-console` to version `0.7`
39
+ - Updated `vcr` to version `6.0`
40
+ - Updated `webmock` to version `3.8`
41
+ - Enabled the newest RuboCop rules
42
+ - Set the local development Ruby version to 2.7.1
43
+
44
+ ## Removed
45
+ - Removed the attribute `is_complainer_or_fraud_risk` from `EmailValidation`. It is no longer supported by Loqate's API
46
+ and will always return `false`.
47
+
48
+ ## Fixed
49
+ - Fixed the type coercion of the attribute `duration` on the `EmailValidation` class:
50
+ ```
51
+ [Loqate::Email::EmailValidation.new] 0 (Integer) has invalid type for :duration violates
52
+ constraints (type?(Float, 0) failed)
53
+ ```
54
+
55
+ ## [0.10.4] - 2020-05-08
56
+ ### Changed
57
+ - Updated `HTTP` to version `4.3`
58
+ - Updated `Rake` to version `12.3`
59
+
60
+ ### Fixed
61
+ - Fixed an [incompatibility with Ruby 2.7](https://github.com/httprb/http/issues/582)
62
+
63
+ ## [0.10.3] - 2020-01-13
64
+ ### Changed
65
+ - Updated Rubocop to version `0.78`
66
+ - Fixed the keyword arguments deprecation warning introduced in Ruby `2.7`
67
+
68
+ ## Added
69
+ - Added additional build versions (`2.5`, `2.6`, `2.7` and `jruby`) on Travis CI
70
+
71
+ ## [0.10.2] - 2019-12-31
8
72
  ### Changed
9
73
  - Relaxed the dependency on `bundler` to support Bundler 2.x and later
10
74
  - Replaced `.ruby-versions` with `.tools-versions` because `asdf` is a modular package manager for all languages
@@ -87,6 +151,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
87
151
  - Initial core functionality
88
152
  - Codebase maintenance tools
89
153
 
154
+ [0.12.0]: https://github.com/wilsonsilva/loqate/compare/v0.11.1...v0.12.0
155
+ [0.11.1]: https://github.com/wilsonsilva/loqate/compare/v0.11.0...v0.11.1
156
+ [0.11.0]: https://github.com/wilsonsilva/loqate/compare/v0.10.4...v0.11.0
157
+ [0.10.4]: https://github.com/wilsonsilva/loqate/compare/v0.10.3...v0.10.4
158
+ [0.10.3]: https://github.com/wilsonsilva/loqate/compare/v0.10.2...v0.10.3
159
+ [0.10.2]: https://github.com/wilsonsilva/loqate/compare/v0.10.1...v0.10.2
90
160
  [0.10.1]: https://github.com/wilsonsilva/loqate/compare/v0.10.0...v0.10.1
91
161
  [0.10.0]: https://github.com/wilsonsilva/loqate/compare/v0.9.0...v0.10.0
92
162
  [0.9.0]: https://github.com/wilsonsilva/loqate/compare/v0.8.0...v0.9.0
@@ -15,6 +15,19 @@ module Loqate
15
15
  @items = items
16
16
  end
17
17
 
18
+ def self.error(status:)
19
+ new(
20
+ [
21
+ {
22
+ 'Error' => '-2',
23
+ 'Description' => 'Something went wrong - please try again later',
24
+ 'Resolution' => 'Try again later',
25
+ 'Cause' => "Server returned response with #{status}"
26
+ }
27
+ ]
28
+ )
29
+ end
30
+
18
31
  # Whether the response contains errors
19
32
  #
20
33
  # @return [Boolean] true if the response has errors and false otherwise
@@ -4,10 +4,9 @@ require 'loqate/mappers/error_mapper'
4
4
  require 'loqate/mappers/generic_mapper'
5
5
  require 'loqate/bank/account_validation'
6
6
  require 'loqate/bank/batch_account_validation'
7
- require 'loqate/bank/card_validation'
8
7
  require 'loqate/bank/branch'
9
- require 'loqate/bank/international_account_validation'
10
8
  require 'loqate/bank/card_validation'
9
+ require 'loqate/bank/international_account_validation'
11
10
 
12
11
  module Loqate
13
12
  module Bank
data/lib/loqate/client.rb CHANGED
@@ -38,8 +38,12 @@ module Loqate
38
38
 
39
39
  response = HTTP.headers(headers).get(configuration.host + endpoint, params: formatted_params)
40
40
 
41
- body = JSON.parse(response.body)
42
- APIResult.new(body.fetch('Items'))
41
+ if response.status.success?
42
+ body = JSON.parse(response.body)
43
+ APIResult.new(body.fetch('Items'))
44
+ else
45
+ APIResult.error(status: response.status)
46
+ end
43
47
  end
44
48
 
45
49
  private
@@ -44,20 +44,13 @@ module Loqate
44
44
  #
45
45
  attribute :is_disposable_or_temporary, Types::Strict::Bool
46
46
 
47
- # True if we recognise the email address against known lists of complainers and/or the email address has been
48
- # used to defraud.
49
- #
50
- # @return [Boolean]
51
- #
52
- attribute :is_complainer_or_fraud_risk, Types::Strict::Bool
53
-
54
47
  # The duration (in seconds) that the email validation took (maximum timeout enforced at 15 seconds).
55
48
  # We recommend a high timeout (at least 5 seconds) value as it will minimise the number of "Timeout"
56
49
  # responses returned.
57
50
  #
58
51
  # @return [Float]
59
52
  #
60
- attribute :duration, Types::Strict::Float
53
+ attribute :duration, Types::Coercible::Float
61
54
 
62
55
  # Whether the email was fully validated (including the account portion).
63
56
  def valid?
@@ -22,8 +22,8 @@ module Loqate
22
22
  #
23
23
  # @see Configuration
24
24
  #
25
- def initialize(options)
26
- @config = Configuration.new(options)
25
+ def initialize(**options)
26
+ @config = Configuration.new(**options)
27
27
  @client = Client.new(config)
28
28
  end
29
29
 
@@ -25,7 +25,7 @@ module Loqate
25
25
  attributes = item.transform_keys { |attribute| Util.underscore(attribute) }
26
26
  attributes[:id] = attributes.delete(:error).to_i
27
27
 
28
- Loqate::Error.new(attributes)
28
+ Loqate::Error.new(**attributes)
29
29
  end
30
30
  end
31
31
  end
@@ -2,7 +2,7 @@ module Loqate
2
2
  module Phone
3
3
  # Result of a phone number validation.
4
4
  class PhoneNumberValidation < Dry::Struct
5
- IsValid = Types::Strict::String.enum('Yes', 'No', 'Unknown')
5
+ IsValid = Types::Strict::String.enum('Yes', 'No', 'Unknown', 'Maybe')
6
6
  NumberType = Types::Strict::String.enum('Mobile', 'Landline', 'Voip', 'Unknown')
7
7
 
8
8
  # The recipient phone number in international format.
data/lib/loqate/result.rb CHANGED
@@ -70,8 +70,8 @@ module Loqate
70
70
 
71
71
  # Utility methods to conveniently return +Success+ or +Failure+ results.
72
72
  module Mixin
73
- Success = Success
74
- Failure = Failure
73
+ Success = ::Loqate::Result::Success
74
+ Failure = ::Loqate::Result::Failure
75
75
 
76
76
  # Wraps the result of an operation in a +Success+ result.
77
77
  #
data/lib/loqate/util.rb CHANGED
@@ -26,7 +26,7 @@ module Loqate
26
26
  def camelize(term)
27
27
  string = term.to_s
28
28
  string = string.sub(/^[a-z\d]*/, &:capitalize)
29
- string.gsub!(%r{(?:_|(\/))([a-z\d]*)}) { "#{Regexp.last_match(1)}#{Regexp.last_match(2).capitalize}" }
29
+ string.gsub!(%r{(?:_|(/))([a-z\d]*)}) { "#{Regexp.last_match(1)}#{Regexp.last_match(2).capitalize}" }
30
30
  string.gsub!('/'.freeze, '::'.freeze)
31
31
  string
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Loqate
4
- VERSION = '0.10.2'
4
+ VERSION = '0.12.0'
5
5
  end
data/loqate.gemspec CHANGED
@@ -24,26 +24,28 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
+ spec.required_ruby_version = '>= 2.4.0'
28
+
27
29
  spec.add_runtime_dependency 'dry-struct', '~> 1.0'
28
- spec.add_runtime_dependency 'http', '~> 4.0.0'
30
+ spec.add_runtime_dependency 'http', '>= 4.3.0'
29
31
 
30
- spec.add_development_dependency 'bundler', '>= 1.16'
32
+ spec.add_development_dependency 'bundler', '>= 2.1'
31
33
  spec.add_development_dependency 'bundler-audit', '~> 0.6'
32
- spec.add_development_dependency 'guard', '~> 2.14'
33
- spec.add_development_dependency 'guard-bundler', '~> 2.1'
34
+ spec.add_development_dependency 'guard', '~> 2.16'
35
+ spec.add_development_dependency 'guard-bundler', '~> 3.0'
34
36
  spec.add_development_dependency 'guard-bundler-audit', '~> 0.1'
35
37
  spec.add_development_dependency 'guard-rspec', '~> 4.7'
36
- spec.add_development_dependency 'guard-rubocop', '~> 1.2'
37
- spec.add_development_dependency 'overcommit', '~> 0.46'
38
- spec.add_development_dependency 'pry', '~> 0.11'
39
- spec.add_development_dependency 'rake', '~> 10.0'
38
+ spec.add_development_dependency 'guard-rubocop', '~> 1.3'
39
+ spec.add_development_dependency 'overcommit', '~> 0.53'
40
+ spec.add_development_dependency 'pry', '~> 0.13'
41
+ spec.add_development_dependency 'rake', '~> 12.3'
40
42
  spec.add_development_dependency 'rspec', '~> 3.0'
41
- spec.add_development_dependency 'rubocop', '~> 0.59'
42
- spec.add_development_dependency 'rubocop-rspec', '~> 1.29'
43
- spec.add_development_dependency 'simplecov', '~> 0.16'
44
- spec.add_development_dependency 'simplecov-console', '~> 0.4'
45
- spec.add_development_dependency 'vcr', '~> 4.0'
46
- spec.add_development_dependency 'webmock', '~> 3.4'
43
+ spec.add_development_dependency 'rubocop', '~> 0.85'
44
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.39'
45
+ spec.add_development_dependency 'simplecov', '~> 0.17.1'
46
+ spec.add_development_dependency 'simplecov-console', '~> 0.7'
47
+ spec.add_development_dependency 'vcr', '~> 6.0'
48
+ spec.add_development_dependency 'webmock', '~> 3.8'
47
49
  spec.add_development_dependency 'yard', '~> 0.9'
48
50
  spec.add_development_dependency 'yard-junk', '~> 0.0.7'
49
51
  spec.add_development_dependency 'yardstick', '~> 0.9'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loqate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilson Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-31 00:00:00.000000000 Z
11
+ date: 2021-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: http
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.0
33
+ version: 4.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.0
40
+ version: 4.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.16'
47
+ version: '2.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.16'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler-audit
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.14'
75
+ version: '2.16'
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: '2.14'
82
+ version: '2.16'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: guard-bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.1'
89
+ version: '3.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: '2.1'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: guard-bundler-audit
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,56 +128,56 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.2'
131
+ version: '1.3'
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.2'
138
+ version: '1.3'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: overcommit
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.46'
145
+ version: '0.53'
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: '0.46'
152
+ version: '0.53'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pry
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0.11'
159
+ version: '0.13'
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.11'
166
+ version: '0.13'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '10.0'
173
+ version: '12.3'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '10.0'
180
+ version: '12.3'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,84 +198,84 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0.59'
201
+ version: '0.85'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0.59'
208
+ version: '0.85'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rubocop-rspec
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '1.29'
215
+ version: '1.39'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '1.29'
222
+ version: '1.39'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: simplecov
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '0.16'
229
+ version: 0.17.1
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '0.16'
236
+ version: 0.17.1
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: simplecov-console
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '0.4'
243
+ version: '0.7'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: '0.4'
250
+ version: '0.7'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: vcr
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: '4.0'
257
+ version: '6.0'
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
- version: '4.0'
264
+ version: '6.0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: webmock
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '3.4'
271
+ version: '3.8'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: '3.4'
278
+ version: '3.8'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: yard
281
281
  requirement: !ruby/object:Gem::Requirement
@@ -330,6 +330,7 @@ files:
330
330
  - ".overcommit.yml"
331
331
  - ".rspec"
332
332
  - ".rubocop.yml"
333
+ - ".tool-versions"
333
334
  - ".tools-versions"
334
335
  - ".travis.yml"
335
336
  - ".yardopts"
@@ -378,7 +379,7 @@ files:
378
379
  homepage: https://github.com/wilsonsilva/loqate
379
380
  licenses: []
380
381
  metadata: {}
381
- post_install_message:
382
+ post_install_message:
382
383
  rdoc_options: []
383
384
  require_paths:
384
385
  - lib
@@ -386,15 +387,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
386
387
  requirements:
387
388
  - - ">="
388
389
  - !ruby/object:Gem::Version
389
- version: '0'
390
+ version: 2.4.0
390
391
  required_rubygems_version: !ruby/object:Gem::Requirement
391
392
  requirements:
392
393
  - - ">="
393
394
  - !ruby/object:Gem::Version
394
395
  version: '0'
395
396
  requirements: []
396
- rubygems_version: 3.0.3
397
- signing_key:
397
+ rubygems_version: 3.2.15
398
+ signing_key:
398
399
  specification_version: 4
399
400
  summary: API client for GBG Loqate
400
401
  test_files: []