phony 2.15.1 → 2.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/phony/countries.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ed258e88bab97cb692a68d20406cf333bbc9af2
4
- data.tar.gz: 09b5373f25c789175ec99f780a609d5863d2010a
3
+ metadata.gz: ad4b6a492864e33d4e70552434b767f09e0670f9
4
+ data.tar.gz: bc18bd1176c8f2e30eadc148f6506e28c6f2be23
5
5
  SHA512:
6
- metadata.gz: 03a7ac420b3ac6ff7d436fee1ca8cff6f0ed0fdcaef85cde28f32be3f01cb1432f8339f7d7fee9ebfc70c899cd0ee78955c32b802ae0e991fa42d23b3645c7a1
7
- data.tar.gz: 1adf63b689fa85193e0de499bac2d0e73318910bb30d161f3998e66f7ef4a62eaec0523ebb751f08547c0610b2f83b55fd3558ad36b6344224cbc17ecf392bfe
6
+ metadata.gz: 93e3483cf7b868fc0582e9fe7a303f28864e673e0a6fc3571608163cfd02106064021ce6043f8ab71982882989af42fe1cf3dec3d88c8b6b18a8097b843f6087
7
+ data.tar.gz: 27afd239c3e70068c6d142a9f065ccad6a580cf0490467d6e2b568db3662a9a2bb254537c42fa4dd367c97f9bddc1768c66e74813ddaa0a6b0153447611862d4
@@ -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+$/) >> split(3,2,0..2) | # Mobile
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.1
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-10 00:00:00.000000000 Z
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