phony 2.12.3 → 2.12.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/phony/countries/italy.rb +158 -5
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04a5f58c6b6d201bb3e281ca88fe53c2a95bbeff
4
- data.tar.gz: 1327cdf00c24dac5dd9f1e9f7affa8f887c58efe
3
+ metadata.gz: cf496c1b468336d8d0ce1b66dd02bd0f0e548fb2
4
+ data.tar.gz: 3793ad504148a52a103b8ccea8e806a84c194605
5
5
  SHA512:
6
- metadata.gz: 772f84fc0f5c6d2d3d21c23f38f6e020ce2a0abb3077b518c99493886b4ccf85aa7706b761e24497eb9e6377ed0e29126b9e9fcb4248fcb344d5e956f2b63325
7
- data.tar.gz: b7831d7dccc0d103b11965386f76e7c1ab9496380f778c1dc38c81d2850c8edc7b216c701ea471bd6b05af779efc8dc6c72f72d384ceeda8c2e9ab88ca89a197
6
+ metadata.gz: a196e4a5f4048f2352a2dd72af587ad7bcdeb22e3478c27d7046d6827e33dedbce8d72634e4678ec760ebf41375de75bef3bcf26526419fe2fd3c87a62d86bef
7
+ data.tar.gz: b132dc0f6690a477d137589663631996f80fa11d213389606b6cd17ca2f6f26ffa62b49bdb2cbb6d9468af0c091e0f6cbdd8862d8385c693e2cbf95980d517b0
@@ -41,48 +41,168 @@ ndcs_3digit = [
41
41
  ]
42
42
 
