valvat 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -2
- data/CHANGES.md +9 -1
- data/README.md +3 -2
- data/gemfiles/activemodel-3-2 +1 -1
- data/gemfiles/activemodel-4 +1 -1
- data/gemfiles/standalone +1 -1
- data/lib/valvat/locales/da.yml +34 -0
- data/lib/valvat/locales/es.yml +34 -0
- data/lib/valvat/locales/fr.yml +33 -0
- data/lib/valvat/version.rb +1 -1
- data/spec/active_model/validations/valvat_validator_spec.rb +43 -43
- data/spec/spec_helper.rb +0 -1
- data/spec/valvat/checksum/at_spec.rb +2 -2
- data/spec/valvat/checksum/be_spec.rb +2 -2
- data/spec/valvat/checksum/bg_spec.rb +2 -2
- data/spec/valvat/checksum/de_spec.rb +2 -2
- data/spec/valvat/checksum/dk_spec.rb +2 -2
- data/spec/valvat/checksum/es_spec.rb +2 -2
- data/spec/valvat/checksum/fi_spec.rb +2 -2
- data/spec/valvat/checksum/gr_spec.rb +2 -2
- data/spec/valvat/checksum/ie_spec.rb +2 -2
- data/spec/valvat/checksum/it_spec.rb +4 -4
- data/spec/valvat/checksum/lu_spec.rb +2 -2
- data/spec/valvat/checksum/nl_spec.rb +2 -2
- data/spec/valvat/checksum/pl_spec.rb +3 -3
- data/spec/valvat/checksum/pt_spec.rb +3 -3
- data/spec/valvat/checksum/se_spec.rb +3 -3
- data/spec/valvat/checksum/si_spec.rb +4 -4
- data/spec/valvat/checksum_spec.rb +3 -3
- data/spec/valvat/lookup_spec.rb +17 -17
- data/spec/valvat/syntax_spec.rb +170 -170
- data/spec/valvat/utils_spec.rb +24 -24
- data/spec/valvat_spec.rb +87 -87
- data/valvat.gemspec +3 -3
- metadata +10 -7
data/valvat.gemspec
CHANGED
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
|
-
s.add_dependency 'savon', '>=2.3.0'
|
23
|
+
s.add_dependency 'savon', '>= 2.3.0'
|
24
24
|
|
25
|
-
s.add_development_dependency 'rspec', '
|
26
|
-
s.add_development_dependency 'activemodel', '>=3.0'
|
25
|
+
s.add_development_dependency 'rspec', '~> 3.0'
|
26
|
+
s.add_development_dependency 'activemodel', '>= 3.0'
|
27
27
|
s.add_development_dependency 'fakeweb', '>= 1.3.0'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Munz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '3.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activemodel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,8 +106,11 @@ files:
|
|
106
106
|
- lib/valvat/checksum/se.rb
|
107
107
|
- lib/valvat/checksum/si.rb
|
108
108
|
- lib/valvat/locales/bg.yml
|
109
|
+
- lib/valvat/locales/da.yml
|
109
110
|
- lib/valvat/locales/de.yml
|
110
111
|
- lib/valvat/locales/en.yml
|
112
|
+
- lib/valvat/locales/es.yml
|
113
|
+
- lib/valvat/locales/fr.yml
|
111
114
|
- lib/valvat/locales/it.yml
|
112
115
|
- lib/valvat/locales/lv.yml
|
113
116
|
- lib/valvat/locales/nl.yml
|
@@ -165,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
168
|
version: '0'
|
166
169
|
requirements: []
|
167
170
|
rubyforge_project:
|
168
|
-
rubygems_version: 2.2.
|
171
|
+
rubygems_version: 2.2.2
|
169
172
|
signing_key:
|
170
173
|
specification_version: 4
|
171
174
|
summary: Validates european vat numbers. Standalone or as a ActiveModel validator.
|