phony 2.18.5 → 2.18.6

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
  SHA256:
3
- metadata.gz: da81c89f8da18101dd1ad489ec5c6e7c66d6f3836058ba9b33f1eb4c02395ea2
4
- data.tar.gz: a8fe8edd6e28d32ad7a0ea2ccdfb69c52897c2163f735b44b3e71e3fed7175ea
3
+ metadata.gz: c8afd3ed939496b1ce35893209cd138097885e20c7f0add0b78559acd00f74b6
4
+ data.tar.gz: 22578a1536cf7d0b39d91420f13e210e5cfac952a7cc2472886eaace2a2ca646
5
5
  SHA512:
6
- metadata.gz: b36455cfb130e3657e423b331f7a2978fd960be66af3834335506ce3c0a17690bb9775aefacbba1b5a617550e6f42f34b8e7a5c1c9cfb67d6a4d7e95cc2e17b0
7
- data.tar.gz: 82d22fff926d5225418694fdcaa8553f621d529151f870d05530b74b11b9405b3164a67e7bc8bc14638610da58c14f0680939a7762243ec93f4d262f9d7b3b22
6
+ metadata.gz: 9e8c2367409ffce25c1b277ddbe7f20584e1a5a144f681816dc348348fb36eecda6978a14f66f824dd2776b146d83e3890646d8acd75ddf9a19f5c37aafd16d5
7
+ data.tar.gz: 50a8c60cdbb8aaf2692e54726a03e3fb67e79c37e3c2bfd6669657c3b9753f856947d094168cce2486f4119ac36b56db49855d0a5e56dba7c1c4ac6d3e3182c3
@@ -348,8 +348,8 @@ Phony.define do
348
348
  one_of(area_codes_4digits) >> split(2, 4) | # landline
349
349
  one_of(area_codes_3digits) >> split(3, 4) | # landline
350
350
  one_of(area_codes_2digits) >> split(4, 4) | # landline
351
- one_of(area_codes_2digits.map{|x| "9#{x}" }) >> split(4, 5) | # mobile
352
- one_of(area_codes_3digits.map{|x| "9#{x}" }) >> split(3, 5) | # mobile
353
- one_of(area_codes_4digits.map{|x| "9#{x}" }) >> split(2, 5) | # mobile
351
+ one_of(area_codes_2digits.map{|x| "9#{x}" }) >> split(4, 4) | # mobile
352
+ one_of(area_codes_3digits.map{|x| "9#{x}" }) >> split(3, 4) | # mobile
353
+ one_of(area_codes_4digits.map{|x| "9#{x}" }) >> split(2, 4) | # mobile
354
354
  one_of(special_numbers) >> split(3, 4)
355
355
  end
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.18.5
4
+ version: 2.18.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Hanke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-28 00:00:00.000000000 Z
11
+ date: 2019-09-04 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