valvat 2.0.0 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42c6f6cebfde595c408697bfd0fcad362e8978fb11b84e6c3f3e62d5942c8644
4
- data.tar.gz: 10e1ca8684e582d0b94c87d2d559ce2fbaeb6977d888f717b3e64b7daa1246e2
3
+ metadata.gz: 07de71a83be21df648e4865c840e533ef9e4c1a88ba874cb8840737226df37b9
4
+ data.tar.gz: 29580e05eeb6e02ad91ea9854bb3c5e6df74092e2381732da98d77ea4912cc25
5
5
  SHA512:
6
- metadata.gz: 03b6d77c886adb21ee7c2b03cb07c11c44f5ec69ad504e390408c38a04e876476e8acaa87d64f6332a137c045bd1dbecfd9d0b2ddbf22111efd80caec58e161b
7
- data.tar.gz: 6f0fc3387f1761f387de1c3ff3168018bc12872711f44369d2528033301e4e77396e69aaaa5f0229903079297048d8a4cd7d6defc3c204798364e42c53c506e3
6
+ metadata.gz: 822844919a568bad7b2e576f101d123347455efc8b0fa5813edebf612e3160385923e016285d19cffe9d98fc6e6bd22620b2c8be245ef77cb98bf9810365bad3
7
+ data.tar.gz: 8b54c2f90276b904358187037d239798f8d0f404ed62cb75c74cfb6b28f8a49d91797912990510c9d232d08b7cd4929ea2f81a5d59de53f9596cb4284bed8e8b
checksums.yaml.gz.sig CHANGED
Binary file
@@ -2,6 +2,7 @@ it:
2
2
  errors:
3
3
  messages:
4
4
  invalid_vat: IVA non valido per %{country_adjective}
5
+ vies_down: "Impossibile convalidare la tua partita IVA: Il servizio VIES non è disponibile, riprova più tardi."
5
6
  valvat:
6
7
  country_adjectives:
7
8
  eu: Europa
@@ -19,7 +19,7 @@ class Valvat
19
19
  end
20
20
  end
21
21
 
22
- check_uk_key
22
+ check_uk_key(silence)
23
23
  end
24
24
 
25
25
  def [](key)
@@ -32,11 +32,11 @@ class Valvat
32
32
 
33
33
  private
34
34
 
35
- def check_uk_key
35
+ def check_uk_key(silence)
36
36
  return if @options[:uk] != true || silence
37
37
 
38
38
  puts 'DEPRECATED: The option :uk is not allowed to be set to `true` anymore. ' \
39
- 'Using the HMRC API requires authentication credentials.'
39
+ 'Instead it needs to be set to your HMRC API authentication credentials.'
40
40
  end
41
41
  end
42
42
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Valvat
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valvat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
@@ -34,7 +34,7 @@ cert_chain:
34
34
  4+Gn3/xNnr5M7CdCGOG96P+gnx508xxiuMas8SvHl0/WB4kFpSGTH3uKzFh9fF+I
35
35
  36KG/gudYiTEZqWbjFIh4jJceFclxM/L
36
36
  -----END CERTIFICATE-----
37
- date: 2024-12-06 00:00:00.000000000 Z
37
+ date: 2024-12-19 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rexml
metadata.gz.sig CHANGED
Binary file