loqate 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.tools-versions +1 -0
- data/CHANGELOG.md +10 -0
- data/lib/loqate/address/address.rb +1 -1
- data/lib/loqate/bank/account_validation.rb +1 -1
- data/lib/loqate/bank/batch_account_validation.rb +1 -1
- data/lib/loqate/bank/branch.rb +1 -1
- data/lib/loqate/bank/card_validation.rb +1 -1
- data/lib/loqate/bank/international_account_validation.rb +1 -1
- data/lib/loqate/email/batch_email_validation.rb +1 -1
- data/lib/loqate/email/email_validation.rb +1 -1
- data/lib/loqate/geocoding/country.rb +1 -1
- data/lib/loqate/geocoding/direction.rb +1 -1
- data/lib/loqate/geocoding/location.rb +1 -1
- data/lib/loqate/geocoding/place.rb +1 -1
- data/lib/loqate/phone/phone_number_validation.rb +1 -1
- data/lib/loqate/types.rb +1 -1
- data/lib/loqate/version.rb +1 -1
- data/loqate.gemspec +1 -1
- metadata +5 -5
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b4390ffdee4320c50814836998e21876994357d8aa511003ecfef7572284447
|
4
|
+
data.tar.gz: 7301f167946099a2bdd07163b23d621da9171a0c5da09c5817cde40a04bf13f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e7c4f6f992b0cb3eae1cc51a98f7b8977a0b78214f1cadeaebc424c05752d6b9d2d630e7322989d197a35ad0d6b8beb9ccd129367cebb404c817b0ad16a7c1
|
7
|
+
data.tar.gz: 214b9dfa4dc5a311083ce5f0f96cac69f3643d059c7c8db0bd4c60d563a85d3c218d1e6b7b2d537037ed121b67c8bc8ff655347e5c5a877eb7655af7464aaa0d
|
data/.tools-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.6.5
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@ 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
|
8
|
+
### Changed
|
9
|
+
- Relaxed the dependency on `bundler` to support Bundler 2.x and later
|
10
|
+
- Replaced `.ruby-versions` with `.tools-versions` because `asdf` is a modular package manager for all languages
|
11
|
+
- Set the Ruby development version to `2.6.5`
|
12
|
+
|
13
|
+
## Fixed
|
14
|
+
- Renamed `Dry::Struct::Value` to `Dry::Struct` to fix a deprecation warning
|
15
|
+
- Renamed `Dry::Types.module` to `Dry.Types()` to fix a deprecation warning
|
16
|
+
|
7
17
|
## [0.10.1] - 2019-04-29
|
8
18
|
### Fixed
|
9
19
|
- Updated `dry-struct` to version `1.0`, which has a more stable API
|
@@ -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
|
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
|
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.
|
data/lib/loqate/bank/branch.rb
CHANGED
@@ -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
|
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
|
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
|
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)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Loqate
|
2
2
|
module Phone
|
3
3
|
# Result of a phone number validation.
|
4
|
-
class PhoneNumberValidation < Dry::Struct
|
4
|
+
class PhoneNumberValidation < Dry::Struct
|
5
5
|
IsValid = Types::Strict::String.enum('Yes', 'No', 'Unknown')
|
6
6
|
NumberType = Types::Strict::String.enum('Mobile', 'Landline', 'Voip', 'Unknown')
|
7
7
|
|
data/lib/loqate/types.rb
CHANGED
data/lib/loqate/version.rb
CHANGED
data/loqate.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_runtime_dependency 'dry-struct', '~> 1.0'
|
28
28
|
spec.add_runtime_dependency 'http', '~> 4.0.0'
|
29
29
|
|
30
|
-
spec.add_development_dependency 'bundler', '
|
30
|
+
spec.add_development_dependency 'bundler', '>= 1.16'
|
31
31
|
spec.add_development_dependency 'bundler-audit', '~> 0.6'
|
32
32
|
spec.add_development_dependency 'guard', '~> 2.14'
|
33
33
|
spec.add_development_dependency 'guard-bundler', '~> 2.1'
|
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.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.16'
|
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
54
|
version: '1.16'
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -330,7 +330,7 @@ files:
|
|
330
330
|
- ".overcommit.yml"
|
331
331
|
- ".rspec"
|
332
332
|
- ".rubocop.yml"
|
333
|
-
- ".
|
333
|
+
- ".tools-versions"
|
334
334
|
- ".travis.yml"
|
335
335
|
- ".yardopts"
|
336
336
|
- ".yardstick.yml"
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.6.2
|