phony 2.20.8 → 2.20.9
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/italy.rb +1 -0
- data/spec/functional/plausibility_spec.rb +3 -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: 3d74174244f95d313c9addce1e9bdf6977534fb4accc356566f6e4435b183ec6
|
|
4
|
+
data.tar.gz: e694651c6c3293c9b967ada7eb306913114ede441ed99a920f7acae49186f9a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb0dbf2b5a0e42436c116cb4047dc4848783de6caff1889430b1b3f2b32925ba6eb24428217c1841278ca248f69bb5ec44a8987e6a7beacd29f31147589bd442
|
|
7
|
+
data.tar.gz: 6a586b100039f976fef6f800d5021e6219dbd26c80d22c3945dd588573e65e3f0e64e0e7929b97c87b119b5bc2204386baa9c7fd3b1ebf420830dab247aaa510
|
|
@@ -636,6 +636,9 @@ describe 'plausibility' do
|
|
|
636
636
|
|
|
637
637
|
Phony.plausible?('+39 803 08163').should be_falsy
|
|
638
638
|
Phony.plausible?('+39 803 081').should be_truthy
|
|
639
|
+
|
|
640
|
+
Phony.plausible?('+39 06 8323074181').should be_falsy
|
|
641
|
+
Phony.plausible?('+39 06 832307418').should be_truthy
|
|
639
642
|
end
|
|
640
643
|
|
|
641
644
|
it 'is correct for Russia' 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.20.
|
|
4
|
+
version: 2.20.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Hanke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-16 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
|