phony 2.17.0 → 2.17.1
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.rb +1 -0
- data/spec/lib/phony/countries_spec.rb +2 -1
- 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: 36d6e16b362c50a1aa52f246d0b931d74b49cc3fd37e4fe9f5551db542a13cbe
|
|
4
|
+
data.tar.gz: 87ac8a6da326707df10eac2055e74c05a6691a2d4fa47f18733cbb0bbc9b2111
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a7a389f94b0c7ad4de95113cbfa391653c4fd9bb0e443ad89b1768a0378edb85c32d32659365792a1c86bb988ee8a698504ec141898fb46f707c76f341e440e
|
|
7
|
+
data.tar.gz: 6077317c2e76ce1db698e02ae0936565b0e3be9b91096f50f49b0ff13a67514b2f6f82f5df7fb9274fa5e5f8f616f912b1abe5b009613e9fcec2ef21a45c1073
|
data/lib/phony/countries.rb
CHANGED
|
@@ -329,7 +329,8 @@ describe 'country descriptions' do
|
|
|
329
329
|
end
|
|
330
330
|
|
|
331
331
|
describe 'Hong Kong' do
|
|
332
|
-
it_splits '85212341234', ['852', false, '1234', '1234']
|
|
332
|
+
it_splits '85212341234', ['852', false, '1234', '1234'] #Other Numbers
|
|
333
|
+
it_splits '852800121234', ['852', '800', '12', '1234'] #Toll Free
|
|
333
334
|
end
|
|
334
335
|
|
|
335
336
|
describe 'Hungary' 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.17.
|
|
4
|
+
version: 2.17.1
|
|
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-04-01 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
|