phony 2.17.1 → 2.17.2
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/ireland.rb +1 -1
- data/spec/lib/phony/countries_spec.rb +1 -0
- 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: 8714dea1833061c894ff4f5d33818aaba74fe8b4f2c2a2bc52a2672f9a0f9d01
|
|
4
|
+
data.tar.gz: 61c22d184e6754b933a53c05f0ac2aa6399d5207c8d8a1e223534a85d966d1f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17504c3bb2bb08f62aef562c3293aff6068c6415bf159f9e104b093f892e234438c6d664bfb0557ba900dc3bced9bbcec6c631bbfd2b8cd5a156730f9e5ef448
|
|
7
|
+
data.tar.gz: 63fb26f823caf2948d11fa5a2d13313db2c2956d2a0873afdf709d0a6e1d7d112d95d0117f366670e0f285b7f280fb39ed726321199715899742b20bb456a551
|
|
@@ -15,7 +15,6 @@ ndcs_with_5_subscriber_digits = [
|
|
|
15
15
|
'402', # Arklow
|
|
16
16
|
'404', # Wicklow
|
|
17
17
|
'43', # Longford, Granard
|
|
18
|
-
'44', # Mullingar, Castlepollard, Tyrellspass
|
|
19
18
|
'47', # Monaghan, Clones
|
|
20
19
|
'48', # Northern Ireland
|
|
21
20
|
'502', # Portlaoise, Abbeyleix
|
|
@@ -48,6 +47,7 @@ ndcs_with_7_subscriber_digits = [
|
|
|
48
47
|
'21', # Cork, Coachford, Kinsale
|
|
49
48
|
'41', # Ardee
|
|
50
49
|
'42', # Dundalk, Carrickmacross, Castleblaney
|
|
50
|
+
'44', # Mullingar, Castlepollard, Tyrellspass
|
|
51
51
|
'46', # Navan, Kells, Trim, Enfield, Edenderry
|
|
52
52
|
'49', # Cavan, Cootehill, Oldcastle, Belturbet
|
|
53
53
|
'53', # Wexford, Enniscorthy, Ferns, Gorey, Craanford
|
|
@@ -401,6 +401,7 @@ describe 'country descriptions' do
|
|
|
401
401
|
it_splits '35311234567', ['353', '1', '123', '4567'] # Dublin, 7 digit subscriber #
|
|
402
402
|
it_splits '353539233333', ['353', '53', '923', '3333'] # Wexford, 7 digit subscriber
|
|
403
403
|
it_splits '3532212345', ['353', '22', '12345'] # Mallow, 5 digit subscriber #
|
|
404
|
+
it_splits '353441234567', ['353', '44', '123', '4567'] # Mullingar, Castlepollard, Tyrellspass 7 digit subscriber #
|
|
404
405
|
it_splits '35345123456', ['353', '45', '123456'] # Naas, 6 digit subscriber #
|
|
405
406
|
it_splits '353801234567', ['353', '80', '123', '4567'] # Mobile
|
|
406
407
|
it_splits '353761234567', ['353', '76', '123', '4567'] # 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.17.
|
|
4
|
+
version: 2.17.2
|
|
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-04-
|
|
11
|
+
date: 2019-04-22 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
|