phony 2.15.9 → 2.15.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phony/countries.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f6b26f6364ff99ff9ee82ec84aaeb60ba312052
|
4
|
+
data.tar.gz: ac26980b23a7fc4b87711ff554b77b521b123dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e41974a21b829de29ccc0e5ece27d968341fbb4afc4aaf39e90248702499ae3b0eb9d51f078031d47ac5627a36e1833b50af99e3e04926cc29eb6582935ded
|
7
|
+
data.tar.gz: 713f5acc2ea59fd6a3f81f0ca738be3a47aac96aa8b9eb8c3368f2891b4a380eb7a6883be3c256bbb9b8a94c54afee909bdd7c8d11890f2271c31f3059b9d3ab
|
data/lib/phony/countries.rb
CHANGED
@@ -97,7 +97,7 @@ Phony.define do
|
|
97
97
|
#
|
98
98
|
country '32', trunk('0') |
|
99
99
|
match(/^(70|800|90\d)\d+$/) >> split(3,3) | # Service
|
100
|
-
match(/^(46[
|
100
|
+
match(/^(46[568])\d{6}$/) >> split(2,2,2) | # Mobile (Lycamobile, Telenet)
|
101
101
|
match(/^(4[789]\d)\d{6}$/) >> split(2,2,2) | # Mobile
|
102
102
|
one_of('2','3','4','9') >> split(3,2,2) | # Short NDCs
|
103
103
|
fixed(2) >> split(2,2,2) # 2-digit NDCs
|
@@ -707,11 +707,11 @@ Phony.define do
|
|
707
707
|
|
708
708
|
country '387', trunk('0') | fixed(2) >> split(3,2,2) # Bosnia and Herzegovina
|
709
709
|
country '388', trunk('0') | fixed(2) >> split(3,2,2) # Group of countries, shared code
|
710
|
-
|
710
|
+
|
711
711
|
# The Former Yugoslav Republic of Macedonia
|
712
712
|
country '389',
|
713
|
-
|
714
|
-
|
713
|
+
trunk('0') |
|
714
|
+
one_of('2','3','4','5','6','7','8') >> split(3,4)
|
715
715
|
|
716
716
|
country '420', fixed(3) >> split(3,3) # Czech Republic
|
717
717
|
|
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.15.
|
4
|
+
version: 2.15.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Hanke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-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
|