apiverve_phonenumbervalidator 1.2.2 → 1.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02750067a30b4a5d97c7670fe13d5ecd130a3ad0c0f87f5245d4f4d4e339c7fd
4
- data.tar.gz: e78b77c9c258d09b9ee5c314c34b84ed94341237a65559cc4951bb63c75b582b
3
+ metadata.gz: c31d0ab1d664151dbb4307e8bbf5a6c3482702e43840e4b9aef583e45ef1a3bf
4
+ data.tar.gz: 2468afe9ed28a5c6fe1b1d2282b336db1d60a125ca975af028a295db4c658537
5
5
  SHA512:
6
- metadata.gz: 30039e8acd41a57f98b6019d058810c4e704dc3f599f3c8ad550c7c101e6c7d2b20af02a4e638b09b1689a4564ea0367674626f5c5f60e1094c1cef4b4847945
7
- data.tar.gz: e47e53821705b7d9d39d9f6fc2f638a297f9528e23710fb55f4f253ec76d920cdcf07b2f8265fe296f08953f11a4639880f01a5e1212e4e44c99995401481cd8
6
+ metadata.gz: 516619e1b45d90d039efee3e8205b592f7ba827b2d8c800873a7c003f8ba198426dd671accc4d4083d9f11da1adf23d448309933398dcb5edc6d0b6a357c9aa4
7
+ data.tar.gz: 7fdf15abc295e6de43dee955988f951f86a60112b5dd106d5139202dd9ef265720a56eec9eb9c9c2f86e905bb9d91c887d0bb200cf23d83c7288ebfad999813e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Phone Number Validator API - Ruby Gem
2
2
 
3
- Phone Number Validator checks a phone number and country code to determine validity, line type, and country of origin. It flags disposable or VoIP numbers and outputs standardized international, national, RFC3966, and E.164 formats.
3
+ Phone Number Validator checks a phone number and returns whether it is valid, its line type, country, area and time zone, and the carrier its mobile range was allocated to. It flags disposable and VoIP numbers and outputs E.164, international, national and RFC3966 formats.
4
4
 
5
5
  ## Installation
6
6
 
@@ -87,6 +87,13 @@ client = APIVerve::Phonenumbervalidator::Client.new(
87
87
  "isVoip": false,
88
88
  "isDisposable": false,
89
89
  "type": "fixed_line_or_mobile",
90
+ "isValidNumber": true,
91
+ "nationalSignificantNumber": "8165551017",
92
+ "location": "Missouri",
93
+ "carrier": null,
94
+ "timezones": [
95
+ "America/Chicago"
96
+ ],
90
97
  "formatted": {
91
98
  "international": "+1 816-555-1017",
92
99
  "national": "(816) 555-1017",
@@ -19,7 +19,7 @@ module APIVerve
19
19
  DEFAULT_TIMEOUT = 30
20
20
 
21
21
  # Validation rules for parameters
22
- VALIDATION_RULES = { 'number' => { type: 'string', required: true }, 'country' => { type: 'string', required: true, min_length: 2, max_length: 2 } }
22
+ VALIDATION_RULES = { 'number' => { type: 'string', required: true }, 'country' => { type: 'string', required: false, min_length: 2, max_length: 2 } }
23
23
 
24
24
  # Format validation patterns
25
25
  FORMAT_PATTERNS = {
@@ -4,6 +4,6 @@ require_relative "apiverve_phonenumbervalidator/client"
4
4
 
5
5
  module APIVerve
6
6
  module Phonenumbervalidator
7
- VERSION = "1.2.2"
7
+ VERSION = "1.2.3"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiverve_phonenumbervalidator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIVerve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-21 00:00:00.000000000 Z
11
+ date: 2026-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -58,9 +58,10 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '2.0'
61
- description: Phone Number Validator checks a phone number and country code to determine
62
- validity, line type, and country of origin. It flags disposable or VoIP numbers
63
- and outputs standardized international, national, RFC3966, and E.164 formats.
61
+ description: Phone Number Validator checks a phone number and returns whether it is
62
+ valid, its line type, country, area and time zone, and the carrier its mobile range
63
+ was allocated to. It flags disposable and VoIP numbers and outputs E.164, international,
64
+ national and RFC3966 formats.
64
65
  email:
65
66
  - hello@apiverve.com
66
67
  executables: []