phony 2.18.6 → 2.18.7
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/germany.rb +1 -1
- data/spec/functional/plausibility_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc7effe6a83fbea02459d9360ed7b3110943b0f2f6cdd93842ba49a8b0c57a53
|
|
4
|
+
data.tar.gz: 2cce60443a4838b3d00465b4f846ee4672cae256b777b86a5b2a6ef21c09c4ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47fd5724f9f51c3f9ebec8066d807cec3696b29e28bb0089dea3f161dcac1f44339f77c14d47dd96666e975c0dea71f83c16f66bc4b30c2342ee476eb1204668
|
|
7
|
+
data.tar.gz: 2f5c1eb7b33ab1666ed3a8bcf84dab9accf91a0da767876f055266ac5a7b679e38d5f29fc4b895cf1d481e60b545763a2721cd2e852f331e5155a7040208d885
|
|
@@ -4090,7 +4090,7 @@ Phony.define do
|
|
|
4090
4090
|
one_of(*service) >> split(3,1..9) |
|
|
4091
4091
|
one_of(*mobile_4digits) >> split(3,4) |
|
|
4092
4092
|
one_of(*mobile_3digits) >> split(4,3..4) |
|
|
4093
|
-
one_of(*ndcs2) >> split(3,
|
|
4093
|
+
one_of(*ndcs2) >> split(3,1..10) |
|
|
4094
4094
|
one_of(*ndcs3) >> split(3,1..9) |
|
|
4095
4095
|
one_of(*ndcs4) >> split(3,0..8) |
|
|
4096
4096
|
fixed(5) >> split(3,0..7)
|
|
@@ -251,6 +251,7 @@ describe 'plausibility' do
|
|
|
251
251
|
it_is_correct_for 'Gabonese Republic', :samples => '+241 1 627 739'
|
|
252
252
|
it_is_correct_for 'Gambia', :samples => '+220 989 5148'
|
|
253
253
|
it_is_correct_for 'Germany', :samples => [
|
|
254
|
+
'+49 69 155 1',
|
|
254
255
|
'+49 1577 536 8701'
|
|
255
256
|
]
|
|
256
257
|
it_is_correct_for 'Georgia', :samples => ['+995 220 123 45',
|