phony 2.15.31 → 2.15.32
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/vietnam.rb +7 -5
- data/spec/lib/phony/countries_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bbc5562935bbf1fdaf45c7d1d0370085d0c9e10
|
|
4
|
+
data.tar.gz: 9e0d7d7bd819975aa33dbdae71a1cda249a5565e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c38998355a9e519c6d39886807aca65826c36b4a74126aee8eab610473241ed5e3d296b21f91f56e690da79ea1b60b5dd229ec112914af42e88d8d97c2ea9da
|
|
7
|
+
data.tar.gz: a7c2240aed6e05660d917d65dadda2bc2c44969cdccbb2ed17fb8b57d5b991f5eed73332cbcbe82ddfeaf801165c8b524066c10f1dfa8c6eb7578c6eda982db0
|
|
@@ -81,6 +81,9 @@ ndcs_with_8_subscriber_digits = [
|
|
|
81
81
|
]
|
|
82
82
|
|
|
83
83
|
mobile = [
|
|
84
|
+
'86', # Viettel Mobile
|
|
85
|
+
'88', # Vinaphone
|
|
86
|
+
'89', # MobiFone
|
|
84
87
|
'90', # MobiFone
|
|
85
88
|
'91', # Vinaphone
|
|
86
89
|
'92', # Vietnamobile (previously known as HT Mobile)
|
|
@@ -90,10 +93,7 @@ mobile = [
|
|
|
90
93
|
'96', # previously EVN Telecom, now Viettel Mobile
|
|
91
94
|
'97', # Viettel Mobile
|
|
92
95
|
'98', # Viettel Mobile
|
|
93
|
-
'
|
|
94
|
-
'997', # Gmobile (traded as Beeline)
|
|
95
|
-
'998', # Indochina Telecom
|
|
96
|
-
'999', # Indochina Telecom
|
|
96
|
+
'99', # Gmobile (traded as Beeline)
|
|
97
97
|
'120', # MobiFone
|
|
98
98
|
'121', # MobiFone
|
|
99
99
|
'122', # MobiFone
|
|
@@ -104,6 +104,7 @@ mobile = [
|
|
|
104
104
|
'127', # Vinaphone
|
|
105
105
|
'128', # MobiFone
|
|
106
106
|
'129', # Vinaphone
|
|
107
|
+
'162', # Viettel Mobile
|
|
107
108
|
'163', # Viettel Mobile
|
|
108
109
|
'164', # Viettel Mobile
|
|
109
110
|
'165', # Viettel Mobile
|
|
@@ -113,7 +114,8 @@ mobile = [
|
|
|
113
114
|
'169', # Viettel Mobile
|
|
114
115
|
'186', # Vietnamobile
|
|
115
116
|
'188', # Vietnamobile (previously known as HT Mobile)
|
|
116
|
-
'199' # GTel (traded as Beeline)
|
|
117
|
+
'199', # GTel (traded as Beeline)
|
|
118
|
+
'868' # GTel (traded as Beeline)
|
|
117
119
|
]
|
|
118
120
|
|
|
119
121
|
mobile_with_trunk = mobile.map{|num| "0#{num}" }
|
|
@@ -745,7 +745,7 @@ describe 'country descriptions' do
|
|
|
745
745
|
end
|
|
746
746
|
describe 'Vietnam' do
|
|
747
747
|
it_splits '8498123456', ['84', '98', '123456'] # Viettel Mobile
|
|
748
|
-
it_splits '8499612345', ['84', '
|
|
748
|
+
it_splits '8499612345', ['84', '99', '612345'] # GTel
|
|
749
749
|
it_splits '84412345678', ['84', '4', '1234', '5678'] # Hanoi
|
|
750
750
|
end
|
|
751
751
|
describe 'Zambia' 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.15.
|
|
4
|
+
version: 2.15.32
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Hanke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-09-
|
|
11
|
+
date: 2016-09-23 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
|