loqate 0.10.1 → 0.11.1

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: 8bf10882050e3db9a37ea5c55c0c9f2cbe784525fcc570eb012f2ed9e730a319
4
- data.tar.gz: e7c1bc6353fa34f3dcc57a53ef9d5a38b9e69cde60e27eb284c3a5ebbc2b9dd9
3
+ metadata.gz: 1d8b2153d2e4dc1f2a54ed028b256f531e8faf42061b31b359e58295617b942f
4
+ data.tar.gz: ea65ed9dc5b6e0ff70359781ac5e447c98aa5bb1edc261ebb0b2e929644a9011
5
5
  SHA512:
6
- metadata.gz: e7874ac5ca665594563077b0db7520450d77cae0f144549c72654f9806c65154c81c4f02668d5c7a8148bf697c65645236d90209c5b1a98711d839cadd873683
7
- data.tar.gz: 1abbc2910b8f7e7dc80df46d3c06e5fd709224fc8666bbeb2f091e5022b415eb869591d8ed97e22ae830a1d1c7d5cb0951ec704ca64f2691f9d0e4e435ae7d6b
6
+ metadata.gz: ce3ea4757fb605b795bdeb136f1cba611b1adc6240aab59863ee7e032d5df0ae97fe1f91bf48abc0ea1668a014d3f5ce387b3bc40b8297b566607c58a4036540
7
+ data.tar.gz: ed9f75aa997bc9f3ec7fc11f86610f2e479dd2cc224183ea9a7ca5bfba56437ca73e21da59d26ab53224eac3c1b17dd87aae70dab21ea05dc2eeb4cbde018c75
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 2.7.1
data/.tools-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 2.7.1
data/.travis.yml CHANGED
@@ -3,14 +3,12 @@ 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
12
10
 
13
- before_install: gem install bundler -v 1.16.5
11
+ before_install: gem install bundler -v 2.1.4
14
12
 
15
13
  before_script:
16
14
  - echo 'fake-key' > .api_key
