phone_classifier 0.0.8 → 0.0.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.
- data/README.md +2 -0
- data/lib/phone_classifier/forbidden.rb +2 -0
- data/lib/phone_classifier/mobile.rb +2 -0
- metadata +1 -1
data/README.md
CHANGED
@@ -38,6 +38,7 @@ Supported Countries
|
|
38
38
|
* +47, Norway
|
39
39
|
* +48, Poland
|
40
40
|
* +49, Germany
|
41
|
+
* +54, Argentina
|
41
42
|
* +60, Malaysia
|
42
43
|
* +65, Singapore
|
43
44
|
* +94, Sri Lanka
|
@@ -65,6 +66,7 @@ Supported Countries
|
|
65
66
|
* +386, Slovenia
|
66
67
|
* +420, Czech Republic
|
67
68
|
* +421, Slovakia
|
69
|
+
* +503, El Salvador
|
68
70
|
* +509, Haiti
|
69
71
|
* +852, Hong Kong
|
70
72
|
|
@@ -21,6 +21,7 @@ module Forbidden
|
|
21
21
|
'47' => %w{ 8.. }, # Norway
|
22
22
|
'48' => %w{70., 80.}, # Poland
|
23
23
|
'49' => %w{ 1. 164 168 169 180 181 19[0-4] 800 900 }, # Germany
|
24
|
+
'54' => %w{ 6.. 8.. }, # Argentina
|
24
25
|
'60' => %w{ 100 101 102 103 104 108 112 991 994 995 999 }, # Malaysia
|
25
26
|
'65' => %w{ 3... 800 1800 1900 }, # Singapore
|
26
27
|
'91' => %w{ 90 95 96 }, # India
|
@@ -48,6 +49,7 @@ module Forbidden
|
|
48
49
|
'386' => %w{ 80 89 90 }, # Slovenia
|
49
50
|
'420' => %w{ 8.. 9.. }, # Czech republic
|
50
51
|
'421' => %w{ }, # Slovakia
|
52
|
+
'503' => %w{ }, # El Salvador
|
51
53
|
'509' => %w{ 8. 9. }, # Haiti
|
52
54
|
'852' => %w{ 7... 8...}, # Hong Kong
|
53
55
|
}
|
@@ -21,6 +21,7 @@
|
|
21
21
|
'47' => %w{ 9.. 4.. 58. 59. }, # Norway
|
22
22
|
'48' => %w{50. 51. 53. 60. 66. 69. 72. 78. 79. 88.}, # Poland
|
23
23
|
'49' => %w{ 151 152 157 159 160 162 163 17[0-9] }, # Germany
|
24
|
+
'54' => %{ .. ... .... }, # Argentina (Everything can be mobile)
|
24
25
|
'60' => %w{ 10 11 12 13 14 153 154 156 158 16 17 18 19 }, # Malaysia
|
25
26
|
'65' => %w{ 8... 9... }, # Singapore
|
26
27
|
'91' => %w{ 91 92 93 94 97 98 99 }, # India
|
@@ -48,6 +49,7 @@
|
|
48
49
|
'386' => %w{ 30 40 31 41 51 71 70 64}, # Slovenia
|
49
50
|
'420' => %w{ 60[1-8] 72. 73. 77. 79. 91 }, # Czech Republic
|
50
51
|
'421' => %w{ 9.. }, # Slovakia
|
52
|
+
'503' => %w{ 6... 7... }, # El Salvador
|
51
53
|
'509' => %w{ 32 33 34 35 36 37 38 39 4. }, # Haiti
|
52
54
|
'852' => %w{ 5... 6... 9... }, # Hong Kong
|
53
55
|
}
|