valvat 1.4.1 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/lib/valvat/version.rb +1 -1
  4. data.tar.gz.sig +0 -0
  5. metadata +34 -102
  6. metadata.gz.sig +0 -0
  7. data/.editorconfig +0 -15
  8. data/.github/workflows/rubocop.yml +0 -17
  9. data/.github/workflows/specs.yml +0 -47
  10. data/.gitignore +0 -9
  11. data/.rubocop.yml +0 -24
  12. data/CHANGES.md +0 -419
  13. data/Gemfile +0 -14
  14. data/Guardfile +0 -7
  15. data/MIT-LICENSE +0 -20
  16. data/README.md +0 -350
  17. data/Rakefile +0 -10
  18. data/certs/mite.pem +0 -26
  19. data/gemfiles/activemodel-5 +0 -8
  20. data/gemfiles/activemodel-6 +0 -8
  21. data/gemfiles/activemodel-7 +0 -8
  22. data/gemfiles/standalone +0 -7
  23. data/lib/valvat/locales/bg.yml +0 -34
  24. data/lib/valvat/locales/ca.yml +0 -34
  25. data/lib/valvat/locales/cs.yml +0 -34
  26. data/lib/valvat/locales/da.yml +0 -34
  27. data/lib/valvat/locales/de.yml +0 -35
  28. data/lib/valvat/locales/en.yml +0 -35
  29. data/lib/valvat/locales/es.yml +0 -35
  30. data/lib/valvat/locales/fi.yml +0 -34
  31. data/lib/valvat/locales/fr.yml +0 -34
  32. data/lib/valvat/locales/hu.yml +0 -35
  33. data/lib/valvat/locales/it.yml +0 -34
  34. data/lib/valvat/locales/lv.yml +0 -34
  35. data/lib/valvat/locales/nb.yml +0 -34
  36. data/lib/valvat/locales/nl.yml +0 -35
  37. data/lib/valvat/locales/pl.yml +0 -35
  38. data/lib/valvat/locales/pt.yml +0 -34
  39. data/lib/valvat/locales/ro.yml +0 -34
  40. data/lib/valvat/locales/sk.yml +0 -34
  41. data/lib/valvat/locales/sv.yml +0 -34
  42. data/lib/valvat/locales/tr.yml +0 -34
  43. data/spec/active_model/validations/valvat_validator_spec.rb +0 -274
  44. data/spec/spec_helper.rb +0 -37
  45. data/spec/valvat/checksum/at_spec.rb +0 -17
  46. data/spec/valvat/checksum/be_spec.rb +0 -17
  47. data/spec/valvat/checksum/bg_spec.rb +0 -18
  48. data/spec/valvat/checksum/cy_spec.rb +0 -17
  49. data/spec/valvat/checksum/de_spec.rb +0 -17
  50. data/spec/valvat/checksum/dk_spec.rb +0 -17
  51. data/spec/valvat/checksum/ee_spec.rb +0 -17
  52. data/spec/valvat/checksum/es_spec.rb +0 -65
  53. data/spec/valvat/checksum/fi_spec.rb +0 -17
  54. data/spec/valvat/checksum/fr_spec.rb +0 -17
  55. data/spec/valvat/checksum/gb_spec.rb +0 -34
  56. data/spec/valvat/checksum/gr_spec.rb +0 -17
  57. data/spec/valvat/checksum/hr_spec.rb +0 -17
  58. data/spec/valvat/checksum/hu_spec.rb +0 -17
  59. data/spec/valvat/checksum/ie_spec.rb +0 -24
  60. data/spec/valvat/checksum/it_spec.rb +0 -25
  61. data/spec/valvat/checksum/lt_spec.rb +0 -17
  62. data/spec/valvat/checksum/lu_spec.rb +0 -17
  63. data/spec/valvat/checksum/mt_spec.rb +0 -17
  64. data/spec/valvat/checksum/nl_spec.rb +0 -17
  65. data/spec/valvat/checksum/pl_spec.rb +0 -21
  66. data/spec/valvat/checksum/pt_spec.rb +0 -30
  67. data/spec/valvat/checksum/ro_spec.rb +0 -17
  68. data/spec/valvat/checksum/se_spec.rb +0 -21
  69. data/spec/valvat/checksum/si_spec.rb +0 -25
  70. data/spec/valvat/checksum_spec.rb +0 -40
  71. data/spec/valvat/lookup/hmrc_spec.rb +0 -58
  72. data/spec/valvat/lookup/vies_spec.rb +0 -25
  73. data/spec/valvat/lookup_spec.rb +0 -493
  74. data/spec/valvat/options_spec.rb +0 -23
  75. data/spec/valvat/syntax_spec.rb +0 -68
  76. data/spec/valvat/utils_spec.rb +0 -125
  77. data/spec/valvat_spec.rb +0 -276
  78. data/valvat.gemspec +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bba8a39a51d9f779d9fbd875e7d7f18b21b0673d225f41af40f3cfd91da3b2c5
4
- data.tar.gz: 79a970d53e4650d6031872bbd6bf6025635e53e8a408915192edf565986d515a
3
+ metadata.gz: 1da1b318b333fae01f1ced9c79ff97f9ce37aafc15987a8627327477f22be2bf
4
+ data.tar.gz: c9b79dd9166f95a8d70f36dba4da7949f80aa9d96f0a33da65f7ea88db951824
5
5
  SHA512:
6
- metadata.gz: 9f6a27220bf6c54ce815f88843ada9765f7370fda92ce3960d9deae5ecefb9b0e31ebbefceee3c46616b83b5c7d72ec450496d78c29e961caf4b47b85f0d45f6
7
- data.tar.gz: 3b4fc004f50bee6fcaadd4373a4392e4d2f9bc2605ef189c600e31d7cba42ff01005dc818818c345b03ebe4525c21109d19823fc44054fd75e854f5fb8d1edd0
6
+ metadata.gz: e29725fa2f5f04aa54aa729d58842c8800fb9115f4c31298c32614e244a1c8a9d992b8666ffea76012604ff27228549d0d4f20e3f2554edc87c687b74f8d7bdf
7
+ data.tar.gz: 1ca1548dfd52ed9c1bfa32eae893b444f7093b187e0916802f94dfc9a39c999124057b266ce6f52c7738f88a078cbfd4f3751e39a1aa5db1747d89fd39476175
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Valvat
4
- VERSION = '1.4.1'
4
+ VERSION = '1.4.3'
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.1
4
+ version: 1.4.3
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+MRI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InS7HJiK9pM32mhr+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-01-08 00:00:00.000000000 Z
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: '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: []
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
@@ -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
@@ -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