data/CHANGELOG.md CHANGED
@@ -4,6 +4,63 @@ 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.11.1] - 2021-04-26
8
+ ## Fixed
9
+ - Fixed the allowed values of the enum `Phone::PhoneNumberValidation::IsValid` by adding `Maybe` as a valid value.
10
+
11
+ ## [0.11.0] - 2021-01-29
12
+ ## Changed
13
+ - Updated `bundler` to version `2.1`
14
+ - Updated `guard` to version `2.16`
15
+ - Updated `guard-bundler` to version `3.0`
16
+ - Updated `guard-rubocop` to version `1.3`
17
+ - Updated `overcommit` to version `0.53`
18
+ - Updated `pry` to version `0.13`
19
+ - Updated `rubocop` to version `0.85`
20
+ - Updated `rubocop-rspec` to version `1.39`
21
+ - Updated `simplecov-console` to version `0.7`
22
+ - Updated `vcr` to version `6.0`
23
+ - Updated `webmock` to version `3.8`
24
+ - Enabled the newest RuboCop rules
25
+ - Set the local development Ruby version to 2.7.1
26
+
27
+ ## Removed
28
+ - Removed the attribute `is_complainer_or_fraud_risk` from `EmailValidation`. It is no longer supported by Loqate's API
29
+ and will always return `false`.
30
+
31
+ ## Fixed
32
+ - Fixed the type coercion of the attribute `duration` on the `EmailValidation` class:
33
+ ```
34
+ [Loqate::Email::EmailValidation.new] 0 (Integer) has invalid type for :duration violates
35
+ constraints (type?(Float, 0) failed)
36
+ ```
37
+
38
+ ## [0.10.4] - 2020-05-08
39
+ ### Changed
40
+ - Updated `HTTP` to version `4.3`
41
+ - Updated `Rake` to version `12.3`
42
+
43
+ ### Fixed
44
+ - Fixed an [incompatibility with Ruby 2.7](https://github.com/httprb/http/issues/582)
45
+
46
+ ## [0.10.3] - 2020-01-13
47
+ ### Changed
48
+ - Updated Rubocop to version `0.78`
49
+ - Fixed the keyword arguments deprecation warning introduced in Ruby `2.7`
50
+
51
+ ## Added
52
+ - Added additional build versions (`2.5`, `2.6`, `2.7` and `jruby`) on Travis CI
53
+
54
+ ## [0.10.2] - 2019-12-31
55
+ ### Changed
56
+ - Relaxed the dependency on `bundler` to support Bundler 2.x and later
57
+ - Replaced `.ruby-versions` with `.tools-versions` because `asdf` is a modular package manager for all languages
58
+ - Set the Ruby development version to `2.6.5`
59
+
60
+ ## Fixed
61
+ - Renamed `Dry::Struct::Value` to `Dry::Struct` to fix a deprecation warning
62
+ - Renamed `Dry::Types.module` to `Dry.Types()` to fix a deprecation warning
63
+
7
64
  ## [0.10.1] - 2019-04-29
8
65
  ### Fixed
9
66
  - Updated `dry-struct` to version `1.0`, which has a more stable API
@@ -77,6 +134,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
134
  - Initial core functionality
78
135
  - Codebase maintenance tools
79
136
 
137
+ [0.11.1]: https://github.com/wilsonsilva/loqate/compare/v0.11.0...v0.11.1
138
+ [0.11.0]: https://github.com/wilsonsilva/loqate/compare/v0.10.4...v0.11.0
139
+ [0.10.4]: https://github.com/wilsonsilva/loqate/compare/v0.10.3...v0.10.4
140
+ [0.10.3]: https://github.com/wilsonsilva/loqate/compare/v0.10.2...v0.10.3
141
+ [0.10.2]: https://github.com/wilsonsilva/loqate/compare/v0.10.1...v0.10.2
80
142
  [0.10.1]: https://github.com/wilsonsilva/loqate/compare/v0.10.0...v0.10.1
81
143
  [0.10.0]: https://github.com/wilsonsilva/loqate/compare/v0.9.0...v0.10.0
82
144
  [0.9.0]: https://github.com/wilsonsilva/loqate/compare/v0.8.0...v0.9.0
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Address
3
3
  # A result from the address find service.
4
- class Address < Dry::Struct::Value
4
+ class Address < Dry::Struct
5
5
  # An address ID or a container ID for further results
6
6
  #
7
7
  # @return [String]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Bank
3
3
  # Result of a bank account validation.
4
- class AccountValidation < Dry::Struct::Value
4
+ class AccountValidation < Dry::Struct
5
5
  StatusInformation = Types::Strict::String.enum('DetailsChanged', 'CautiousOK')
6
6
 
7
7
  # Indicates whether the account number and sortcode are valid.
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Bank
3
3
  # Result of a batch bank account validation.
4
- class BatchAccountValidation < Dry::Struct::Value
4
+ class BatchAccountValidation < Dry::Struct
5
5
  StatusInformation = Types::Strict::String.enum('CautiousOK', 'DetailsChanged', 'OK')
6
6
 
7
7
  # The original AccountNumber passed to validate, excluding any non numeric characters.
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Bank
3
3
  # Result of a bank branch retrieval.
4
- class Branch < Dry::Struct::Value
4
+ class Branch < Dry::Struct
5
5
  # The name of the banking institution.
6
6
  #
7
7
  # @return [String]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Bank
3
3
  # Result of a card validation.
4
- class CardValidation < Dry::Struct::Value
4
+ class CardValidation < Dry::Struct
5
5
  # The cleaned card number.
6
6
  #
7
7
  # @return [String]
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Bank
3
3
  # Result of an international bank account validation.
4
- class InternationalAccountValidation < Dry::Struct::Value
4
+ class InternationalAccountValidation < Dry::Struct
5
5
  # Indicates whether the account number and sortcode are valid.
6
6
  #
7
7
  # @return [Boolean]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Email
3
3
  # Result of a batch email address validation.
4
- class BatchEmailValidation < Dry::Struct::Value
4
+ class BatchEmailValidation < Dry::Struct
5
5
  Status = Types::Strict::String.enum('Valid', 'Invalid', 'Unknown', 'Accept_All')
6
6
 
7
7
  # Valid - The email address is valid
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Email
3
3
  # Result of a email address validation.
4
- class EmailValidation < Dry::Struct::Value
4
+ class EmailValidation < Dry::Struct
5
5
  ResponseCode = Types::Strict::String.enum('Valid', 'Valid_CatchAll', 'Invalid', 'Timeout')
6
6
 
7
7
  # Valid - The email address has been fully validated (including the account portion)
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Geocoding
3
3
  # A result from the position to country API call.
4
- class Country < Dry::Struct::Value
4
+ class Country < Dry::Struct
5
5
  # The name of the country where the position belongs to.
6
6
  #
7
7
  # @return [String]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Geocoding
3
3
  # A result from the directions API call.
4
- class Direction < Dry::Struct::Value
4
+ class Direction < Dry::Struct
5
5
  # A zero based counter indicating the row number.
6
6
  #
7
7
  # @return [Integer]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Geocoding
3
3
  # A result from the geocode API call.
4
- class Location < Dry::Struct::Value
4
+ class Location < Dry::Struct
5
5
  # The name of the location found.
6
6
  #
7
7
  # @return [String]
@@ -1,7 +1,7 @@
1
1
  module Loqate
2
2
  module Geocoding
3
3
  # A result from the API call to find the nearest places.
4
- class Place < Dry::Struct::Value
4
+ class Place < Dry::Struct
5
5
  # The postcode that is nearest to the given location.
6
6
  #
7
7
  # @return [String]
@@ -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
@@ -1,8 +1,8 @@
1
1
  module Loqate
2
2
  module Phone
3
3
  # Result of a phone number validation.
4
- class PhoneNumberValidation < Dry::Struct::Value
5
- IsValid = Types::Strict::String.enum('Yes', 'No', 'Unknown')
4
+ class PhoneNumberValidation < Dry::Struct
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/types.rb CHANGED
@@ -4,6 +4,6 @@ require 'dry/struct'
4
4
  module Loqate
5
5
  # Dry-types container.
6
6
  module Types
7
- include Dry::Types.module
7
+ include Dry.Types()
8
8
  end
9
9
  end
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.1'
4
+ VERSION = '0.11.1'
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.1
4
+ version: 0.11.1
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-04-29 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,7 +330,8 @@ files:
330
330
  - ".overcommit.yml"
331
331
  - ".rspec"
332
332
  - ".rubocop.yml"
333
- - ".ruby-version"
333
+ - ".tool-versions"
334
+ - ".tools-versions"
334
335
  - ".travis.yml"
335
336
  - ".yardopts"
336
337
  - ".yardstick.yml"
@@ -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.1.2
398
+ signing_key:
398
399
  specification_version: 4
399
400
  summary: API client for GBG Loqate
400
401
  test_files: []
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.6.2