phony 2.16.2 → 2.16.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: f3ea72c8c92e5024ffb5fccb4e03f176ded23188
4
- data.tar.gz: 02ac3824d0bd12a5ff74916729f64c2e18feffae
3
+ metadata.gz: a7c21a8c6e8081e6ef55bb582caa1b4c395bc134
4
+ data.tar.gz: 2d15cf9be4f0912ac1e03b81cd12750aabdf5cc2
5
5
  SHA512:
6
- metadata.gz: e4c1cae30ad536a2a05150f5417940e4cdd749ac3bb4797f4304b2a491131efe55440024740988c11125f4461c381a41432b3a83f0070454c96d148c75e17879
7
- data.tar.gz: 90be70dd85aa56904afbb39d3c611333554a75172064270e1cae5339e987ed311e49e4fc6776069cd58aa7005d4a5c3f617a3c376e9107c25cd4856a4c686378
6
+ metadata.gz: 8d4384ce970c0650b68b6c8afb8b936784ac52c0fd862462c690bc22487e633c2ac8033288cb27a1521e1272e5a456d3e32130f0fb1f5160404806874f059888
7
+ data.tar.gz: 7f634655df245f4c5de104a80a4f32aeec95338cb4129aadf0297193fc8576923798ac4acdf8fcd01992e59598525d9cd366c55611151345fb8bda1308033b7e
@@ -52,6 +52,7 @@ mobile = [
52
52
  '680',
53
53
  '681',
54
54
  '688',
55
+ '690',
55
56
  '699',
56
57
  ]
57
58
 
@@ -2,8 +2,8 @@
2
2
  # https://www.numberingplans.com/?page=dialling&sub=areacodes
3
3
  # https://www.numberingplans.com/?page=plans&sub=phonenr&alpha_2_input=GE
4
4
 
5
- ndcs_with_7_subscirber_digits = %w(32)
6
- ndcs_with_6_subscirber_digits = %w(
5
+ ndcs_with_7_subscriber_digits = %w(32)
6
+ ndcs_with_6_subscriber_digits = %w(
7
7
  341
8
8
  342
9
9
  344
@@ -86,7 +86,7 @@ Phony.define do
86
86
  trunk('0') |
87
87
  one_of('220') >> split(3,2) |
88
88
  one_of(%w(514 550 551 555 557 558 568 571 574 577 578 579 591 592 593 595 596 597 598 599 770 790)) >> split(3,3) | # mobile
89
- one_of(ndcs_with_6_subscirber_digits) >> split(3,3) |
90
- one_of(ndcs_with_7_subscirber_digits) >> split(3,4) |
89
+ one_of(ndcs_with_6_subscriber_digits) >> split(3,3) |
90
+ one_of(ndcs_with_7_subscriber_digits) >> split(3,4) |
91
91
  fixed(3) >> split(3,3)
92
92
  end
@@ -51,6 +51,7 @@ describe 'country descriptions' do
51
51
  it_splits '436880000000', %w( 43 688 0000 000 ) # Mobile
52
52
  it_splits '4366900000000', %w( 43 669 0000 0000 ) # Mobile
53
53
  it_splits '4367000000000', %w( 43 670 0000 0000 ) # Mobile
54
+ it_splits '4369000000000', %w( 43 690 0000 0000 ) # Mobile
54
55
  it_splits '433161234567891', %w( 43 316 1234567891 ) # Graz
55
56
  it_splits '432164123456789', %w( 43 2164 123456789 ) # Rohrau
56
57
  it_splits '43720116987', %w( 43 720 116987 ) # VoIP
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.16.2
4
+ version: 2.16.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: 2017-12-22 00:00:00.000000000 Z
11
+ date: 2018-01-08 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