phony 2.15.9 → 2.15.10

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 +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36d2ef59200f419c29b0a53a3715280e360af118
4
- data.tar.gz: eaaf9d95522cc425cf6b6c45f117bd72c304176d
3
+ metadata.gz: 9f6b26f6364ff99ff9ee82ec84aaeb60ba312052
4
+ data.tar.gz: ac26980b23a7fc4b87711ff554b77b521b123dbb
5
5
  SHA512:
6
- metadata.gz: 5d78a74ccbcba745edb44e30c7d27765148248c4c7b27b6e77774af301f5d52b22a151767baf67757b9f5ea7e54a565a6baa948b9a3d0015b220bf335c380305
7
- data.tar.gz: 015ea70b6282f6acd8d30020fea963f9cd65187bbd7a14dfe4eb3242e646e7e5198779d341c328acb4181700caa795ce3da686b25bc462655736aea858f17321
6
+ metadata.gz: 16e41974a21b829de29ccc0e5ece27d968341fbb4afc4aaf39e90248702499ae3b0eb9d51f078031d47ac5627a36e1833b50af99e3e04926cc29eb6582935ded
7
+ data.tar.gz: 713f5acc2ea59fd6a3f81f0ca738be3a47aac96aa8b9eb8c3368f2891b4a380eb7a6883be3c256bbb9b8a94c54afee909bdd7c8d11890f2271c31f3059b9d3ab
@@ -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[68])\d{6}$/) >> split(2,2,2) | # Mobile (Lycamobile, Telenet)
100
+ match(/^(46[568])\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
@@ -707,11 +707,11 @@ Phony.define do
707
707
 
708
708
  country '387', trunk('0') | fixed(2) >> split(3,2,2) # Bosnia and Herzegovina
709
709
  country '388', trunk('0') | fixed(2) >> split(3,2,2) # Group of countries, shared code
710
-
710
+
711
711
  # The Former Yugoslav Republic of Macedonia
712
712
  country '389',
713
- trunk('0') |
714
- one_of('2','3','4','5','6','7','8') >> split(3,4)
713
+ trunk('0') |
714
+ one_of('2','3','4','5','6','7','8') >> split(3,4)
715
715
 
716
716
  country '420', fixed(3) >> split(3,3) # Czech Republic
717
717
 
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.9
4
+ version: 2.15.10
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-11-28 00:00:00.000000000 Z
11
+ date: 2015-12-03 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