phony 2.14.8 → 2.14.9

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: 88549e8d81c01fe53f690601ef47de50dff9aaaa
4
- data.tar.gz: 38f9de728e747b9cb18d043bc3fa3771cb371679
3
+ metadata.gz: d899b7238e4730c3c4dc1c8363e25cc7056e1519
4
+ data.tar.gz: dd00c40bf2d45b68d5795c6531b5dc5ce68b45a9
5
5
  SHA512:
6
- metadata.gz: c03d91af67bfac5b15227623763acff1d98234823a90d43216382e7a04a4376ff6b3eec3e4f84952f3150313234a070c367084b54cb601d5ce01b346808e23bf
7
- data.tar.gz: aecefdac79fceb121e61353ae527bab2ac578c3d3b4cae4734ea5984fa96d95f9f8595f30517ed9f6cab094d8df5d96545341231f66b55eca6c0c7d30e71f0cd
6
+ metadata.gz: 6e60482959cc85b8bde5b75c2f422bb822a9ac9a3a147eb185ef454e5a28f6ec18343210c9c813d7e949c894b390966421b0172be07224030a48f3582ac17768
7
+ data.tar.gz: 2bde5d6738291e1809003f78972fab5a2134f0601c684f005e0420f213617622f0c87019b972acde44d40e8a8c46dc38872844cc74ce6638f472038789603fc3
@@ -732,7 +732,7 @@ Phony.define do
732
732
  fixed(1) >> split(3,4)
733
733
 
734
734
  # El Salvador (Republic of)
735
- country '503', fixed(4) >> split(4,4)
735
+ country '503', fixed(4) >> split(4)
736
736
 
737
737
  # Honduras (Republic of) http://www.wtng.info/wtng-504-hn.html
738
738
  # https://www.numberingplans.com/?page=dialling&sub=areacodes
@@ -177,6 +177,10 @@ describe 'plausibility' do
177
177
  it_is_correct_for 'Reunion / Mayotte (new)', :samples => '+262 295 276 964'
178
178
  it_is_correct_for 'Saint Helena', :samples => '+290 5134'
179
179
  it_is_correct_for 'Saint Pierre and Miquelon (Collectivité territoriale de la République française)', :samples => '+508 474 714'
180
+ it_is_correct_for 'Salvador (El)', :samples => [
181
+ '+503 2112 1234',
182
+ '+503 6112 1234'
183
+ ]
180
184
  it_is_correct_for 'Samoa (Independent State of)', :samples => ['+685 800 123',
181
185
  '+685 61 123',
182
186
  '+685 721 2345',
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.14.8
4
+ version: 2.14.9
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-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-17 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