valvat 1.4.1 → 1.4.4
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 +0 -0
- data/lib/valvat/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +34 -82
- 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/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: e8469dde623b4fba82a31eeb1e18b71d6def4524028246af63ac9818d298529b
|
4
|
+
data.tar.gz: '07599d80cff37cfce5f52ae2652241c299e8e09f6ef8c16082fa8b09ca69cd8b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3dd4cf4b265689807e50602dbb9b3d72f16db6c10ad644a84468d077aba1eed2c6dc95930a6ec48983232231ea4704a53679fe2f780eeb98184379ee304009
|
7
|
+
data.tar.gz: 35d0b10616341c4174d766f6f18ba40f432789fb0f83601e72e7dad7b8527c51c60e88cf851f50c25bad5c346b05ab5b0f9a82853226ebb514f0654d8ddf01bf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
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.4
|
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
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
4QlUng62OJRSBV/ejaTTItcAOXBeh028ZFWC0QQR4r0=
|
13
|
+
MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdzZWJh
|
14
|
+
c3RpYW4vREM9bWl0ZS9EQz1kZTAeFw0yNDA3MDkxNTQwNDNaFw0yNTA3MDkxNTQw
|
15
|
+
NDNaMCIxIDAeBgNVBAMMF3NlYmFzdGlhbi9EQz1taXRlL0RDPWRlMIIBojANBgkq
|
16
|
+
hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2bZszccWA/srJ8+msGotBHl7cq6leDZF
|
17
|
+
GZQJpsZe+aWQF6tIewivZTmux4VBgaT45+wiXQjh43+xeGXwiLNJHTHEKlr6sXw6
|
18
|
+
BIgxQhSBlA4gikrJVDJfKzxqWuwv6VghG9fzp0gUfbU0pTomS3rdqmdXDK8b+2ix
|
19
|
+
KyB5uIW2ABIUeGzPV7XRAj6VjbPwNJmOziGp3gWsj16zWtEAThv2zrW2uWPv2YnL
|
20
|
+
clwYg4C8L6ivdIYXh5Kp4J23DfbX2/msQYB5Ew299CQyrLhxcp4TkDCvPo1KUZ9V
|
21
|
+
eYgBZVfUyNduf62EIolInS7HJiK9pM32mhr+adM08Dt4e7+hsf+HP0nQV8fxwHh/
|
22
|
+
wj3r3j2d+T/+7cAXfAuOJXfh8DNcRqOrFPDIwYIXIblfAgkdmoQAtq4gbt+ndXK+
|
23
|
+
vXV9RhtwGEGLJqkPNB5cIAHbqeHwcrEWMYxV2+zocsk5jlI/TAyfitTm/7wGnmCE
|
24
|
+
g3KvMuUADkgXuoe6oKnOKzGb/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: 2024-
|
37
|
+
date: 2024-07-11 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
|
@@ -139,46 +122,15 @@ files:
|
|
139
122
|
- lib/valvat/syntax.rb
|
140
123
|
- lib/valvat/utils.rb
|
141
124
|
- 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
125
|
homepage: https://github.com/yolk/valvat
|
179
126
|
licenses:
|
180
127
|
- MIT
|
181
128
|
metadata:
|
129
|
+
bug_tracker_uri: https://github.com/yolk/valvat/issues
|
130
|
+
changelog_uri: https://github.com/yolk/valvat/blob/master/CHANGES.md
|
131
|
+
documentation_uri: https://github.com/yolk/valvat/blob/master/README.md
|
132
|
+
homepage_uri: https://github.com/yolk/valvat
|
133
|
+
source_code_uri: https://github.com/yolk/valvat
|
182
134
|
rubygems_mfa_required: 'true'
|
183
135
|
post_install_message:
|
184
136
|
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
|