phony 2.15.14 → 2.15.15
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: 22b736b7c1b155c5645a50e9bdd328c2d3294874
|
4
|
+
data.tar.gz: a590f86d78bf8c565e9a9136500d174860439f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b552ee46b9787b6b531feb321a629e432b99bf8643bc8ede2bc0e186b03f2fcf16b5673cfdc2a7b248f3c9c45aaccd9ffdc3a1e4e08ec8f9791284ab43c453a
|
7
|
+
data.tar.gz: b71c6eeff118aeb9a116aa6ceda2367f566d0ae674e1e6872307111d84e5878a7bde675f6fa80693beead62d32c0df510be74fc392372b484a4f1133cd98de84
|
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[0568])\d{6}$/) >> split(2,2,2) | # Mobile (Lycamobile, Telenet, Proximus 0460)
|
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
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Hanke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 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
|