phony 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phony/countries/austria.rb +10 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8962dd146c8cbf465a677681c21f4e85118d5498
|
4
|
+
data.tar.gz: 5658d9cbc17e3ee1f9efd99b205397462c82decf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 145ce5c03dca0106a0cbb7bdc1226f50fa2755b2aadb109b9ad0b4cecf704a7e23a745623ac97204ff4505169778954519327425a782e2659a20211407e6b04d
|
7
|
+
data.tar.gz: 187286eeffa3f0e7100d11922ce42d87b74415c530ed8ae8ee3e566b7fd54aff5a93e3f4946baea83293197b11be36595dcd83d045eaa5d35657fc1ecf305ba6
|
@@ -4,6 +4,7 @@ ndcs = [
|
|
4
4
|
# '1', # Vienna
|
5
5
|
'89', # Routing Number
|
6
6
|
'316', # Graz
|
7
|
+
'463', # Klagenfurt
|
7
8
|
'512', # Innsbruck
|
8
9
|
'662', # Salzburg
|
9
10
|
'732' # Linz
|
@@ -49,6 +50,13 @@ mobile = [
|
|
49
50
|
'699',
|
50
51
|
]
|
51
52
|
|
53
|
+
mobile_2digit = [
|
54
|
+
'67',
|
55
|
+
'68',
|
56
|
+
'69',
|
57
|
+
]
|
58
|
+
|
59
|
+
|
52
60
|
service = [
|
53
61
|
'710',
|
54
62
|
'711',
|
@@ -79,7 +87,8 @@ Phony.define do
|
|
79
87
|
one_of(service) >> split(9..9) |
|
80
88
|
one_of(corporate) >> split(5..5) |
|
81
89
|
one_of(ndcs) >> split(6..6) |
|
82
|
-
one_of(mobile) >> split(7..7) |
|
83
90
|
one_of('663') >> split(6..6) | # 6 digit mobile.
|
91
|
+
one_of(mobile) >> split(7..7) |
|
92
|
+
one_of(mobile_2digit) >> split(7..7) | # Separate as mobile contains 676 - 67 violates the prefix rule.
|
84
93
|
fixed(4) >> split(7..7)
|
85
94
|
end
|