valvat 1.4.1 → 1.4.2
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 +2 -6
- data/lib/valvat/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +34 -102
- metadata.gz.sig +0 -0
- data/.editorconfig +0 -15
- data/.github/workflows/rubocop.yml +0 -17
- data/.github/workflows/specs.yml +0 -47
- data/.gitignore +0 -9
- data/.rubocop.yml +0 -24
- data/CHANGES.md +0 -419
- data/Gemfile +0 -14
- data/Guardfile +0 -7
- data/MIT-LICENSE +0 -20
- data/README.md +0 -350
- data/Rakefile +0 -10
- data/certs/mite.pem +0 -26
- data/gemfiles/activemodel-5 +0 -8
- data/gemfiles/activemodel-6 +0 -8
- data/gemfiles/activemodel-7 +0 -8
- data/gemfiles/standalone +0 -7
- data/lib/valvat/locales/bg.yml +0 -34
- data/lib/valvat/locales/ca.yml +0 -34
- data/lib/valvat/locales/cs.yml +0 -34
- data/lib/valvat/locales/da.yml +0 -34
- data/lib/valvat/locales/de.yml +0 -35
- data/lib/valvat/locales/en.yml +0 -35
- data/lib/valvat/locales/es.yml +0 -35
- data/lib/valvat/locales/fi.yml +0 -34
- data/lib/valvat/locales/fr.yml +0 -34
- data/lib/valvat/locales/hu.yml +0 -35
- data/lib/valvat/locales/it.yml +0 -34
- data/lib/valvat/locales/lv.yml +0 -34
- data/lib/valvat/locales/nb.yml +0 -34
- data/lib/valvat/locales/nl.yml +0 -35
- data/lib/valvat/locales/pl.yml +0 -35
- data/lib/valvat/locales/pt.yml +0 -34
- data/lib/valvat/locales/ro.yml +0 -34
- data/lib/valvat/locales/sk.yml +0 -34
- data/lib/valvat/locales/sv.yml +0 -34
- data/lib/valvat/locales/tr.yml +0 -34
- data/spec/active_model/validations/valvat_validator_spec.rb +0 -274
- data/spec/spec_helper.rb +0 -37
- data/spec/valvat/checksum/at_spec.rb +0 -17
- data/spec/valvat/checksum/be_spec.rb +0 -17
- data/spec/valvat/checksum/bg_spec.rb +0 -18
- data/spec/valvat/checksum/cy_spec.rb +0 -17
- data/spec/valvat/checksum/de_spec.rb +0 -17
- data/spec/valvat/checksum/dk_spec.rb +0 -17
- data/spec/valvat/checksum/ee_spec.rb +0 -17
- data/spec/valvat/checksum/es_spec.rb +0 -65
- data/spec/valvat/checksum/fi_spec.rb +0 -17
- data/spec/valvat/checksum/fr_spec.rb +0 -17
- data/spec/valvat/checksum/gb_spec.rb +0 -34
- data/spec/valvat/checksum/gr_spec.rb +0 -17
- data/spec/valvat/checksum/hr_spec.rb +0 -17
- data/spec/valvat/checksum/hu_spec.rb +0 -17
- data/spec/valvat/checksum/ie_spec.rb +0 -24
- data/spec/valvat/checksum/it_spec.rb +0 -25
- data/spec/valvat/checksum/lt_spec.rb +0 -17
- data/spec/valvat/checksum/lu_spec.rb +0 -17
- data/spec/valvat/checksum/mt_spec.rb +0 -17
- data/spec/valvat/checksum/nl_spec.rb +0 -17
- data/spec/valvat/checksum/pl_spec.rb +0 -21
- data/spec/valvat/checksum/pt_spec.rb +0 -30
- data/spec/valvat/checksum/ro_spec.rb +0 -17
- data/spec/valvat/checksum/se_spec.rb +0 -21
- data/spec/valvat/checksum/si_spec.rb +0 -25
- data/spec/valvat/checksum_spec.rb +0 -40
- data/spec/valvat/lookup/hmrc_spec.rb +0 -58
- data/spec/valvat/lookup/vies_spec.rb +0 -25
- data/spec/valvat/lookup_spec.rb +0 -493
- data/spec/valvat/options_spec.rb +0 -23
- data/spec/valvat/syntax_spec.rb +0 -68
- data/spec/valvat/utils_spec.rb +0 -125
- data/spec/valvat_spec.rb +0 -276
- data/valvat.gemspec +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ac130f2150766750b4df0d2754960518d9b3c5504953ff4231566af6c3a62d2
|
4
|
+
data.tar.gz: a549b3f76ac1e353ccc532434849ff0e2d7fc32b3df5eb404e2b8e9b6a71a80e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a05fc21c73b135373006c83e41b98d96733a78c0de88cb72f1bc01ff62b8e5d72529e7e030715826980033d673450ba7ff89925b7395735eeff6b6198760d09
|
7
|
+
data.tar.gz: af825e0c1ea237a8df86123d6ed3d33260e0a5ad5339643106a0b903ae8dba0e0f6b2205926cd9e4496bf5055a416724b3a115517831c6c9cfdf6b7db62d101d
|
checksums.yaml.gz.sig
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
�
|
2
|
-
|
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$��
|
1
|
+
�kp��ܣD�-�Kax�!�*�RO�y��Q+?�,z��k$�v�`�M��Ic�H��i��3X���p�XF�\���M��O��n����B8�,+�Aɸ��H5���;�J�j��{��,�a�0��mD�k�z����i1iS�nD˻~w$�A��\���Хj�ί�B(S�-��ȫ��(����ީ�Gm�Ȉ���+舥�<����x������
|
2
|
+
4��k:�0���Zhe�pkVa�,
|
data/lib/valvat/version.rb
CHANGED
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.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
|
-
|
14
|
-
|
15
|
-
|
16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AkGA1UdEwQCMAAwCwYD
|
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: 2024-
|
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:
|
45
|
+
version: 3.2.7
|
47
46
|
- - "<"
|
48
47
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
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:
|
55
|
+
version: 3.2.7
|
57
56
|
- - "<"
|
58
57
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
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: []
|
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 3.2
|
12
|
-
uses: ruby/setup-ruby@v1
|
13
|
-
with:
|
14
|
-
ruby-version: 3.2
|
15
|
-
bundler-cache: true
|
16
|
-
- name: Run RuboCop
|
17
|
-
run: bundle exec rubocop --parallel
|
data/.github/workflows/specs.yml
DELETED
@@ -1,47 +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.3'
|
24
|
-
gemfile: 'activemodel-5'
|
25
|
-
- ruby-version: '3.2'
|
26
|
-
gemfile: 'activemodel-5'
|
27
|
-
- ruby-version: '3.1'
|
28
|
-
gemfile: 'activemodel-5'
|
29
|
-
- ruby-version: '3.1'
|
30
|
-
gemfile: 'standalone'
|
31
|
-
- ruby-version: '3.0'
|
32
|
-
gemfile: 'activemodel-5'
|
33
|
-
- ruby-version: '2.6'
|
34
|
-
gemfile: 'activemodel-7'
|
35
|
-
- ruby-version: 'jruby-9.4.0.0'
|
36
|
-
gemfile: 'activemodel-5'
|
37
|
-
|
38
|
-
steps:
|
39
|
-
- uses: actions/checkout@v3
|
40
|
-
- name: Set up Ruby
|
41
|
-
uses: ruby/setup-ruby@v1
|
42
|
-
with:
|
43
|
-
ruby-version: ${{ matrix.ruby-version }}
|
44
|
-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
45
|
-
- name: Run specs
|
46
|
-
run: |
|
47
|
-
bundle exec rspec
|
data/.gitignore
DELETED
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
|