valvat 1.4.0 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -1
  3. data/lib/valvat/lookup/vies.rb +2 -2
  4. data/lib/valvat/version.rb +1 -1
  5. data.tar.gz.sig +0 -0
  6. metadata +35 -103
  7. metadata.gz.sig +0 -0
  8. data/.editorconfig +0 -15
  9. data/.github/workflows/rubocop.yml +0 -17
  10. data/.github/workflows/specs.yml +0 -45
  11. data/.gitignore +0 -9
  12. data/.rubocop.yml +0 -24
  13. data/CHANGES.md +0 -413
  14. data/Gemfile +0 -14
  15. data/Guardfile +0 -7
  16. data/MIT-LICENSE +0 -20
  17. data/README.md +0 -350
  18. data/Rakefile +0 -10
  19. data/certs/mite.pem +0 -26
  20. data/gemfiles/activemodel-5 +0 -8
  21. data/gemfiles/activemodel-6 +0 -8
  22. data/gemfiles/activemodel-7 +0 -8
  23. data/gemfiles/standalone +0 -7
  24. data/lib/valvat/locales/bg.yml +0 -34
  25. data/lib/valvat/locales/ca.yml +0 -34
  26. data/lib/valvat/locales/cs.yml +0 -34
  27. data/lib/valvat/locales/da.yml +0 -34
  28. data/lib/valvat/locales/de.yml +0 -35
  29. data/lib/valvat/locales/en.yml +0 -35
  30. data/lib/valvat/locales/es.yml +0 -35
  31. data/lib/valvat/locales/fi.yml +0 -34
  32. data/lib/valvat/locales/fr.yml +0 -34
  33. data/lib/valvat/locales/hu.yml +0 -35
  34. data/lib/valvat/locales/it.yml +0 -34
  35. data/lib/valvat/locales/lv.yml +0 -34
  36. data/lib/valvat/locales/nb.yml +0 -34
  37. data/lib/valvat/locales/nl.yml +0 -35
  38. data/lib/valvat/locales/pl.yml +0 -35
  39. data/lib/valvat/locales/pt.yml +0 -34
  40. data/lib/valvat/locales/ro.yml +0 -34
  41. data/lib/valvat/locales/sk.yml +0 -34
  42. data/lib/valvat/locales/sv.yml +0 -34
  43. data/lib/valvat/locales/tr.yml +0 -34
  44. data/spec/active_model/validations/valvat_validator_spec.rb +0 -274
  45. data/spec/spec_helper.rb +0 -37
  46. data/spec/valvat/checksum/at_spec.rb +0 -17
  47. data/spec/valvat/checksum/be_spec.rb +0 -17
  48. data/spec/valvat/checksum/bg_spec.rb +0 -18
  49. data/spec/valvat/checksum/cy_spec.rb +0 -17
  50. data/spec/valvat/checksum/de_spec.rb +0 -17
  51. data/spec/valvat/checksum/dk_spec.rb +0 -17
  52. data/spec/valvat/checksum/ee_spec.rb +0 -17
  53. data/spec/valvat/checksum/es_spec.rb +0 -65
  54. data/spec/valvat/checksum/fi_spec.rb +0 -17
  55. data/spec/valvat/checksum/fr_spec.rb +0 -17
  56. data/spec/valvat/checksum/gb_spec.rb +0 -34
  57. data/spec/valvat/checksum/gr_spec.rb +0 -17
  58. data/spec/valvat/checksum/hr_spec.rb +0 -17
  59. data/spec/valvat/checksum/hu_spec.rb +0 -17
  60. data/spec/valvat/checksum/ie_spec.rb +0 -24
  61. data/spec/valvat/checksum/it_spec.rb +0 -25
  62. data/spec/valvat/checksum/lt_spec.rb +0 -17
  63. data/spec/valvat/checksum/lu_spec.rb +0 -17
  64. data/spec/valvat/checksum/mt_spec.rb +0 -17
  65. data/spec/valvat/checksum/nl_spec.rb +0 -17
  66. data/spec/valvat/checksum/pl_spec.rb +0 -21
  67. data/spec/valvat/checksum/pt_spec.rb +0 -30
  68. data/spec/valvat/checksum/ro_spec.rb +0 -17
  69. data/spec/valvat/checksum/se_spec.rb +0 -21
  70. data/spec/valvat/checksum/si_spec.rb +0 -25
  71. data/spec/valvat/checksum_spec.rb +0 -40
  72. data/spec/valvat/lookup/hmrc_spec.rb +0 -58
  73. data/spec/valvat/lookup/vies_spec.rb +0 -25
  74. data/spec/valvat/lookup_spec.rb +0 -493
  75. data/spec/valvat/options_spec.rb +0 -23
  76. data/spec/valvat/syntax_spec.rb +0 -68
  77. data/spec/valvat/utils_spec.rb +0 -125
  78. data/spec/valvat_spec.rb +0 -276
  79. data/valvat.gemspec +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15db8a8eed2ca747b9a57a31d9b86b3cf15de8805c60e4c9088f6d4307c61f3e
