phony 2.15.1 → 2.15.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: ad4b6a492864e33d4e70552434b767f09e0670f9
|
4
|
+
data.tar.gz: bc18bd1176c8f2e30eadc148f6506e28c6f2be23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e3483cf7b868fc0582e9fe7a303f28864e673e0a6fc3571608163cfd02106064021ce6043f8ab71982882989af42fe1cf3dec3d88c8b6b18a8097b843f6087
|
7
|
+
data.tar.gz: 27afd239c3e70068c6d142a9f065ccad6a580cf0490467d6e2b568db3662a9a2bb254537c42fa4dd367c97f9bddc1768c66e74813ddaa0a6b0153447611862d4
|
data/lib/phony/countries.rb
CHANGED
@@ -628,7 +628,7 @@ Phony.define do
|
|
628
628
|
trunk('0') |
|
629
629
|
match(/^([1-3]0)\d+$/) >> split(3,3,0..6) | # Service/subscriber
|
630
630
|
match(/^([6-8]00)\d+$/) >> split(3,3) | # Service
|
631
|
-
match(/^(4\d|50)\d+$/)
|
631
|
+
match(/^(457|4\d|50)\d+$/) >> split(3,2,0..2) | # Mobile
|
632
632
|
one_of('2','3','5','6','8','9') >> split(3,2..4) | # Short NDCs
|
633
633
|
fixed(2) >> split(3,3) # 2-digit NDCs
|
634
634
|
|
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.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-09-
|
11
|
+
date: 2015-09-21 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
|