phony 2.12.1 → 2.12.2
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 +1 -1
- 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: 9f6a1fa98b7fc4672a3cedca8d22087f59347ac9
|
4
|
+
data.tar.gz: 13929f98e7dd3cb0fbab58a6a9e2acbf683184e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7404bff377c5d9da19f35f3c56b4a910ad77215004b4c3715595c39a172e3802fd96446699b537e7b9d1e4c4dfacad865e65342f98b005dcc4816c5a21d7ec64
|
7
|
+
data.tar.gz: b0e148e4e443d0bebc19a048f23da64af7dc1465dfb24a9d2e3c114581528450b0655b27af6f8926088d158ecc4ded02eb073b8dcda7aef032cbc9e8460089cd
|
data/lib/phony/countries.rb
CHANGED
@@ -35,7 +35,7 @@ Phony.define do
|
|
35
35
|
# The US has a delimiter between NDC and local number.
|
36
36
|
trunk('1%s', normalize: true) | # http://en.wikipedia.org/wiki/Trunk_prefix
|
37
37
|
fixed(3) >> split(3,4),
|
38
|
-
:invalid_ndcs => /[0-
|
38
|
+
:invalid_ndcs => /[0-1]\d{2}|[3-9]11/
|
39
39
|
|
40
40
|
# Kazakhstan (Republic of) & Russsian Federation.
|
41
41
|
# also Abhasia and South Osetia autonomous regions / recognized by some states as independent countries
|
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.12.
|
4
|
+
version: 2.12.2
|
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-03-
|
11
|
+
date: 2015-03-07 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
|