cfita 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0510a1eea1c9a417a70c0d5fbb91a275495569963e745dea6d369df11f91e32
4
- data.tar.gz: a0d7f593151788aab9617dbc9922778d214b29e73784734a76874925188ce937
3
+ metadata.gz: b56b4943c2a0fea0a83a3ee5706c8af73282769f4c06fef7daddafecbd922441
4
+ data.tar.gz: 94a1aeb1f8eac113068c0e61ee3de7d924547c5b6d2d427fcb72339fed00e5e8
5
5
  SHA512:
6
- metadata.gz: 69ef59d65dbc4403b74a74da2d848682277855d862e30056201bc24f1c0f4c49ccba60f2396ce30cdaa4396201c04930a3ef4cd165e38cc08844b6509c948cc8
7
- data.tar.gz: fe5325bdf5a020c0da7d0f1832261da154ec8a48e926c33b97ae261a03e28c448eed62a07069c3b17d413324c3f4d83bdfa631475aee1e05786992748b406d36
6
+ metadata.gz: a2e3f9aa381694e21470944d3263a25be7d38fbe1292c046a321a0f375473fe72f65f6520a9bf88d81e1da6cfbe8f20e6b54e8d8d104e37bd5766e18503ff1ae
7
+ data.tar.gz: 58a9e83b91ca8225dc99739ccc374f2cf546238a6a9796002ee3cdd409ac7e9189c65acc34cac5243b32c7ae1f3d60328226c5bae465cbf0e5096dd87487d661
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## v0.5.0 - 2024-03-19
9
+
10
+ ### Added
11
+
12
+ - M434 - MORANSENGO-TONENGO
13
+ - M435 - UGGIATE CON RONAGO
14
+ - M436 - SOVIZZO
15
+ - M437 - SETTEVILLE
16
+ - M438 - SANTA CATERINA D'ESTE
17
+
8
18
  ## v0.4.0 - 2022-12-10
9
19
 
10
20
  ### Fix
data/cfita.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = '>= 2.4'
6
6
  s.name = 'cfita'
7
7
  s.version = Cfita::VERSION
8
- s.date = '2022-12-10'
8
+ s.date = '2024-03-19'
9
9
  s.summary = 'Italian fiscal code checker'
10
10
  s.description = 'Controllo codici fiscali italiani'
11
11
  s.authors = ['Stefano Savanelli']
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/all'
4
- require 'cfita/codici_catastali'
4
+ require_relative 'codici_catastali'
5
5
 
6
6
  module Cfita
7
7
  # Controllo codice fiscale italiano
@@ -24,7 +24,7 @@ module Cfita
24
24
  surname: nil,
25
25
  sex: nil
26
26
  )
27
- @fiscal_code = fiscal_code.upcase.strip
27
+ @fiscal_code = fiscal_code.to_s.upcase.strip
28
28
  @birth_place = birth_place&.upcase
29
29
  @birth_date = birth_date
30
30
  @birth_date = Date.parse(birth_date) if birth_date.is_a?(String)
@@ -10417,6 +10417,11 @@ module Cfita
10417
10417
  'M431' => ["VILLE DI FIEMME"],
10418
10418
  'M432' => ["MISILISCEMI"],
10419
10419
  'M433' => ["BARDELLO CON MALGESSO E BREGANO"],
10420
+ 'M434' => ["MORANSENGO-TONENGO"],
10421
+ 'M435' => ["UGGIATE CON RONAGO"],
10422
+ 'M436' => ["SOVIZZO"],
10423
+ 'M437' => ["SETTEVILLE"],
10424
+ 'M438' => ["SANTA CATERINA D'ESTE"],
10420
10425
  'Z100' => ["ALBANIA"],
10421
10426
  'Z101' => ["ANDORRA"],
10422
10427
  'Z102' => ["AUSTRIA"],
data/lib/cfita.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # controllo codice fiscale italiano
4
4
  module Cfita
5
- require 'cfita/codice_fiscale'
5
+ require_relative 'cfita/codice_fiscale'
6
6
 
7
- VERSION='0.4.0'
7
+ VERSION='0.5.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Savanelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-10 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Controllo codici fiscali italiani
14
14
  email: stefano@savanelli.it
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  requirements: []
48
- rubygems_version: 3.3.26
48
+ rubygems_version: 3.5.6
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: Italian fiscal code checker