phony 2.15.41 → 2.15.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82b503c2e5f9f3b3a81043a38c68f15552ef5d6b
4
- data.tar.gz: 9572b6582b657cbefa87f1f516b47e89cc062068
3
+ metadata.gz: b90966199c054b9b7bd7967444e4c16daf43c4fa
4
+ data.tar.gz: 9e44b2e83b3e9696ca1b6ba61fcda6c69d6a6fc6
5
5
  SHA512:
6
- metadata.gz: 43eef5656724b34b4e9f71201423570572bae9db6b21bdc8bd3a1c5f8d2be58f20533402aa3a2f02447c950160b7146bd62cf3aed04ba8aa9cec64d026d3b6c8
7
- data.tar.gz: 3031b7bb1f87f64349e123aac3be733f748a9a1d5afa436484bbeeb0fe92b35442cceab3a66119a38fb48b31026aad3decf012efe31fb54f7ca8229473ffe87e
6
+ metadata.gz: c1ef2d3e28da0f71ff9f09e5804ebebd7b9f18bef2538487be0b889689b5fc3a34104c637d4f2d1137be80da4124f88b61a35681852ba948153ef61d3a6f6b77
7
+ data.tar.gz: a1a118463cac97953d9b0b4ae7c4978e9c893fe36373a03aa9fa80aa59596d619bcb41b19f08699e7537ce4cb44388838399b9b30ce146436b4aab8111751f54
@@ -98,8 +98,9 @@ Phony.define do
98
98
  country '32', trunk('0') |
99
99
  match(/^(7[08])\d+$/) >> split(3,3) | # Premium and national rate Services
100
100
  match(/^(800|90\d)\d+$/) >> split(2,3) | # Toll free service and premium numbers
101
- match(/^(46[0568])\d{6}$/) >> split(2,2,2) | # Mobile (Lycamobile, Telenet, Proximus 0460)
101
+ match(/^(46[05678])\d{6}$/) >> split(2,2,2) | # Mobile (Lycamobile, Telenet, Join Experience, Proximus 0460)
102
102
  match(/^(4[789]\d)\d{6}$/) >> split(2,2,2) | # Mobile
103
+ match(/^(456)\d{6}$/) >> split(2,2,2) | # Mobile Vikings
103
104
  one_of('2','3','4','9') >> split(3,2,2) | # Short NDCs
104
105
  fixed(2) >> split(2,2,2) # 2-digit NDCs
105
106
 
@@ -11,6 +11,7 @@ ndcs_with_7_subscriber_digits = [
11
11
  '17', # Southern regions like Asir, Al-Baha, Jizan, Najran & Khamis Mushait
12
12
  '50', # Mobile: STC
13
13
  '51', # Mobile: Trunking services
14
+ '52', # Mobile: Reserved for future use
14
15
  '53', # Mobile: STC
15
16
  '54', # Mobile: Mobily
16
17
  '55', # Mobile: STC
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.41
4
+ version: 2.15.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Hanke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-13 00:00:00.000000000 Z
11
+ date: 2017-03-20 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