phony 2.12.4 → 2.12.5

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: cf496c1b468336d8d0ce1b66dd02bd0f0e548fb2
4
- data.tar.gz: 3793ad504148a52a103b8ccea8e806a84c194605
3
+ metadata.gz: b68aff7c06c3b376114d3c8dee232f9d3ef93907
4
+ data.tar.gz: 47ab5ce24f588b947a47990391c9810da3cf556d
5
5
  SHA512:
6
- metadata.gz: a196e4a5f4048f2352a2dd72af587ad7bcdeb22e3478c27d7046d6827e33dedbce8d72634e4678ec760ebf41375de75bef3bcf26526419fe2fd3c87a62d86bef
7
- data.tar.gz: b132dc0f6690a477d137589663631996f80fa11d213389606b6cd17ca2f6f26ffa62b49bdb2cbb6d9468af0c091e0f6cbdd8862d8385c693e2cbf95980d517b0
6
+ metadata.gz: a8a006c46a7165ef4b46479daef633c79b7e763f15cd9448653aa05fef290d1f44e426ba89fe29fa1672819a44f3a0312eb97ee0034134ac7c531090e23ac6d5
7
+ data.tar.gz: ff24ecc68f512578560a668e6717546c1318645f1335f7b7a5940be2a87152ed55d7ccc7552a339de50e8b684bebdcdff2d02fa1ddff98ff7e95f10e1c16725e
@@ -114,7 +114,7 @@ Phony.define do
114
114
  country '40',
115
115
  trunk('0') |
116
116
  match(/^(112|800|90[036])\d+$/) >> split(3,3) | # Service
117
- match(/^(7[1-8])\d+$/) >> split(3,4) | # Mobile
117
+ match(/^(7[1-9])\d+$/) >> split(3,4) | # Mobile
118
118
  one_of('21', '31') >> split(3,4) | # Bucureşti
119
119
  fixed(3) >> split(3,4) # 3-digit NDCs
120
120
 
@@ -525,6 +525,7 @@ describe 'country descriptions' do
525
525
  describe 'Romania' do
526
526
  it_splits '40211231234', ['40', '21', '123', '1234'] # Bucureşti
527
527
  it_splits '40721231234', ['40', '72', '123', '1234'] # mobile
528
+ it_splits '40791231234', ['40', '79', '123', '1234'] # mobile
528
529
  it_splits '40249123123', ['40', '249', '123', '123'] # Olt
529
530
  end
530
531
  describe 'Russia' 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.12.4
4
+ version: 2.12.5
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-03-23 00:00:00.000000000 Z
11
+ date: 2015-03-26 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
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.2.2
115
+ rubygems_version: 2.4.5
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Fast international phone number (E164 standard) normalizing, splitting and
@@ -135,4 +135,3 @@ test_files:
135
135
  - spec/lib/phony/national_splitters/variable_spec.rb
136
136
  - spec/lib/phony/vanity_spec.rb
137
137
  - spec/lib/phony_spec.rb
138
- has_rdoc: false