phony 2.15.0 → 2.15.1
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: 6ed258e88bab97cb692a68d20406cf333bbc9af2
|
4
|
+
data.tar.gz: 09b5373f25c789175ec99f780a609d5863d2010a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a7ac420b3ac6ff7d436fee1ca8cff6f0ed0fdcaef85cde28f32be3f01cb1432f8339f7d7fee9ebfc70c899cd0ee78955c32b802ae0e991fa42d23b3645c7a1
|
7
|
+
data.tar.gz: 1adf63b689fa85193e0de499bac2d0e73318910bb30d161f3998e66f7ef4a62eaec0523ebb751f08547c0610b2f83b55fd3558ad36b6344224cbc17ecf392bfe
|
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(/^(
|
100
|
+
match(/^(46[68])\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
|
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.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: 2015-09-
|
11
|
+
date: 2015-09-10 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
|