43
43
  ndcs_4digit = [
44
+ '0121', # Pinerolo
44
45
  '0122', # Sestrieres, Bardonecchia and other Susa Valley mountain resorts
46
+ '0123', # Lanzo Torinese
47
+ '0124', # Rivarolo Canavese
45
48
  '0125', # Ivrea
46
49
  '0131', # Alessandria
47
50
  '0141', # Asti
51
+ '0142', # Casale Monferrato
52
+ '0143', # Novi Ligure
53
+ '0144', # Acqui Terme
48
54
  '0161', # Vercelli
55
+ '0163', # Borgosesia
49
56
  '0165', # Aosta, Courmayeur
50
57
  '0166', # Cervinia
51
58
  '0171', # Cuneo
52
- '0185', # Tigullio
59
+ '0172', # Savigliano
60
+ '0173', # Alba
61
+ '0174', # Mondoví
62
+ '0175', # Saluzzo
63
+ '0182', # Albenga
64
+ '0183', # Imperia
65
+ '0184', # San Remo
66
+ '0185', # Rapallo, Chiavari
53
67
  '0187', # La Spezia and Cinque Terre
54
68
  '0321', # Novara
55
- '0331', # Varese
69
+ '0322', # Arona
70
+ '0323', # Baveno
71
+ '0324', # Domodossola
72
+ '0331', # Busto Arsizio
73
+ '0332', # Varese
56
74
  '0341', # Lecco
57
75
  '0342', # Sondrio
58
- '0369', # Mediaset Cologno Monzese and Segrate TV studios, geographical rate (used for polls, television programs, etc.)
76
+ '0343', # Chiavenna
77
+ '0344', # Menaggio
78
+ '0345', # San Pellegrino Terme
79
+ '0346', # Clusone
80
+ '0362', # Seregno
81
+ '0363', # Treviglio
82
+ '0364', # Breno
83
+ '0365', # Salò
84
+ '0369', # Mediaset Cologno Monzese and Segrate TV studios, premium rate (used for polls, television programs, etc.)
85
+ '0371', # Lodi
86
+ '0372', # Cremona
87
+ '0373', # Crema
88
+ '0374', # Soresina
89
+ '0375', # Casalmaggiore
59
90
  '0376', # Mantua
91
+ '0377', # Codogno
92
+ '0381', # Vigevano
60
93
  '0382', # Pavia
94
+ '0383', # Voghera
95
+ '0384', # Mortara
96
+ '0385', # Stradella
97
+ '0386', # Ostiglia
98
+ '0421', # San Donà di Piave
99
+ '0422', # Treviso
100
+ '0423', # Montebelluna
101
+ '0424', # Bassano del Grappa
61
102
  '0425', # Rovigo
103
+ '0426', # Adria
104
+ '0427', # Spilimbergo
105
+ '0428', # Tarvisio
106
+ '0429', # Este
107
+ '0431', # Cervignano del Friuli
62
108
  '0432', # Udine
109
+ '0433', # Tolmezzo
110
+ '0434', # Pordenone
111
+ '0435', # Pieve di Cadore
112
+ '0436', # Cortina d'Ampezzo
113
+ '0437', # Belluno
114
+ '0438', # Conegliano
115
+ '0439', # Feltre
116
+ '0442', # Legnano
63
117
  '0444', # Vicenza
118
+ '0445', # Schio
64
119
  '0461', # Trento
120
+ '0462', # Cavalese
121
+ '0463', # Cles
65
122
  '0464', # Rovereto
123
+ '0465', # Tione di Trento
66
124
  '0471', # Bolzano
125
+ '0472', # Brixen
126
+ '0473', # Merano
127
+ '0474', # Bruneck
67
128
  '0481', # Gorizia
68
129
  '0521', # Parma
69
130
  '0522', # Reggio nell'Emilia
70
131
  '0523', # Piacenza
132
+ '0524', # Fidenza
133
+ '0525', # Fornovo di Taro
71
134
  '0532', # Ferrara
135
+ '0533', # Comacchio
136
+ '0534', # Porretta Terme
137
+ '0535', # Mirandola
72
138
  '0536', # Sassuolo
73
139
  '0541', # Rimini
140
+ '0542', # Imola
141
+ '0543', # Forlì
142
+ '0544', # Ravenna
143
+ '0545', # Lugo
144
+ '0546', # Faenza
145
+ '0547', # Cesena
74
146
  '0549', # San Marino (Most Serene Republic of San Marino)
147
+ '0564', # Grosseto
148
+ '0565', # Piombino
149
+ '0566', # Follonica
150
+ '0571', # Empoli
151
+ '0572', # Montecatini Terme
75
152
  '0573', # Pistoia
153
+ '0574', # Prato
154
+ '0575', # Arezzo
76
155
  '0577', # Siena
156
+ '0578', # Chianciano Terme
157
+ '0583', # Lucca
158
+ '0584', # Viareggio
159
+ '0585', # Massa
77
160
  '0586', # Livorno
78
- '0769', # RAI Saxa Rubra Studios, geographical rate (used for polls, television programs, etc.)
79
- '0771', # Fondi
161
+ '0587', # Pontedera
162
+ '0588', # Volterra
163
+ '0721', # Province of Pesaro and Urbino
164
+ '0722', # Province of Pesaro and Urbino
165
+ '0731', # Jesi
166
+ '0732', # Fabriano
167
+ '0733', # Macerata
168
+ '0734', # Fermo
169
+ '0735', # San Benedetto del Tronto
170
+ '0736', # Ascoli Piceno
171
+ '0737', # Camerino
172
+ '0742', # Foligno
173
+ '0743', # Spoleto
174
+ '0744', # Terni
175
+ '0746', # Rieti
176
+ '0761', # Viterbo
177
+ '0763', # Orvieto
178
+ '0765', # Poggio Mirteto
179
+ '0766', # Civitavecchia
180
+ '0769', # RAI Saxa Rubra Studios, premium rate (used for polls, television programs, etc.)
181
+ '0771', # Formia, Fondi
80
182
  '0773', # Latina
183
+ '0774', # Tivoli
81
184
  '0775', # Frosinone
185
+ '0776', # Cassino
186
+ '0781', # Iglesias
187
+ '0782', # Lanusei
188
+ '0783', # Oristano
189
+ '0784', # Nuoro
190
+ '0785', # Macomer
82
191
  '0789', # Olbia and Costa Smeralda
83
192
  '0823', # Caserta
84
193
  '0824', # Benevento
85
194
  '0825', # Avellino
195
+ '0827', # Sant'Angelo dei Lombardi
196
+ '0828', # Campagna
197
+ '0831', # Brindisi
198
+ '0832', # Lecce
199
+ '0833', # Gallipoli
200
+ '0835', # Matera
201
+ '0836', # Maglie
202
+ '0861', # Teramo
203
+ '0862', # L'Aquila
204
+ '0863', # Avezzano
205
+ '0864', # Sulmona
86
206
  '0865', # Isernia
87
207
  '0871', # Chieti
88
208
  '0872', # Lanciano
@@ -90,9 +210,41 @@ ndcs_4digit = [
90
210
  '0874', # Campobasso
91
211
  '0875', # Termoli
92
212
  '0881', # Foggia
213
+ '0882', # San Severo
214
+ '0883', # Barletta-Andria-Trani
215
+ '0884', # Manfredonia
216
+ '0885', # Cerignola
217
+ '0921', # Cefalù
218
+ '0922', # Agrigento
219
+ '0923', # Trapani
220
+ '0924', # Alcamo
221
+ '0925', # Sciacca
222
+ '0931', # Siracusa
223
+ '0932', # Ragusa
224
+ '0933', # Caltagirone
225
+ '0934', # Caltanisetta
226
+ '0935', # Enna
227
+ '0941', # Patti
228
+ '0942', # Taormina
93
229
  '0961', # Catanzaro
230
+ '0962', # Crotone
231
+ '0963', # Vibo Valentia
232
+ '0964', # Locri
94
233
  '0965', # Reggio di Calabria
234
+ '0966', # Palmi
235
+ '0967', # Soverato
236
+ '0968', # Lamezia Terme
95
237
  '0971', # Potenza
238
+ '0972', # Melfi
239
+ '0973', # Lagonegro
240
+ '0974', # Vallo della Lucania
241
+ '0975', # Sala Consilina
242
+ '0976', # Muro Lucano
243
+ '0981', # Castrovillari
244
+ '0982', # Paola
245
+ '0983', # Rossano
246
+ '0984', # Cosenza
247
+ '0985', # Scalea
96
248
  ]
97
249
 
98
250
  # All 3-- numbers are reserved for mobile phones according to
@@ -103,6 +255,7 @@ service = [ # Not exhaustive.
103
255
  '112',
104
256
  '113',
105
257
  '115',
258
+ '116',
106
259
  '117',
107
260
  '118',
108
261
  '1515',
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.12.3
4
+ version: 2.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Hanke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2015-03-23 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
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.1
115
+ rubygems_version: 2.2.2
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Fast international phone number (E164 standard) normalizing, splitting and
@@ -135,3 +135,4 @@ test_files:
135
135
  - spec/lib/phony/national_splitters/variable_spec.rb
136
136
  - spec/lib/phony/vanity_spec.rb
137
137
  - spec/lib/phony_spec.rb
138
+ has_rdoc: false