phony 2.20.0 → 2.20.1
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/lib/phony/countries.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2e0337c11693c028c028c978936d9753067bab16cceb1deba77f39e535fbb50
|
|
4
|
+
data.tar.gz: 45468532f0d66381ce8b52f8c500881ee6a34f134450f6ffac5b57193c1d4323
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c2ad0d4272a0eaf808bc95f8ace53b1d3c5f7fe2718bd555547b5611915eee4a5f34ea968ef7ebe8fb7b4b8cb86b9040b8af48a8181a7d287a9a39d9906f312
|
|
7
|
+
data.tar.gz: 0a2e811f7f43f4e357fbe384381565a884073d98e6f1376664df1f457cf210dc759bf50c140749e7447cb034cc40e9d2916a77d3c7555df7f922fa5f522652f0
|
data/lib/phony/countries.rb
CHANGED
|
@@ -489,13 +489,14 @@ Phony.define do
|
|
|
489
489
|
# http://www.wtng.info/wtng-260-zm.html
|
|
490
490
|
# https://github.com/googlei18n/libphonenumber/
|
|
491
491
|
# https://en.wikipedia.org/wiki/Telephone_numbers_in_Zambia
|
|
492
|
+
|
|
492
493
|
country '260',
|
|
493
494
|
trunk('0') |
|
|
494
|
-
match(/^(76|77|95|96|97)/) >> split(3, 4) | # Mobile
|
|
495
|
+
match(/^(75|76|77|94|95|96|97)/) >> split(3, 4) | # Mobile
|
|
495
496
|
match(/^(800)/) >> split(3,3) | # Toll free
|
|
496
497
|
match(/^(21[1-8])/) >> split(6) # Fixed
|
|
497
498
|
|
|
498
|
-
# Madagascar
|
|
499
|
+
# Madagascar
|
|
499
500
|
# https://en.wikipedia.org/wiki/Telephone_numbers_in_Madagascar
|
|
500
501
|
# http://www.itu.int/oth/T020200007F/en
|
|
501
502
|
country '261',
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: phony
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.20.
|
|
4
|
+
version: 2.20.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Hanke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Fast international phone number (E164 standard) normalizing, splitting
|
|
14
14
|
and formatting. Lots of formatting options: International (+.., 00..), national
|