apiverve_phonenumbervalidator 1.2.2 → 1.2.4

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: a21719e3abcebffd16a726e530056e808f41cfb943078a2bed53279a4093aec6
4
+ data.tar.gz: 6fd27eccbd9471804cc38939c16d12a9f896146f77bc3b3f41006e22135eaf03
5
5
  SHA512:
6
- metadata.gz: 30039e8acd41a57f98b6019d058810c4e704dc3f599f3c8ad550c7c101e6c7d2b20af02a4e638b09b1689a4564ea0367674626f5c5f60e1094c1cef4b4847945
7
- data.tar.gz: e47e53821705b7d9d39d9f6fc2f638a297f9528e23710fb55f4f253ec76d920cdcf07b2f8265fe296f08953f11a4639880f01a5e1212e4e44c99995401481cd8
6
+ metadata.gz: 6ce664a551c9fa7bebd8b9ad4d07ca8cf438647da0c6ad19a737dfe1b776157cb25dcd324cb38769c8e7d855228cb207eaac17671810d05c8975473defa87ce7
7
+ data.tar.gz: 0ecfe663eda9050e88758d7ae4587e6da062cb2fef8d7c642287d54813d2c8b84a9d9fb6d2e2a350cc15a6ec57547a58b8cb0b26365a5c63ed0ef51ea82fafc9
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.4"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,13 @@
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIVerve
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-10-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -58,9 +57,10 @@ dependencies:
58
57
  - - "~>"
59
58
  - !ruby/object:Gem::Version
60
59
  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.
60
+ description: Phone Number Validator checks a phone number and returns whether it is
61
+ valid, its line type, country, area and time zone, and the carrier its mobile range
62
+ was allocated to. It flags disposable and VoIP numbers and outputs E.164, international,
63
+ national and RFC3966 formats.
64
64
  email:
65
65
  - hello@apiverve.com
66
66
  executables: []
@@ -79,7 +79,6 @@ metadata:
79
79
  source_code_uri: https://github.com/apiverve/phonenumbervalidator-API/tree/main/ruby
80
80
  changelog_uri: https://apiverve.com/changelog
81
81
  documentation_uri: https://docs.apiverve.com/ref/phonenumbervalidator
82
- post_install_message:
83
82
  rdoc_options: []
84
83
  require_paths:
85
84
  - lib
@@ -94,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
95
  requirements: []
97
- rubygems_version: 3.0.3.1
98
- signing_key:
96
+ rubygems_version: 4.0.23
99
97
  specification_version: 4
100
98
  summary: Phone Number Validator API - Ruby Client
101
99
  test_files: []