valvat 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +6 -1
- data/.github/workflows/rubocop.yml +2 -2
- data/.github/workflows/specs.yml +2 -0
- data/CHANGES.md +7 -1
- data/lib/valvat/lookup/vies.rb +2 -2
- data/lib/valvat/version.rb +1 -1
- data/spec/valvat/lookup_spec.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bba8a39a51d9f779d9fbd875e7d7f18b21b0673d225f41af40f3cfd91da3b2c5
|
4
|
+
data.tar.gz: 79a970d53e4650d6031872bbd6bf6025635e53e8a408915192edf565986d515a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6a27220bf6c54ce815f88843ada9765f7370fda92ce3960d9deae5ecefb9b0e31ebbefceee3c46616b83b5c7d72ec450496d78c29e961caf4b47b85f0d45f6
|
7
|
+
data.tar.gz: 3b4fc004f50bee6fcaadd4373a4392e4d2f9bc2605ef189c600e31d7cba42ff01005dc818818c345b03ebe4525c21109d19823fc44054fd75e854f5fb8d1edd0
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,6 @@
|
|
1
|
-
�
|
1
|
+
�t�KD����`����%��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
|
11
|
+
- name: Set up Ruby 3.2
|
12
12
|
uses: ruby/setup-ruby@v1
|
13
13
|
with:
|
14
|
-
ruby-version: 2
|
14
|
+
ruby-version: 3.2
|
15
15
|
bundler-cache: true
|
16
16
|
- name: Run RuboCop
|
17
17
|
run: bundle exec rubocop --parallel
|
data/.github/workflows/specs.yml
CHANGED
@@ -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.
|
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
|
|
data/lib/valvat/lookup/vies.rb
CHANGED
@@ -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><%= @
|
30
|
-
<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>
|
data/lib/valvat/version.rb
CHANGED
data/spec/valvat/lookup_spec.rb
CHANGED
@@ -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: '
|
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.
|
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:
|
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
|
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
|