valvat 0.6.10 → 0.6.11
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.tar.gz.sig +0 -0
- data/.editorconfig +15 -0
- data/.travis.yml +25 -5
- data/CHANGES.md +9 -1
- data/README.md +8 -7
- data/certs/yolk.pem +16 -16
- data/gemfiles/activemodel-3-2 +2 -2
- data/gemfiles/activemodel-4 +2 -2
- data/gemfiles/activemodel-5 +8 -0
- data/gemfiles/before-ruby21/activemodel-3-2 +9 -0
- data/gemfiles/before-ruby21/activemodel-4 +9 -0
- data/gemfiles/before-ruby21/standalone +8 -0
- data/gemfiles/standalone +1 -1
- data/lib/valvat/checksum/fr.rb +14 -0
- data/lib/valvat/locales/es.yml +1 -1
- data/lib/valvat/locales/fr.yml +33 -33
- data/lib/valvat/version.rb +1 -1
- data/spec/spec_helper.rb +0 -13
- data/spec/valvat/checksum/fr_spec.rb +15 -0
- data/spec/valvat/checksum_spec.rb +1 -1
- data/spec/valvat/lookup_spec.rb +1 -3
- data/spec/valvat_spec.rb +1 -5
- data/valvat.gemspec +0 -1
- metadata +27 -33
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea57455edd0e89dd9205647d6c640528d900c068
|
4
|
+
data.tar.gz: a2f2633b44ad25e899ef8992fc3a4682a61b0d3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99fbddf4276e0f01d5dedc79943e1f2d558e0eb2a97d75513342df7addb6082839a4c6e0ee9ede4b9bf70a93da57612f689e69eba109a4fb77ed0cead328002e
|
7
|
+
data.tar.gz: 1b89e31ad6915365cbf83ff0a2852df470419485a2919d323508f8a87b4740c3a665d132af574a90eb4b1cbb1c6e57287dd326e6b3e7d7a8d7474cddcb9ffc41
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.editorconfig
ADDED
@@ -0,0 +1,15 @@
|
|
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
|
data/.travis.yml
CHANGED
@@ -1,11 +1,31 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 1
|
3
|
+
- 2.4.0
|
4
|
+
- 2.3
|
5
|
+
- 2.2
|
6
|
+
- 2.1
|
7
7
|
- jruby-19mode
|
8
8
|
gemfile:
|
9
|
+
- gemfiles/activemodel-5
|
9
10
|
- gemfiles/activemodel-4
|
10
11
|
- gemfiles/activemodel-3-2
|
11
|
-
- gemfiles/standalone
|
12
|
+
- gemfiles/standalone
|
13
|
+
matrix:
|
14
|
+
exclude:
|
15
|
+
- rvm: 2.1
|
16
|
+
gemfile: gemfiles/activemodel-5
|
17
|
+
- rvm: jruby-19mode
|
18
|
+
gemfile: gemfiles/activemodel-5
|
19
|
+
include:
|
20
|
+
- rvm: 2.0
|
21
|
+
gemfile: gemfiles/before-ruby21/activemodel-4
|
22
|
+
- rvm: 2.0
|
23
|
+
gemfile: gemfiles/before-ruby21/activemodel-3-2
|
24
|
+
- rvm: 2.0
|
25
|
+
gemfile: gemfiles/before-ruby21/standalone
|
26
|
+
- rvm: 1.9.3
|
27
|
+
gemfile: gemfiles/before-ruby21/activemodel-4
|
28
|
+
- rvm: 1.9.3
|
29
|
+
gemfile: gemfiles/before-ruby21/activemodel-3-2
|
30
|
+
- rvm: 1.9.3
|
31
|
+
gemfile: gemfiles/before-ruby21/standalone
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
### dev
|
2
2
|
|
3
|
-
[full changelog](http://github.com/yolk/valvat/compare/v0.6.
|
3
|
+
[full changelog](http://github.com/yolk/valvat/compare/v0.6.11...master)
|
4
|
+
|
5
|
+
### 0.6.11 / 2017-04-07
|
6
|
+
|
7
|
+
[full changelog](http://github.com/yolk/valvat/compare/v0.6.10...v0.6.11)
|
8
|
+
|
9
|
+
* Removed fakeweb tests and dependency
|
10
|
+
* Add French checksum validation (by [0ctobat](https://github.com/0ctobat))
|
11
|
+
* Test against current ruby (2.4) and activemodel (5.0) versions
|
4
12
|
|
5
13
|
### 0.6.10 / 2015-05-29
|
6
14
|
|
data/README.md
CHANGED
@@ -9,12 +9,12 @@ Validates european vat numbers. Standalone or as a ActiveModel validator.
|
|
9
9
|
|
10
10
|
* Simple syntax verification
|
11
11
|
* Lookup via the VIES web service
|
12
|
-
*
|
12
|
+
* ActiveModel/Rails integration
|
13
13
|
* Works standalone without ActiveModel
|
14
|
-
* I18n locales for country specific error messages in English, German, French, Spanish, Italian, Portuguese, Polish, Swedish, Dutch, Danish, Bulgarian, Romanian, Latvian, Catalan, and
|
14
|
+
* I18n locales for country specific error messages in English, German, French, Spanish, Italian, Portuguese, Polish, Swedish, Dutch, Danish, Czech, Bulgarian, Romanian, Latvian, Catalan, and Finnish.
|
15
15
|
* *Experimental* checksum verification
|
16
16
|
|
17
|
-
valvat is tested and works with ruby MRI 1.9.3/2.0/2.1/2.2, jruby (in 1.9 mode) and ActiveModel 3
|
17
|
+
valvat is tested and works with ruby MRI 1.9.3/2.0/2.1/2.2/2.3/2.4, jruby (in 1.9 mode) and ActiveModel 3/4/5
|
18
18
|
|
19
19
|
## Installation
|
20
20
|
|
@@ -48,12 +48,12 @@ Or to lookup a vat number string directly via VIES web service:
|
|
48
48
|
|
49
49
|
## Experimental checksum verification
|
50
50
|
|
51
|
-
valvat allows to check vat numbers from AT, BE, BG, DE, DK, ES, FI, GR, IE, IT, LU, NL, PL, PT, SE and SI against a checksum calculation. All other countries will fall back to a simple syntax check:
|
51
|
+
valvat allows to check vat numbers from AT, BE, BG, DE, DK, ES, FR, FI, GR, IE, IT, LU, NL, PL, PT, SE and SI against a checksum calculation. All other countries will fall back to a simple syntax check:
|
52
52
|
|
53
53
|
Valvat.new("DE345789003").valid_checksum?
|
54
54
|
=> true or false
|
55
55
|
|
56
|
-
These results are more
|
56
|
+
These results are more valuable than a simple syntax check, but keep in mind: they can not replace a lookup via VIES.
|
57
57
|
|
58
58
|
*IMPORTANT* This feature was tested against all vat numbers I could get my hand on, but it is still marked as *experimental* because these calculations are not documented and may return wrong results.
|
59
59
|
|
@@ -188,6 +188,7 @@ There seems to be a problem when using the VIES service over IPv6. Sadly this is
|
|
188
188
|
|
189
189
|
## Contributions by
|
190
190
|
|
191
|
+
* [0ctobat](https://github.com/0ctobat)
|
191
192
|
* [kaapa](https://github.com/kaapa)
|
192
193
|
* [descala](https://github.com/descala)
|
193
194
|
* [Carlos Hernández Medina](https://github.com/polimorfico)
|
@@ -210,6 +211,6 @@ There seems to be a problem when using the VIES service over IPv6. Sadly this is
|
|
210
211
|
|
211
212
|
## BlaBla
|
212
213
|
|
213
|
-
Copyright (c) 2011-
|
214
|
+
Copyright (c) 2011-2017 Yolk Sebastian Munz & Julia Soergel GbR
|
214
215
|
|
215
|
-
Beyond that, the implementation is licensed under the MIT License.
|
216
|
+
Beyond that, the implementation is licensed under the MIT License.
|
data/certs/yolk.pem
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
2
|
MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQUFADA8MRIwEAYDVQQDDAlzZWJh
|
3
3
|
c3RpYW4xEjAQBgoJkiaJk/IsZAEZFgJ5bzESMBAGCgmSJomT8ixkARkWAmxrMB4X
|
4
|
-
|
4
|
+
DTE3MDQwNzE1MjU0MVoXDTE4MDQwNzE1MjU0MVowPDESMBAGA1UEAwwJc2ViYXN0
|
5
5
|
aWFuMRIwEAYKCZImiZPyLGQBGRYCeW8xEjAQBgoJkiaJk/IsZAEZFgJsazCCASIw
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
6
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN19ZJbT2UwwKRMGCf48+Gzt9e7Z
|
7
|
+
sArp7mEntubMpHBkXJUzfGGmn8jklUFke/twROq7pYBZjHJCtM/O2vnnmQbSBDQC
|
8
|
+
FeUj9+1mfatbBj2Kl804kzzif6hFN4CiQlins8cbct9jinZGldb6D4g3ZdFJApHz
|
9
|
+
veZSuFVdVXBm7cdogfeGP6mj3c6jUmP0frT3oN+rDQBTBFsnuLN5IepNLc4rdWEr
|
10
|
+
XTPf9rKZcN1oFjkayTuItuJ3VAm7NvMZ5EQjAI2L5EB5H7HD1j3KzkuB3nHvEUvK
|
11
|
+
fNIZ5ra5JxfkBJNDYVeAPrv64nMZcmboQFr31ny8MACy3uPtSDoqUpF1q6ECAwEA
|
12
|
+
AaNxMG8wCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJZhKY2tg3YH
|
13
|
+
6ijnuqXJUyhLJ3cxMBoGA1UdEQQTMBGBD3NlYmFzdGlhbkB5by5sazAaBgNVHRIE
|
14
|
+
EzARgQ9zZWJhc3RpYW5AeW8ubGswDQYJKoZIhvcNAQEFBQADggEBAEiRlI+2VUC0
|
15
|
+
N6mWD1FDKYb+ok2xaTnrn+tFK2JwnKQj88F5gskBbHjmIyPrEHBXfAf6YqQhqtUm
|
16
|
+
V7k4cEbcXKQyPUmoX5u+v1VFbVBUWTQTnC9rnHn7KEu7NnXjU+nV0EVBMJMbvnNR
|
17
|
+
4pktQakuj4t5rFHb21Ar/X1ANIzlGk6IwrKifmCSyIZgB+jtVOynvWSB7TraROQK
|
18
|
+
BZBBbMjjsp7oFqwcDFMLZ0vngKVXTZW4Fb02/KxGtPthGWNDiXVrHCNPWR1QI8+A
|
19
|
+
uE5yNhiszXkFmLQWPm57rwu8PbwT7av5kmYVhn8qkRz2aZnuAlLV3rcq2Khe5F0/
|
20
|
+
jZmT2fJ8H8g=
|
21
21
|
-----END CERTIFICATE-----
|
data/gemfiles/activemodel-3-2
CHANGED
data/gemfiles/activemodel-4
CHANGED
data/gemfiles/standalone
CHANGED
data/lib/valvat/locales/es.yml
CHANGED
data/lib/valvat/locales/fr.yml
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
fr:
|
2
|
-
errors:
|
3
|
-
messages:
|
4
|
-
invalid_vat: "
|
5
|
-
valvat:
|
6
|
-
country_adjectives:
|
7
|
-
eu:
|
8
|
-
at: autrichienne
|
9
|
-
be: belge
|
10
|
-
bg: bulgare
|
11
|
-
cy: chypriote
|
12
|
-
cz: tchèque
|
13
|
-
de: allemande
|
14
|
-
dk: danoise
|
15
|
-
ee: estonien
|
16
|
-
es: espagnole
|
17
|
-
fi: finlandaise
|
18
|
-
fr:
|
19
|
-
gb: britannique
|
20
|
-
gr:
|
21
|
-
ie:
|
22
|
-
it:
|
23
|
-
lt: lituanienne
|
24
|
-
lu: luxembourgeoise
|
25
|
-
lv:
|
26
|
-
mt: maltais
|
27
|
-
nl:
|
28
|
-
pl:
|
29
|
-
pt:
|
30
|
-
ro: roumaine
|
31
|
-
se:
|
32
|
-
si:
|
33
|
-
sk: slovaque
|
1
|
+
fr:
|
2
|
+
errors:
|
3
|
+
messages:
|
4
|
+
invalid_vat: "Numéro de TVA %{country_adjective} invalide"
|
5
|
+
valvat:
|
6
|
+
country_adjectives:
|
7
|
+
eu: intracommunautaire
|
8
|
+
at: autrichienne
|
9
|
+
be: belge
|
10
|
+
bg: bulgare
|
11
|
+
cy: chypriote
|
12
|
+
cz: tchèque
|
13
|
+
de: allemande
|
14
|
+
dk: danoise
|
15
|
+
ee: estonien
|
16
|
+
es: espagnole
|
17
|
+
fi: finlandaise
|
18
|
+
fr: française
|
19
|
+
gb: britannique
|
20
|
+
gr: grèque
|
21
|
+
ie: irlandaise
|
22
|
+
it: italienne
|
23
|
+
lt: lituanienne
|
24
|
+
lu: luxembourgeoise
|
25
|
+
lv: lettone
|
26
|
+
mt: maltais
|
27
|
+
nl: hollandaise
|
28
|
+
pl: polonaise
|
29
|
+
pt: portugaise
|
30
|
+
ro: roumaine
|
31
|
+
se: suédoise
|
32
|
+
si: slovène
|
33
|
+
sk: slovaque
|
data/lib/valvat/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -4,12 +4,9 @@ begin
|
|
4
4
|
rescue LoadError => err
|
5
5
|
puts "Running specs without active_model extension"
|
6
6
|
end
|
7
|
-
require 'fakeweb'
|
8
7
|
|
9
8
|
require File.dirname(__FILE__) + '/../lib/valvat.rb'
|
10
9
|
|
11
|
-
$fakeweb = true
|
12
|
-
|
13
10
|
RSpec.configure do |config|
|
14
11
|
config.mock_with :rspec
|
15
12
|
config.filter_run :focus => true
|
@@ -37,13 +34,3 @@ if defined?(ActiveModel)
|
|
37
34
|
end
|
38
35
|
end
|
39
36
|
end
|
40
|
-
|
41
|
-
def without_any_web_requests!
|
42
|
-
before(:all) do
|
43
|
-
FakeWeb.clean_registry
|
44
|
-
FakeWeb.allow_net_connect = false
|
45
|
-
end
|
46
|
-
after(:all) do
|
47
|
-
FakeWeb.allow_net_connect = true
|
48
|
-
end
|
49
|
-
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Valvat::Checksum::FR do
|
4
|
+
%w(FR60528551658 FR43820567501).each do |valid_vat|
|
5
|
+
it "returns true on valid vat #{valid_vat}" do
|
6
|
+
expect(Valvat::Checksum.validate(valid_vat)).to eql(true)
|
7
|
+
end
|
8
|
+
|
9
|
+
invalid_vat = "#{valid_vat[0..-3]}#{valid_vat[-1]}#{valid_vat[-2]}"
|
10
|
+
|
11
|
+
it "returns false on invalid vat #{invalid_vat}" do
|
12
|
+
expect(Valvat::Checksum.validate(invalid_vat)).to eql(false)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -9,7 +9,7 @@ end
|
|
9
9
|
describe Valvat::Checksum do
|
10
10
|
describe "#validate" do
|
11
11
|
it "returns true on vat number with unknown checksum algorithm" do
|
12
|
-
expect(Valvat::Checksum.validate("
|
12
|
+
expect(Valvat::Checksum.validate("HR12345678901")).to eql(true)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "returns false on corrupt number (e.g checks syntax)" do
|
data/spec/valvat/lookup_spec.rb
CHANGED
@@ -38,8 +38,6 @@ describe Valvat::Lookup do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
context "invalid country code / input" do
|
41
|
-
without_any_web_requests!
|
42
|
-
|
43
41
|
it "returns false" do
|
44
42
|
expect(Valvat::Lookup.validate("AE259597697")).to eql(false)
|
45
43
|
expect(Valvat::Lookup.validate("")).to eql(false)
|
@@ -131,7 +129,7 @@ describe Valvat::Lookup do
|
|
131
129
|
# before do
|
132
130
|
# json = "{\"error_message\": \"Member State service unavailable.\", \"error_code\": 1, \"error\": true}"
|
133
131
|
# FakeWeb.register_uri(:get, "http://isvat.appspot.com/DE/259597697/", :body => json)
|
134
|
-
# end
|
132
|
+
# end
|
135
133
|
|
136
134
|
# it "returns nil" do
|
137
135
|
# Valvat::Lookup.validate("DE259597697").should eql(nil)
|
data/spec/valvat_spec.rb
CHANGED
@@ -30,7 +30,7 @@ describe Valvat do
|
|
30
30
|
|
31
31
|
|
32
32
|
describe "#blank?" do
|
33
|
-
|
33
|
+
|
34
34
|
it "returns true when when initialized with nil" do
|
35
35
|
expect(Valvat.new(nil)).to be_blank
|
36
36
|
end
|
@@ -173,8 +173,6 @@ describe Valvat do
|
|
173
173
|
end
|
174
174
|
|
175
175
|
describe "#exist?" do
|
176
|
-
without_any_web_requests!
|
177
|
-
|
178
176
|
it "returns false" do
|
179
177
|
expect(us_vat).not_to be_exist
|
180
178
|
expect(ch_vat).not_to be_exist
|
@@ -234,8 +232,6 @@ describe Valvat do
|
|
234
232
|
end
|
235
233
|
|
236
234
|
describe "#exist?" do
|
237
|
-
without_any_web_requests!
|
238
|
-
|
239
235
|
it "returns false" do
|
240
236
|
expect(only_iso_vat).not_to be_exist
|
241
237
|
expect(num_vat).not_to be_exist
|
data/valvat.gemspec
CHANGED
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: 0.6.
|
4
|
+
version: 0.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Munz
|
@@ -12,25 +12,25 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQUFADA8MRIwEAYDVQQDDAlzZWJh
|
14
14
|
c3RpYW4xEjAQBgoJkiaJk/IsZAEZFgJ5bzESMBAGCgmSJomT8ixkARkWAmxrMB4X
|
15
|
-
|
15
|
+
DTE3MDQwNzE1MjU0MVoXDTE4MDQwNzE1MjU0MVowPDESMBAGA1UEAwwJc2ViYXN0
|
16
16
|
aWFuMRIwEAYKCZImiZPyLGQBGRYCeW8xEjAQBgoJkiaJk/IsZAEZFgJsazCCASIw
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
17
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN19ZJbT2UwwKRMGCf48+Gzt9e7Z
|
18
|
+
sArp7mEntubMpHBkXJUzfGGmn8jklUFke/twROq7pYBZjHJCtM/O2vnnmQbSBDQC
|
19
|
+
FeUj9+1mfatbBj2Kl804kzzif6hFN4CiQlins8cbct9jinZGldb6D4g3ZdFJApHz
|
20
|
+
veZSuFVdVXBm7cdogfeGP6mj3c6jUmP0frT3oN+rDQBTBFsnuLN5IepNLc4rdWEr
|
21
|
+
XTPf9rKZcN1oFjkayTuItuJ3VAm7NvMZ5EQjAI2L5EB5H7HD1j3KzkuB3nHvEUvK
|
22
|
+
fNIZ5ra5JxfkBJNDYVeAPrv64nMZcmboQFr31ny8MACy3uPtSDoqUpF1q6ECAwEA
|
23
|
+
AaNxMG8wCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJZhKY2tg3YH
|
24
|
+
6ijnuqXJUyhLJ3cxMBoGA1UdEQQTMBGBD3NlYmFzdGlhbkB5by5sazAaBgNVHRIE
|
25
|
+
EzARgQ9zZWJhc3RpYW5AeW8ubGswDQYJKoZIhvcNAQEFBQADggEBAEiRlI+2VUC0
|
26
|
+
N6mWD1FDKYb+ok2xaTnrn+tFK2JwnKQj88F5gskBbHjmIyPrEHBXfAf6YqQhqtUm
|
27
|
+
V7k4cEbcXKQyPUmoX5u+v1VFbVBUWTQTnC9rnHn7KEu7NnXjU+nV0EVBMJMbvnNR
|
28
|
+
4pktQakuj4t5rFHb21Ar/X1ANIzlGk6IwrKifmCSyIZgB+jtVOynvWSB7TraROQK
|
29
|
+
BZBBbMjjsp7oFqwcDFMLZ0vngKVXTZW4Fb02/KxGtPthGWNDiXVrHCNPWR1QI8+A
|
30
|
+
uE5yNhiszXkFmLQWPm57rwu8PbwT7av5kmYVhn8qkRz2aZnuAlLV3rcq2Khe5F0/
|
31
|
+
jZmT2fJ8H8g=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2017-04-07 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: savon
|
@@ -74,20 +74,6 @@ dependencies:
|
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '3.0'
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
name: fakeweb
|
79
|
-
requirement: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 1.3.0
|
84
|
-
type: :development
|
85
|
-
prerelease: false
|
86
|
-
version_requirements: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 1.3.0
|
91
77
|
description: Validates european vat numbers. Standalone or as a ActiveModel validator.
|
92
78
|
email:
|
93
79
|
- sebastian@yo.lk
|
@@ -95,6 +81,7 @@ executables: []
|
|
95
81
|
extensions: []
|
96
82
|
extra_rdoc_files: []
|
97
83
|
files:
|
84
|
+
- ".editorconfig"
|
98
85
|
- ".gitignore"
|
99
86
|
- ".travis.yml"
|
100
87
|
- CHANGES.md
|
@@ -106,6 +93,10 @@ files:
|
|
106
93
|
- certs/yolk.pem
|
107
94
|
- gemfiles/activemodel-3-2
|
108
95
|
- gemfiles/activemodel-4
|
96
|
+
- gemfiles/activemodel-5
|
97
|
+
- gemfiles/before-ruby21/activemodel-3-2
|
98
|
+
- gemfiles/before-ruby21/activemodel-4
|
99
|
+
- gemfiles/before-ruby21/standalone
|
109
100
|
- gemfiles/standalone
|
110
101
|
- lib/active_model/validations/valvat_validator.rb
|
111
102
|
- lib/valvat.rb
|
@@ -117,6 +108,7 @@ files:
|
|
117
108
|
- lib/valvat/checksum/dk.rb
|
118
109
|
- lib/valvat/checksum/es.rb
|
119
110
|
- lib/valvat/checksum/fi.rb
|
111
|
+
- lib/valvat/checksum/fr.rb
|
120
112
|
- lib/valvat/checksum/gr.rb
|
121
113
|
- lib/valvat/checksum/ie.rb
|
122
114
|
- lib/valvat/checksum/it.rb
|
@@ -157,6 +149,7 @@ files:
|
|
157
149
|
- spec/valvat/checksum/dk_spec.rb
|
158
150
|
- spec/valvat/checksum/es_spec.rb
|
159
151
|
- spec/valvat/checksum/fi_spec.rb
|
152
|
+
- spec/valvat/checksum/fr_spec.rb
|
160
153
|
- spec/valvat/checksum/gr_spec.rb
|
161
154
|
- spec/valvat/checksum/ie_spec.rb
|
162
155
|
- spec/valvat/checksum/it_spec.rb
|
@@ -192,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
185
|
version: '0'
|
193
186
|
requirements: []
|
194
187
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.6.8
|
196
189
|
signing_key:
|
197
190
|
specification_version: 4
|
198
191
|
summary: Validates european vat numbers. Standalone or as a ActiveModel validator.
|
@@ -206,6 +199,7 @@ test_files:
|
|
206
199
|
- spec/valvat/checksum/dk_spec.rb
|
207
200
|
- spec/valvat/checksum/es_spec.rb
|
208
201
|
- spec/valvat/checksum/fi_spec.rb
|
202
|
+
- spec/valvat/checksum/fr_spec.rb
|
209
203
|
- spec/valvat/checksum/gr_spec.rb
|
210
204
|
- spec/valvat/checksum/ie_spec.rb
|
211
205
|
- spec/valvat/checksum/it_spec.rb
|
metadata.gz.sig
CHANGED
Binary file
|