resident 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10570376ab3b4bace53b841cef776196df2ca868f1b58894245f369ed961ee48
4
- data.tar.gz: b0ee9c563dca36dc0ef8eea25022970487d157fb648cd0a1078ed4263a12b27a
3
+ metadata.gz: b88950d63ce102277753de2e80173b05f48beb6dec2c1b17f7dcad09f718142b
4
+ data.tar.gz: 4da846988b3cefb50c31fd2fbdfc19c8e08a0e868edefa6f14fa8582a89614de
5
5
  SHA512:
6
- metadata.gz: fc5284eb2da72ef4fdd8cc67eb2d1b220fd948b69c8e1e950a5f8c3bdc4d4d36fd8c79d6697d92dd1460f305ea1bd1fe98bc9b0a47a5ae87ddcc5ccf8b87ba54
7
- data.tar.gz: 36c549365b79eeaebbfb20cbc01eac1fb70e788e5b284279e17dc35a0cf927d6ab17ad5c6b0c63e2b3a804436fc82c9143f6fa8d066ca86d71685482cb42ace0
6
+ metadata.gz: 414be1ee05d09211cf252703e6b2def77bd456d7c19f943492571ab191d99e0a676820ab152e696ba4e9bbe252f469f142247d283efc3c8ff570afea3ddbcb12
7
+ data.tar.gz: 76c0096684d742bb14b69775cac7f5d74f1a71ed6e6bc956f9287139a9bb040d6e7266bc0c651372729c7aa07ed15513bf551b1917c4944d667a2df4aa8bfd23
@@ -32,7 +32,7 @@ module NationalIdentificationNumber
32
32
  day = $3
33
33
  born = Date.new(year.to_i, month.to_i, day.to_i)
34
34
  sep = born < Date.today.prev_year(100) ? '+' : '-'
35
- @number = "#{year[2..]}#{month}#{day}#{sep}#{$4}"
35
+ @number = "#{year[2..-1]}#{month}#{day}#{sep}#{$4}"
36
36
  rescue Date::Error
37
37
  nil
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resident
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bukowskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-27 00:00:00.000000000 Z
11
+ date: 2025-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec