valvat 1.4.0 → 1.4.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: 15db8a8eed2ca747b9a57a31d9b86b3cf15de8805c60e4c9088f6d4307c61f3e
4
- data.tar.gz: 7e39c7bce5487ca35f919c92bce4b424feacdded7a2ae917d272836bb2a224f7
3
+ metadata.gz: bba8a39a51d9f779d9fbd875e7d7f18b21b0673d225f41af40f3cfd91da3b2c5
4
+ data.tar.gz: 79a970d53e4650d6031872bbd6bf6025635e53e8a408915192edf565986d515a
5
5
  SHA512:
6
- metadata.gz: 0f4f6c82582854e8bed285713f0e98322d4caaddc9ad544f75116a22c5522e8ef224fdf126e704396a5c2651819cc5c155536a6d736923e80966c9b9a4a72810
7
- data.tar.gz: 6d2f3e585eb86086600e6976df74cf1fe46a145aedaa25fe3eb8fad3eb8bd5eba7db3c24d2b43efead054bec086188512767816cfe52d4fe1eb0280a5f870e23
6
+ metadata.gz: 9f6a27220bf6c54ce815f88843ada9765f7370fda92ce3960d9deae5ecefb9b0e31ebbefceee3c46616b83b5c7d72ec450496d78c29e961caf4b47b85f0d45f6
7
+ data.tar.gz: 3b4fc004f50bee6fcaadd4373a4392e4d2f9bc2605ef189c600e31d7cba42ff01005dc818818c345b03ebe4525c21109d19823fc44054fd75e854f5fb8d1edd0
checksums.yaml.gz.sig CHANGED
@@ -1 +1,6 @@
1
- 2��TV���}���Kh[r�_�~���n��Z ��6snj�$���l9�Z�"[��V6������&y ����{OcM`���[���7O�V~ #��|j�F�~�]�\�fw�"��Y������w���K(A3�~��/��12xv#缃���j � !�nM�c�]?��� wg�<� �G0pee�C���-�AD}hWv��OǛ�w�&�!��$�n�{��sf_N ���Դ @ld�F�O#>_�!�R�� (���V��\y wh:2�A�LE�,�5�1}9�X�8��Y��V'/\o>�����ޔ�=�A�Lx���^˵mB0�W��;e.`���n��_�p}}F�,��<�PUAu�[�_N��q`;JM��fs(f�
1
+ tKD����`����%��k� ��HF�R���D
2
+ �]R���?�$��;y˭��e|����Yr�h�[
3
+ ���_ �c��Z+_f�� xUo��<pn�R�2E��|���'��4y]ȹ�#�R�zOr�V��xo� `X����jYn9�uCȴ�� աO�V
4
+ �X�V�B•-�/��Fw�E ����HM����P�)v-��[�]ă6�BHZ��<�a��"�ir�<��&kA�K�f��L���*���� �d"����'Z�c��!�
5
+
6
+ �Q�x�x/��Q$��
@@ -8,10 +8,10 @@ jobs:
8
8
 
9
9
  steps:
10
10
  - uses: actions/checkout@v3
11
- - name: Set up Ruby 2.7
11
+ - name: Set up Ruby 3.2
12
12
  uses: ruby/setup-ruby@v1
13
13
  with:
14
- ruby-version: 2.7
14
+ ruby-version: 3.2
15
15
  bundler-cache: true
16
16
  - name: Run RuboCop
17
17
  run: bundle exec rubocop --parallel
@@ -20,6 +20,8 @@ jobs:
20
20
  ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', 'jruby-9.4.0.0']
21
21
  gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7' ]
22
22
  exclude:
23
+ - ruby-version: '3.3'
24
+ gemfile: 'activemodel-5'
23
25
  - ruby-version: '3.2'
24
26
  gemfile: 'activemodel-5'
25
27
  - ruby-version: '3.1'
data/CHANGES.md CHANGED
@@ -1,7 +1,13 @@
1
1
 
2
2
  ### dev
3
3
 
4
- [full changelog](http://github.com/yolk/valvat/compare/v1.4.0...master)
4
+ [full changelog](http://github.com/yolk/valvat/compare/v1.4.1...master)
5
+
6
+ ### 1.4.1 / 2024-01-08
7
+
8
+ [full changelog](http://github.com/yolk/valvat/compare/v1.4.0...v1.4.1)
9
+
10
+ * Fixed incorrect variable usage in SOAP request body by [Jay Tabudlo](https://github.com/jaymoneybird))
5
11
 
6
12
  ### 1.4.0 / 2023-07-20
7
13
 
@@ -26,8 +26,8 @@ class Valvat
26
26
  <urn:countryCode><%= @vat.vat_country_code %></urn:countryCode>
27
27
  <urn:vatNumber><%= @vat.to_s_wo_country %></urn:vatNumber>
28
28
  <% if @requester %>
29
- <urn:requesterCountryCode><%= @vat.vat_country_code %></urn:requesterCountryCode>
30
- <urn:requesterVatNumber><%= @vat.to_s_wo_country %></urn:requesterVatNumber>
29
+ <urn:requesterCountryCode><%= @requester.vat_country_code %></urn:requesterCountryCode>
30
+ <urn:requesterVatNumber><%= @requester.to_s_wo_country %></urn:requesterVatNumber>
31
31
  <% end %>
32
32
  </urn:checkVat<%= 'Approx' if @requester %>>
33
33
  </soapenv:Body>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Valvat
4
- VERSION = '1.4.0'
4
+ VERSION = '1.4.1'
5
5
  end
@@ -88,7 +88,7 @@ describe Valvat::Lookup do
88
88
 
89
89
  context 'with request identifier' do
90
90
  it 'returns hash of details instead of true' do
91
- result = described_class.validate('IE6388047V', requester: 'IE6388047V')
91
+ result = described_class.validate('IE6388047V', requester: 'DE129415943')
92
92
 
93
93
  skip 'VIES is down' if result.nil?
94
94
 
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: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
@@ -35,7 +35,7 @@ cert_chain:
35
35
  O1ARwPz8pN+xIvxo8ex8Hz1sazm/iFgVBwHgaI3O3ctK7vF4+fAu6dlLcbEpij9z
36
36
  4QlUng62OJRSBV/ejaTTItcAOXBeh028ZFWC0QQR4r0=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-07-20 00:00:00.000000000 Z
38
+ date: 2024-01-08 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rexml
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.3.26
198
+ rubygems_version: 3.5.3
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Validates european vat numbers. Standalone or as a ActiveModel validator.
metadata.gz.sig CHANGED
Binary file