phony 2.10.2 → 2.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb033161f929557a2dbf12d42456b2142d6137bb
4
- data.tar.gz: 552cb66297f8145a4cf2a448a3babdd6e52ea156
3
+ metadata.gz: cfad2ec40ec90ac3078ab9139e8c4f8f790fd057
4
+ data.tar.gz: b3e8672ed3af366fd97e243c23163ac10445fe3a
5
5
  SHA512:
6
- metadata.gz: c6e75ce246cc9b4f697682f54354467d62db2523e2b0465f27ffe32fd61380d7129ee923f4ca24790e777b6ca3f3819c47894c38a1e05bbf0c89521fb73ada50
7
- data.tar.gz: fd809a13783a6fdb671945d458ba2c20cbd74d2244be497823cb26fc73e5fefd1f6f693aa92ceef276fedb99548c3f2d23ed078da210e6072f327a906da9cdfa
6
+ metadata.gz: 9da0c508ace82df68aae2b75622fd74080f436075a5cddb548eb55a5447e1a36fc9847254e4f97e961ae400f2156605c5a94c678854fb4ba73b5146d6af61523
7
+ data.tar.gz: bf4244d4dd5c3bfb1a5de8e3cde37bf601ebdfd5d21ee74968cc4afc763310ac7d65538495f2f8494d8c820879fbe2569cd35a01925577c4ec49a3f565fb6b91
@@ -842,7 +842,7 @@ Phony.define do
842
842
  country '686', none >> split(2,3) # Kiribati (Republic of) http://www.wtng.info/wtng-686-ki.html
843
843
  country '687', none >> split(3,3) # New Caledonia (Territoire français d'outre-mer) http://www.wtng.info/wtng-687-nc.html
844
844
  country '688', none >> split(5) # Tuvalu http://www.wtng.info/wtng-688-tv.html
845
- country '689', none >> split(3,3) # French Polynesia (Territoire français d'outre-mer) http://www.wtng.info/wtng-689-pf.html
845
+ country '689', none >> split(2,2,2,2) # French Polynesia (Territoire français d'outre-mer) http://www.wtng.info/wtng-689-pf.html
846
846
 
847
847
  country '690', fixed(1) >> split(3) # Tokelau http://www.wtng.info/wtng-690-tk.html
848
848
  country '691', none >> split(3, 4) # Micronesia (Federated States of) http://www.wtng.info/wtng-691-fm.html
@@ -579,7 +579,7 @@ describe 'plausibility' do
579
579
  it_is_correct_for 'Faroe Islands', :samples => '+298 969 597'
580
580
  it_is_correct_for 'Fiji (Republic of)', :samples => '+679 998 2441'
581
581
  it_is_correct_for 'French Guiana (French Department of)', :samples => '+594 594 123 456'
582
- it_is_correct_for "French Polynesia (Territoire français d'outre-mer)", :samples => '+689 872 784'
582
+ it_is_correct_for "French Polynesia (Territoire français d'outre-mer)", :samples => '+689 87 27 84 00'
583
583
  it_is_correct_for 'Gabonese Republic', :samples => '+241 1 627 739'
584
584
  it_is_correct_for 'Gambia', :samples => '+220 989 5148'
585
585
  it_is_correct_for 'Germany', :samples => [
@@ -773,7 +773,7 @@ describe 'country descriptions' do
773
773
  it_splits '594594123456', %w(594 594 123 456)
774
774
  end
775
775
  describe "French Polynesia (Territoire français d'outre-mer)" do
776
- it_splits '689219889', ['689', false, '219', '889']
776
+ it_splits '68921988900', ['689', false, '21', '98', '89', '00']
777
777
  end
778
778
  describe 'Gabonese Republic' do
779
779
  it_splits '2411834375', ['241', '1', '834', '375']
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.10.2
4
+ version: 2.10.3
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-01-23 00:00:00.000000000 Z
11
+ date: 2015-01-28 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