phony 2.18.5 → 2.18.6
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 +4 -4
- data/lib/phony/countries/argentina.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8afd3ed939496b1ce35893209cd138097885e20c7f0add0b78559acd00f74b6
|
|
4
|
+
data.tar.gz: 22578a1536cf7d0b39d91420f13e210e5cfac952a7cc2472886eaace2a2ca646
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,
|
|
352
|
-
one_of(area_codes_3digits.map{|x| "9#{x}" }) >> split(3,
|
|
353
|
-
one_of(area_codes_4digits.map{|x| "9#{x}" }) >> split(2,
|
|
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.
|
|
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-
|
|
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
|