codice-fiscale 1.0.0 → 1.0.1
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/README.md +3 -3
- data/codice_fiscale.gemspec +1 -1
- data/lib/codice_fiscale/codes/city_codes.csv +25 -15
- data/lib/codice_fiscale/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89e95f933b63caed0471e5f122e8c75edec7103d60c60ffe7ec94cbba683406a
|
4
|
+
data.tar.gz: 37f446137438d2d3ff95d7d559b2a0f860bd03e557fa6da60ae37efcaef51185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e98eaa75284471bd9b3cbd1828dc3ba12c724121b75c998188850433817aab1e69e898e7232230a0f6bfed96be469c0dd087631fe1fa441ac2392776b0b9b872
|
7
|
+
data.tar.gz: e7a39273e69faa6dcdc3291971775d40372e0abd18b8418dc986a0f831fccf21b215728bb630a09329a4b765215f4db0301a46e5af535c950cc97798913bd130
|
data/README.md
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
# Codice Fiscale (Italian Tax ID)
|
5
5
|
|
6
|
-
A Ruby gem that calculates the *Codice
|
6
|
+
A Ruby gem that calculates the *Codice Fiscale* (Italian Tax ID).
|
7
7
|
|
8
|
-
The *Codice
|
8
|
+
The *Codice Fiscale* is an identifier unique to each person that is used when dealing with Italian government offices or for private concerns and is formulated using a combination of the person’s name, place and date of birth. Usually it is attributed by the Office of Income Revenue (*Agenzia delle Entrate*) through local tax offices.
|
9
9
|
|
10
10
|
The code is 16 characters long and includes both letters and numbers, for e.g: `RSSMRA90A01H501W` (taken from [this sample card](https://i.imgur.com/UVXKDX8.png)). Read more on [wikipedia](http://en.wikipedia.org/wiki/Italian_fiscal_code_card) or [here](https://itamcap.com/italian-tax-id).
|
11
11
|
|
@@ -39,7 +39,7 @@ And then execute the `bundle install` command.
|
|
39
39
|
```
|
40
40
|
|
41
41
|
## City codes (Codici Catastali)
|
42
|
-
As explained above, one of the information required to calculate the
|
42
|
+
As explained above, one of the information required to calculate the tax ID is the birthplace.
|
43
43
|
If a person was born outside Italy, only the italian name of the country is required.
|
44
44
|
For example, an italian citizen born in France:
|
45
45
|
|
data/codice_fiscale.gemspec
CHANGED
@@ -3,7 +3,7 @@ require File.expand_path('../lib/codice_fiscale/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["topac"]
|
6
|
-
gem.email = ["
|
6
|
+
gem.email = ["topac@users.noreply.github.com"]
|
7
7
|
gem.description = %q{Calculate the Italian Tax ID (Codice Fiscale)}
|
8
8
|
gem.summary = %q{Calculate the Italian Tax ID (Codice Fiscale)}
|
9
9
|
gem.homepage = "https://github.com/topac/codice_fiscale"
|
@@ -192,7 +192,7 @@ Piscina,TO,G705
|
|
192
192
|
Piverone,TO,G719
|
193
193
|
Poirino,TO,G777
|
194
194
|
Pomaretto,TO,G805
|
195
|
-
Pont
|
195
|
+
Pont Canavese,TO,G826
|
196
196
|
Porte,TO,G900
|
197
197
|
Pragelato,TO,G973
|
198
198
|
Prali,TO,G978
|
@@ -739,13 +739,13 @@ Bruno,AT,B221
|
|
739
739
|
Bubbio,AT,B236
|
740
740
|
Buttigliera d'Asti,AT,B306
|
741
741
|
Calamandrana,AT,B376
|
742
|
-
Calliano,AT,B418
|
742
|
+
Calliano Monferrato,AT,B418
|
743
743
|
Calosso,AT,B425
|
744
744
|
Camerano Casasco,AT,B469
|
745
745
|
Canelli,AT,B594
|
746
746
|
Cantarana,AT,B633
|
747
747
|
Capriglio,AT,B707
|
748
|
-
Casorzo,AT,B991
|
748
|
+
Casorzo Monferrato,AT,B991
|
749
749
|
Cassinasco,AT,C022
|
750
750
|
Castagnole delle Lanze,AT,C049
|
751
751
|
Castagnole Monferrato,AT,C047
|
@@ -780,7 +780,7 @@ Dusino San Michele,AT,D388
|
|
780
780
|
Ferrere,AT,D554
|
781
781
|
Fontanile,AT,D678
|
782
782
|
Frinco,AT,D802
|
783
|
-
Grana,AT,E134
|
783
|
+
Grana Monferrato,AT,E134
|
784
784
|
Grazzano Badoglio,AT,E159
|
785
785
|
Incisa Scapaccino,AT,E295
|
786
786
|
Isola d'Asti,AT,E338
|
@@ -801,7 +801,7 @@ Montafia,AT,F390
|
|
801
801
|
Montaldo Scarampi,AT,F409
|
802
802
|
Montechiaro d'Asti,AT,F468
|
803
803
|
Montegrosso d'Asti,AT,F527
|
804
|
-
Montemagno,AT,F556
|
804
|
+
Montemagno Monferrato,AT,F556
|
805
805
|
Moransengo,AT,F709
|
806
806
|
Nizza Monferrato,AT,F902
|
807
807
|
Olmo Gentile,AT,G048
|
@@ -832,7 +832,6 @@ Settime,AT,I698
|
|
832
832
|
Soglio,AT,I781
|
833
833
|
Tigliole,AT,L168
|
834
834
|
Tonco,AT,L203
|
835
|
-
Tonengo,AT,L204
|
836
835
|
Vaglio Serra,AT,L531
|
837
836
|
Valfenera,AT,L574
|
838
837
|
Vesime,AT,L807
|
@@ -844,6 +843,7 @@ Villanova d'Asti,AT,L984
|
|
844
843
|
Villa San Secondo,AT,M019
|
845
844
|
Vinchio,AT,M058
|
846
845
|
Montiglio Monferrato,AT,M302
|
846
|
+
Moransengo-Tonengo,AT,M434
|
847
847
|
Acqui Terme,AL,A052
|
848
848
|
Albera Ligure,AL,A146
|
849
849
|
Alessandria,AL,A182
|
@@ -886,7 +886,7 @@ Casalnoceto,AL,B902
|
|
886
886
|
Casasco,AL,B941
|
887
887
|
Cassine,AL,C027
|
888
888
|
Cassinelle,AL,C030
|
889
|
-
Castellania,AL,C137
|
889
|
+
Castellania Coppi,AL,C137
|
890
890
|
Castellar Guidobono,AL,C142
|
891
891
|
Castellazzo Bormida,AL,C148
|
892
892
|
Castelletto d'Erro,AL,C156
|
@@ -1391,6 +1391,7 @@ Vizzola Ticino,VA,M101
|
|
1391
1391
|
Sangiano,VA,H872
|
1392
1392
|
Maccagno con Pino e Veddasca,VA,M339
|
1393
1393
|
Cadrezzate con Osmate,VA,M425
|
1394
|
+
Bardello con Malgesso e Bregano,VA,M433
|
1394
1395
|
Albavilla,CO,A143
|
1395
1396
|
Albese con Cassano,CO,A153
|
1396
1397
|
Albiolo,CO,A164
|
@@ -1539,6 +1540,7 @@ Tremezzina,CO,M341
|
|
1539
1540
|
Alta Valle Intelvi,CO,M383
|
1540
1541
|
Centro Valle Intelvi,CO,M394
|
1541
1542
|
Solbiate con Cagno,CO,M412
|
1543
|
+
Uggiate con Ronago,CO,M435
|
1542
1544
|
Albaredo per San Marco,SO,A135
|
1543
1545
|
Albosaggia,SO,A172
|
1544
1546
|
Andalo Valtellino,SO,A273
|
@@ -2148,7 +2150,7 @@ Preseglie,BS,H043
|
|
2148
2150
|
Prevalle,BS,H055
|
2149
2151
|
Provaglio d'Iseo,BS,H078
|
2150
2152
|
Provaglio Val Sabbia,BS,H077
|
2151
|
-
Puegnago
|
2153
|
+
Puegnago del Garda,BS,H086
|
2152
2154
|
Quinzano d'Oglio,BS,H140
|
2153
2155
|
Remedello,BS,H230
|
2154
2156
|
Rezzato,BS,H256
|
@@ -2221,7 +2223,7 @@ Breme,PV,B142
|
|
2221
2223
|
Bressana Bottarone,PV,B159
|
2222
2224
|
Broni,PV,B201
|
2223
2225
|
Calvignano,PV,B447
|
2224
|
-
Campospinoso,PV,B567
|
2226
|
+
Campospinoso Albaredo,PV,B567
|
2225
2227
|
Candia Lomellina,PV,B587
|
2226
2228
|
Canneto Pavese,PV,B613
|
2227
2229
|
Carbonara al Ticino,PV,B741
|
@@ -2812,7 +2814,7 @@ Martello/Martell,BZ,E981
|
|
2812
2814
|
Meltina/Mölten,BZ,F118
|
2813
2815
|
Merano/Meran,BZ,F132
|
2814
2816
|
Monguelfo-Tesido/Welsberg-Taisten,BZ,F371
|
2815
|
-
Montagna/Montan,BZ,F392
|
2817
|
+
Montagna sulla strada del vino/Montan an der Weinstraße,BZ,F392
|
2816
2818
|
Moso in Passiria/Moos in Passeier,BZ,F766
|
2817
2819
|
Nalles/Nals,BZ,F836
|
2818
2820
|
Naturno/Naturns,BZ,F849
|
@@ -2835,7 +2837,7 @@ Renon/Ritten,BZ,H236
|
|
2835
2837
|
Rifiano/Riffian,BZ,H284
|
2836
2838
|
Rio di Pusteria/Mühlbach,BZ,H299
|
2837
2839
|
Rodengo/Rodeneck,BZ,H475
|
2838
|
-
Salorno/Salurn,BZ,H719
|
2840
|
+
Salorno sulla strada del vino/Salurn an der Weinstraße,BZ,H719
|
2839
2841
|
San Candido/Innichen,BZ,H786
|
2840
2842
|
San Genesio Atesino/Jenesien,BZ,H858
|
2841
2843
|
San Leonardo in Passiria/St. Leonhard in Passeier,BZ,H952
|
@@ -3051,6 +3053,9 @@ Vallelaghi,TN,M362
|
|
3051
3053
|
Ville d'Anaunia,TN,M363
|
3052
3054
|
San Giovanni di Fassa-Sèn Jan,TN,M390
|
3053
3055
|
Terre d'Adige,TN,M407
|
3056
|
+
Borgo d'Anaunia,TN,M429
|
3057
|
+
Novella,TN,M430
|
3058
|
+
Ville di Fiemme,TN,M431
|
3054
3059
|
Affi,VR,A061
|
3055
3060
|
Albaredo d'Adige,VR,A137
|
3056
3061
|
Angiari,VR,A292
|
@@ -3240,7 +3245,6 @@ Schiavon,VI,I527
|
|
3240
3245
|
Schio,VI,I531
|
3241
3246
|
Solagna,VI,I783
|
3242
3247
|
Sossano,VI,I867
|
3243
|
-
Sovizzo,VI,I879
|
3244
3248
|
Tezze sul Brenta,VI,L156
|
3245
3249
|
Thiene,VI,L157
|
3246
3250
|
Tonezza del Cimone,VI,D717
|
@@ -3263,6 +3267,7 @@ Barbarano Mossano,VI,M401
|
|
3263
3267
|
Valbrenta,VI,M423
|
3264
3268
|
Colceresa,VI,M426
|
3265
3269
|
Lusiana Conco,VI,M427
|
3270
|
+
Sovizzo,VI,M436
|
3266
3271
|
Agordo,BL,A083
|
3267
3272
|
Alano di Piave,BL,A121
|
3268
3273
|
Alleghe,BL,A206
|
@@ -3324,6 +3329,7 @@ Longarone,BL,M342
|
|
3324
3329
|
Alpago,BL,M375
|
3325
3330
|
Val di Zoldo,BL,M374
|
3326
3331
|
Borgo Valbelluna,BL,M421
|
3332
|
+
Setteville,BL,M437
|
3327
3333
|
Altivole,TV,A237
|
3328
3334
|
Arcade,TV,A360
|
3329
3335
|
Asolo,TV,A471
|
@@ -3564,6 +3570,7 @@ Villanova di Camposampiero,PD,L979
|
|
3564
3570
|
Vo',PD,M103
|
3565
3571
|
Due Carrare,PD,M300
|
3566
3572
|
Borgo Veneto,PD,M402
|
3573
|
+
Santa Caterina d'Este,PD,M438
|
3567
3574
|
Adria,RO,A059
|
3568
3575
|
Ariano nel Polesine,RO,A400
|
3569
3576
|
Arquà Polesine,RO,A435
|
@@ -3766,14 +3773,14 @@ Romans d'Isonzo,GO,H514
|
|
3766
3773
|
Ronchi dei Legionari,GO,H531
|
3767
3774
|
Sagrado,GO,H665
|
3768
3775
|
San Canzian d'Isonzo,GO,H787
|
3769
|
-
San Floriano del Collio
|
3776
|
+
San Floriano del Collio-Števerjan,GO,H845
|
3770
3777
|
San Lorenzo Isontino,GO,H964
|
3771
3778
|
San Pier d'Isonzo,GO,I082
|
3772
3779
|
Savogna d'Isonzo-Sovodnje ob So?i,GO,I479
|
3773
3780
|
Staranzano,GO,I939
|
3774
3781
|
Turriaco,GO,L474
|
3775
3782
|
Villesse,GO,M043
|
3776
|
-
Duino Aurisina-Devin
|
3783
|
+
Duino Aurisina-Devin Nabrežina,TS,D383
|
3777
3784
|
Monrupino-Repentabor,TS,F378
|
3778
3785
|
Muggia,TS,F795
|
3779
3786
|
San Dorligo della Valle-Dolina,TS,D324
|
@@ -4391,6 +4398,8 @@ Sant'Agata Feltria,RN,I201
|
|
4391
4398
|
Talamello,RN,L034
|
4392
4399
|
Poggio Torriana,RN,M324
|
4393
4400
|
Montescudo-Monte Colombo,RN,M368
|
4401
|
+
Montecopiolo,RN,F478
|
4402
|
+
Sassofeltrio,RN,I460
|
4394
4403
|
Aulla,MS,A496
|
4395
4404
|
Bagnone,MS,A576
|
4396
4405
|
Carrara,MS,B832
|
@@ -5549,7 +5558,7 @@ Pescosansonesco,PE,G499
|
|
5549
5558
|
Pianella,PE,G555
|
5550
5559
|
Picciano,PE,G589
|
5551
5560
|
Pietranico,PE,G621
|
5552
|
-
Popoli,PE,G878
|
5561
|
+
Popoli Terme,PE,G878
|
5553
5562
|
Roccamorice,PE,H425
|
5554
5563
|
Rosciano,PE,H562
|
5555
5564
|
Salle,PE,H715
|
@@ -7169,6 +7178,7 @@ Trapani,TP,L331
|
|
7169
7178
|
Valderice,TP,G319
|
7170
7179
|
Vita,TP,M081
|
7171
7180
|
Petrosino,TP,M281
|
7181
|
+
Misiliscemi,TP,M432
|
7172
7182
|
Alia,PA,A195
|
7173
7183
|
Alimena,PA,A202
|
7174
7184
|
Aliminusa,PA,A203
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codice-fiscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- topac
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
version: '0'
|
97
97
|
description: Calculate the Italian Tax ID (Codice Fiscale)
|
98
98
|
email:
|
99
|
-
-
|
99
|
+
- topac@users.noreply.github.com
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.1.2
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Calculate the Italian Tax ID (Codice Fiscale)
|