4
- data.tar.gz: 7e39c7bce5487ca35f919c92bce4b424feacdded7a2ae917d272836bb2a224f7
3
+ metadata.gz: 1ac130f2150766750b4df0d2754960518d9b3c5504953ff4231566af6c3a62d2
4
+ data.tar.gz: a549b3f76ac1e353ccc532434849ff0e2d7fc32b3df5eb404e2b8e9b6a71a80e
5
5
  SHA512:
6
- metadata.gz: 0f4f6c82582854e8bed285713f0e98322d4caaddc9ad544f75116a22c5522e8ef224fdf126e704396a5c2651819cc5c155536a6d736923e80966c9b9a4a72810
7
- data.tar.gz: 6d2f3e585eb86086600e6976df74cf1fe46a145aedaa25fe3eb8fad3eb8bd5eba7db3c24d2b43efead054bec086188512767816cfe52d4fe1eb0280a5f870e23
6
+ metadata.gz: 0a05fc21c73b135373006c83e41b98d96733a78c0de88cb72f1bc01ff62b8e5d72529e7e030715826980033d673450ba7ff89925b7395735eeff6b6198760d09
7
+ data.tar.gz: af825e0c1ea237a8df86123d6ed3d33260e0a5ad5339643106a0b903ae8dba0e0f6b2205926cd9e4496bf5055a416724b3a115517831c6c9cfdf6b7db62d101d
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- 2��TV���}���K�h�[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 ���Դ @ldF�O#>_�!�R�� (���V��\y wh:2�A�LE�,�5�1}9X�8��Y��V'/\o>�����ޔ�=�ALx���^˵mB0�W��;e.`���n��_p}}F�,��<�PUAu[�_N��q`;JM��fs(f�
1
+ �kp��ܣD�-�Kax�!�*�ROy��Q+?�,z��k$�v�`�M��IcH��i��3X���pXF�\���M��O��n����B8�,+�Aɸ��H5���;�Jj��{��,�a0��mDkz����i1iSnD˻~w$�A��\���Хj�ί�B(S�-��ȫ��(����ީ�Gm�Ȉ���+舥�<����x������
2
+ 4��k:�0���Zhe�pkVa�,
@@ -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.2'
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: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
@@ -10,32 +10,31 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRIwEAYDVQQDDAlzZWJh
14
- c3RpYW4xFDASBgoJkiaJk/IsZAEZFgRtaXRlMRIwEAYKCZImiZPyLGQBGRYCZGUw
15
- HhcNMjMwNDE5MDkxMzEyWhcNMjQwNDE4MDkxMzEyWjA+MRIwEAYDVQQDDAlzZWJh
16
- c3RpYW4xFDASBgoJkiaJk/IsZAEZFgRta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uUADkgXuoe6oKnOKzGb/ItbJlJFAgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYD
25
+ VR0PBAQDAgSwMB0GA1UdDgQWBBSi4IrOCE1aH3Lsn2+V6wBGbsqtEDAcBgNVHREE
26
+ FTATgRFzZWJhc3RpYW5AbWl0ZS5kZTAcBgNVHRIEFTATgRFzZWJhc3RpYW5AbWl0
27
+ ZS5kZTANBgkqhkiG9w0BAQsFAAOCAYEAFIuFz1JDOSe3pr94AmLlaxmY+73Fbggn
28
+ E+pcc0/8TXQJJJ2TIcUhIuCHF8Q6/T0yp2twMZruoO3JWoJScN/9eX0VzUDyc26W
29
+ 4j7A6KZtH/K3h4s120ywie32mPPEEXJbBk54VUVR6TL0QDjtdUSs/DXX5VmCY54g
30
+ 88kBURngBtc7zORfC2pvZDqOb5fNWiklMJxN7Q1xF/IH1PthK9OWtJNau2MegrZ9
31
+ 825uJT+D5wIWaixGWAftb+SdjvgMIAJsLXsIm6cbIyd4UjtaJWVfWGYG7/FYG88k
32
+ RuiLmgRKrZYF17DImvCsWIvpPFo752IMGx/BnGP+4dhel2v6HiKS+YMeH7GWw1aE
33
+ /WlItHXpnh3Bn/s9b2t9JkCUtljRZGYmh5rtSNgHl+Ez7Cxep8BadH+UgnbReNtS
34
+ 4+Gn3/xNnr5M7CdCGOG96P+gnx508xxiuMas8SvHl0/WB4kFpSGTH3uKzFh9fF+I
35
+ 36KG/gudYiTEZqWbjFIh4jJceFclxM/L
37
36
  -----END CERTIFICATE-----
38
- date: 2023-07-20 00:00:00.000000000 Z
37
+ date: 2024-07-09 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: rexml
@@ -43,20 +42,20 @@ dependencies:
43
42
  requirements:
44
43
  - - ">="
45
44
  - !ruby/object:Gem::Version
46
- version: '3.2'
45
+ version: 3.2.7
47
46
  - - "<"
48
47
  - !ruby/object:Gem::Version
49
- version: '4.0'
48
+ version: 4.0.0
50
49
  type: :runtime
51
50
  prerelease: false
52
51
  version_requirements: !ruby/object:Gem::Requirement
53
52
  requirements:
54
53
  - - ">="
55
54
  - !ruby/object:Gem::Version
56
- version: '3.2'
55
+ version: 3.2.7
57
56
  - - "<"
58
57
  - !ruby/object:Gem::Version
59
- version: '4.0'
58
+ version: 4.0.0
60
59
  description: Validates european vat numbers. Standalone or as a ActiveModel validator.
61
60
  email:
62
61
  - sebastian@mite.de
@@ -64,22 +63,6 @@ executables: []
64
63
  extensions: []
65
64
  extra_rdoc_files: []
66
65
  files:
67
- - ".editorconfig"
68
- - ".github/workflows/rubocop.yml"
69
- - ".github/workflows/specs.yml"
70
- - ".gitignore"
71
- - ".rubocop.yml"
72
- - CHANGES.md
73
- - Gemfile
74
- - Guardfile
75
- - MIT-LICENSE
76
- - README.md
77
- - Rakefile
78
- - certs/mite.pem
79
- - gemfiles/activemodel-5
80
- - gemfiles/activemodel-6
81
- - gemfiles/activemodel-7
82
- - gemfiles/standalone
83
66
  - lib/active_model/validations/valvat_validator.rb
84
67
  - lib/valvat.rb
85
68
  - lib/valvat/checksum.rb
@@ -111,26 +94,6 @@ files:
111
94
  - lib/valvat/configuration.rb
112
95
  - lib/valvat/error.rb
113
96
  - lib/valvat/local.rb
114
- - lib/valvat/locales/bg.yml
115
- - lib/valvat/locales/ca.yml
116
- - lib/valvat/locales/cs.yml
117
- - lib/valvat/locales/da.yml
118
- - lib/valvat/locales/de.yml
119
- - lib/valvat/locales/en.yml
120
- - lib/valvat/locales/es.yml
121
- - lib/valvat/locales/fi.yml
122
- - lib/valvat/locales/fr.yml
123
- - lib/valvat/locales/hu.yml
124
- - lib/valvat/locales/it.yml
125
- - lib/valvat/locales/lv.yml
126
- - lib/valvat/locales/nb.yml
127
- - lib/valvat/locales/nl.yml
128
- - lib/valvat/locales/pl.yml
129
- - lib/valvat/locales/pt.yml
130
- - lib/valvat/locales/ro.yml
131
- - lib/valvat/locales/sk.yml
132
- - lib/valvat/locales/sv.yml
133
- - lib/valvat/locales/tr.yml
134
97
  - lib/valvat/lookup.rb
135
98
  - lib/valvat/lookup/base.rb
136
99
  - lib/valvat/lookup/hmrc.rb
@@ -139,46 +102,15 @@ files:
139
102
  - lib/valvat/syntax.rb
140
103
  - lib/valvat/utils.rb
141
104
  - lib/valvat/version.rb
142
- - spec/active_model/validations/valvat_validator_spec.rb
143
- - spec/spec_helper.rb
144
- - spec/valvat/checksum/at_spec.rb
145
- - spec/valvat/checksum/be_spec.rb
146
- - spec/valvat/checksum/bg_spec.rb
147
- - spec/valvat/checksum/cy_spec.rb
148
- - spec/valvat/checksum/de_spec.rb
149
- - spec/valvat/checksum/dk_spec.rb
150
- - spec/valvat/checksum/ee_spec.rb
151
- - spec/valvat/checksum/es_spec.rb
152
- - spec/valvat/checksum/fi_spec.rb
153
- - spec/valvat/checksum/fr_spec.rb
154
- - spec/valvat/checksum/gb_spec.rb
155
- - spec/valvat/checksum/gr_spec.rb
156
- - spec/valvat/checksum/hr_spec.rb
157
- - spec/valvat/checksum/hu_spec.rb
158
- - spec/valvat/checksum/ie_spec.rb
159
- - spec/valvat/checksum/it_spec.rb
160
- - spec/valvat/checksum/lt_spec.rb
161
- - spec/valvat/checksum/lu_spec.rb
162
- - spec/valvat/checksum/mt_spec.rb
163
- - spec/valvat/checksum/nl_spec.rb
164
- - spec/valvat/checksum/pl_spec.rb
165
- - spec/valvat/checksum/pt_spec.rb
166
- - spec/valvat/checksum/ro_spec.rb
167
- - spec/valvat/checksum/se_spec.rb
168
- - spec/valvat/checksum/si_spec.rb
169
- - spec/valvat/checksum_spec.rb
170
- - spec/valvat/lookup/hmrc_spec.rb
171
- - spec/valvat/lookup/vies_spec.rb
172
- - spec/valvat/lookup_spec.rb
173
- - spec/valvat/options_spec.rb
174
- - spec/valvat/syntax_spec.rb
175
- - spec/valvat/utils_spec.rb
176
- - spec/valvat_spec.rb
177
- - valvat.gemspec
178
105
  homepage: https://github.com/yolk/valvat
179
106
  licenses:
180
107
  - MIT
181
108
  metadata:
109
+ bug_tracker_uri: https://github.com/yolk/valvat/issues
110
+ changelog_uri: https://github.com/yolk/valvat/blob/master/CHANGES.md
111
+ documentation_uri: https://github.com/yolk/valvat/blob/master/README.md
112
+ homepage_uri: https://github.com/yolk/valvat
113
+ source_code_uri: https://github.com/yolk/valvat
182
114
  rubygems_mfa_required: 'true'
183
115
  post_install_message:
184
116
  rdoc_options: []
@@ -195,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
127
  - !ruby/object:Gem::Version
196
128
  version: '0'
197
129
  requirements: []
198
- rubygems_version: 3.3.26
130
+ rubygems_version: 3.5.3
199
131
  signing_key:
200
132
  specification_version: 4
201
133
  summary: Validates european vat numbers. Standalone or as a ActiveModel validator.
metadata.gz.sig CHANGED
Binary file
data/.editorconfig DELETED
@@ -1,15 +0,0 @@
1
- # This file is for unifying the coding style for different editors and IDEs.
2
- # http://editorconfig.org
3
-
4
- # No .editorconfig files above the root directory
5
- root = true
6
-
7
- [*]
8
- indent_style = space
9
- indent_size = 2
10
- end_of_line = lf
11
- charset = utf-8
12
- trim_trailing_whitespace = true
13
-
14
- [*.md]
15
- trim_trailing_whitespace = false
@@ -1,17 +0,0 @@
1
- name: RuboCop
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
-
9
- steps:
10
- - uses: actions/checkout@v3
11
- - name: Set up Ruby 2.7
12
- uses: ruby/setup-ruby@v1
13
- with:
14
- ruby-version: 2.7
15
- bundler-cache: true
16
- - name: Run RuboCop
17
- run: bundle exec rubocop --parallel
@@ -1,45 +0,0 @@
1
- name: Specs
2
-
3
- on:
4
- push:
5
- paths-ignore:
6
- - 'README.md'
7
- - 'CHANGES.md'
8
- pull_request:
9
- schedule:
10
- - cron: '52 8 * * *'
11
-
12
- jobs:
13
- test:
14
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
15
- runs-on: ubuntu-20.04
16
- env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
17
- BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
18
- strategy:
19
- matrix:
20
- ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', 'jruby-9.4.0.0']
21
- gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7' ]
22
- exclude:
23
- - ruby-version: '3.2'
24
- gemfile: 'activemodel-5'
25
- - ruby-version: '3.1'
26
- gemfile: 'activemodel-5'
27
- - ruby-version: '3.1'
28
- gemfile: 'standalone'
29
- - ruby-version: '3.0'
30
- gemfile: 'activemodel-5'
31
- - ruby-version: '2.6'
32
- gemfile: 'activemodel-7'
33
- - ruby-version: 'jruby-9.4.0.0'
34
- gemfile: 'activemodel-5'
35
-
36
- steps:
37
- - uses: actions/checkout@v3
38
- - name: Set up Ruby
39
- uses: ruby/setup-ruby@v1
40
- with:
41
- ruby-version: ${{ matrix.ruby-version }}
42
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
43
- - name: Run specs
44
- run: |
45
- bundle exec rspec
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- pkg/*
2
- *.gem
3
- .bundle
4
- Gemfile.lock
5
- gemfiles/*.lock
6
- tmp
7
- .rbenv-*
8
- .ruby-version
9
- .ruby-gemset
data/.rubocop.yml DELETED
@@ -1,24 +0,0 @@
1
- require: rubocop-rspec
2
- AllCops:
3
- NewCops: enable
4
- TargetRubyVersion: 2.6
5
-
6
- Metrics/BlockLength:
7
- Exclude:
8
- - valvat.gemspec
9
- - spec/**/*_spec.rb
10
-
11
- Style/Documentation:
12
- Enabled: false
13
-
14
- RSpec/MultipleExpectations:
15
- Enabled: false
16
-
17
- Style/StringChars:
18
- Enabled: false
19
-
20
- RSpec/NestedGroups:
21
- Max: 4
22
-
23
- RSpec/ExampleLength:
24
- Enabled: false