phony 2.15.0 → 2.15.1

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.
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: 5773702ad69699c8cefd3a0001d444b341f44582
4
- data.tar.gz: e9550ac45100b93cb5ea04e328f0e7d1b6b45916
3
+ metadata.gz: 6ed258e88bab97cb692a68d20406cf333bbc9af2
4
+ data.tar.gz: 09b5373f25c789175ec99f780a609d5863d2010a
5
5
  SHA512:
6
- metadata.gz: 809eec8aa6c21b477bca405d453303fd3ddb5b32960253c092d0fa107a47ad742b9326a518dab360a04aa50afb1b12c6cd95a7c26f3d2d6acdc4d9f36f4bdf9b
7
- data.tar.gz: 55ba7177b59174f902c988ceccd54db3df53c840a325ea6ed0e25dee9464e366ac62adfa7b3d01b35f4c02cdd1daab54ff4502408d5cf757cd2e9c1fea1e3533
6
+ metadata.gz: 03a7ac420b3ac6ff7d436fee1ca8cff6f0ed0fdcaef85cde28f32be3f01cb1432f8339f7d7fee9ebfc70c899cd0ee78955c32b802ae0e991fa42d23b3645c7a1
7
+ data.tar.gz: 1adf63b689fa85193e0de499bac2d0e73318910bb30d161f3998e66f7ef4a62eaec0523ebb751f08547c0610b2f83b55fd3558ad36b6344224cbc17ecf392bfe
@@ -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(/^(468)\d{6}$/) >> split(2,2,2) | # Mobile (Telenet)
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.0
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-05 00:00:00.000000000 Z
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