codice-fiscale 0.0.9 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +12 -0
- data/Guardfile +63 -26
- data/README.md +43 -34
- data/Rakefile +4 -0
- data/codice_fiscale.gemspec +5 -6
- data/lib/codice_fiscale/codes/city_codes.csv +7924 -1
- data/lib/codice_fiscale/codes/country_codes.csv +216 -1
- data/lib/codice_fiscale/codes.rb +3 -3
- data/lib/codice_fiscale/version.rb +1 -1
- data/lib/codice_fiscale.rb +79 -0
- data/spec/lib/codice_fiscale/alphabet_spec.rb +16 -8
- data/spec/lib/codice_fiscale/codes_spec.rb +7 -3
- data/spec/lib/codice_fiscale/fiscal_code_spec.rb +39 -23
- data/spec/lib/codice_fiscale/italian_citizen_spec.rb +8 -8
- data/spec/lib/codice_fiscale_spec.rb +16 -7
- data/spec/spec_helper.rb +0 -2
- metadata +20 -26
- data/spec/fixtures/city_codes.csv +0 -1
- data/spec/fixtures/country_codes.csv +0 -1
- data/spec/lib/codice_fiscale/helpers_spec.rb +0 -4
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codice-fiscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,33 +39,33 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: guard-rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rb-fsevent
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.9.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.9.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,15 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
description: Calculate the
|
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: []
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
105
106
|
- Gemfile
|
106
107
|
- Guardfile
|
107
108
|
- LICENSE
|
@@ -118,16 +119,13 @@ files:
|
|
118
119
|
- lib/codice_fiscale/helpers.rb
|
119
120
|
- lib/codice_fiscale/italian_citizen.rb
|
120
121
|
- lib/codice_fiscale/version.rb
|
121
|
-
- spec/fixtures/city_codes.csv
|
122
|
-
- spec/fixtures/country_codes.csv
|
123
122
|
- spec/lib/codice_fiscale/alphabet_spec.rb
|
124
123
|
- spec/lib/codice_fiscale/codes_spec.rb
|
125
124
|
- spec/lib/codice_fiscale/fiscal_code_spec.rb
|
126
|
-
- spec/lib/codice_fiscale/helpers_spec.rb
|
127
125
|
- spec/lib/codice_fiscale/italian_citizen_spec.rb
|
128
126
|
- spec/lib/codice_fiscale_spec.rb
|
129
127
|
- spec/spec_helper.rb
|
130
|
-
homepage: https://github.com/
|
128
|
+
homepage: https://github.com/topac/codice_fiscale
|
131
129
|
licenses: []
|
132
130
|
metadata: {}
|
133
131
|
post_install_message:
|
@@ -145,18 +143,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
143
|
- !ruby/object:Gem::Version
|
146
144
|
version: '0'
|
147
145
|
requirements: []
|
148
|
-
|
149
|
-
rubygems_version: 2.6.12
|
146
|
+
rubygems_version: 3.1.2
|
150
147
|
signing_key:
|
151
148
|
specification_version: 4
|
152
|
-
summary: Calculate the
|
149
|
+
summary: Calculate the Italian Tax ID (Codice Fiscale)
|
153
150
|
test_files:
|
154
|
-
- spec/fixtures/city_codes.csv
|
155
|
-
- spec/fixtures/country_codes.csv
|
156
151
|
- spec/lib/codice_fiscale/alphabet_spec.rb
|
157
152
|
- spec/lib/codice_fiscale/codes_spec.rb
|
158
153
|
- spec/lib/codice_fiscale/fiscal_code_spec.rb
|
159
|
-
- spec/lib/codice_fiscale/helpers_spec.rb
|
160
154
|
- spec/lib/codice_fiscale/italian_citizen_spec.rb
|
161
155
|
- spec/lib/codice_fiscale_spec.rb
|
162
156
|
- spec/spec_helper.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
CODICE NAZIONALE,CODICE CATASTALE BELFIORE aggiornato al 1/9/1999 ora non pi in uso,PROVINCIA,DENOMINAZIONE COMUNE,ANNOTAZIONE,VARIAZIONE CODICE NAZAZIONALE,VARIAZIONE CODICE CATASTALE,VARIAZIONE PROVINCIA,VARIAZIONE DENOMINAZIONE DEL COMUNE,DATA COSTITUZIONE,DATA VARIAZIONE
|
@@ -1 +0,0 @@
|
|
1
|
-
CONTIN,SIGLA,DENOMINAZ,CODICE,DATAIST,DATASOP,CODRIF,DATAVARIAZ
|