phony 2.15.10 → 2.15.11

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: 9f6b26f6364ff99ff9ee82ec84aaeb60ba312052
4
- data.tar.gz: ac26980b23a7fc4b87711ff554b77b521b123dbb
3
+ metadata.gz: 60165ce29f31bd500dba689e4f56e6b205ae515c
4
+ data.tar.gz: e619d808436cbbd10c472aecd371356d1e7ad116
5
5
  SHA512:
6
- metadata.gz: 16e41974a21b829de29ccc0e5ece27d968341fbb4afc4aaf39e90248702499ae3b0eb9d51f078031d47ac5627a36e1833b50af99e3e04926cc29eb6582935ded
7
- data.tar.gz: 713f5acc2ea59fd6a3f81f0ca738be3a47aac96aa8b9eb8c3368f2891b4a380eb7a6883be3c256bbb9b8a94c54afee909bdd7c8d11890f2271c31f3059b9d3ab
6
+ metadata.gz: 4305b318866ae2d7e59073a588087f4b2538cf445d8e99ebd03aae019a9d91faf770ca8a70d683ef90bddf5ebe3e0fa1340dde0d3c3bca4197bf90b3b1f358e7
7
+ data.tar.gz: 3b0324e59fe6d8f20f9db230d8d0ac21bce320cf0f7e6fbf41e10751cf6557361f3b3ced33b15b6ef43a4abe4053c82c15947f3b1cb0fec450c521b3a1be13b8
@@ -236,8 +236,8 @@ Phony.define do
236
236
  country '61',
237
237
  trunk('0') |
238
238
  match(/^(4\d\d)\d+$/) >> split(3,3) | # Mobile
239
- match(/^(1800)\d+$/) >> split(4,4) | # 1800 free call
240
- match(/^(1300)\d+$/) >> split(4,4) | # 1300 local rate
239
+ match(/^(1800)\d+$/) >> split(3,3) | # 1800 free call
240
+ match(/^(1300)\d+$/) >> split(3,3) | # 1300 local rate
241
241
  match(/^(13)\d+$/) >> split(2,2) | # 13 local rate
242
242
  fixed(1) >> split(4,4) # Rest
243
243
 
@@ -57,8 +57,8 @@ describe 'country descriptions' do
57
57
  it_splits '61512341234', ['61', '5', '1234', '1234'] # Landline
58
58
  it_splits '61423123123', ['61', '423', '123', '123'] # Mobile
59
59
  it_splits '61131212', ['61', '13', '12', '12'] # 13 local rate
60
- it_splits '61130012341234', ['61', '1300', '1234', '1234'] # 1300 local rate
61
- it_splits '61180012341234', ['61', '1800', '1234', '1234'] # 1800 free call
60
+ it_splits '611300123123', ['61', '1300', '123', '123'] # 1300 local rate
61
+ it_splits '611800123123', ['61', '1800', '123', '123'] # 1800 free call
62
62
  end
63
63
 
64
64
  describe 'Bahrain' do
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.10
4
+ version: 2.15.11
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-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-23 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