valvat 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +7 -1
- data/lib/valvat/lookup.rb +2 -12
- data/lib/valvat/version.rb +1 -1
- data/valvat.gemspec +1 -9
- metadata +3 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd3b95aa5d283ec356195df0880ad0e64e446aa3
|
|
4
|
+
data.tar.gz: dcaba4e137938936a83fe03d81e56b4b3a87c1d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 289ecdaf74f63696bc7ebcd7804ae430c9baa1671544a093291fe335ff8db46e1f655984b5c24fea08b1294234160abc13cffc1195af2f0c62997f5add56adb1
|
|
7
|
+
data.tar.gz: ca8d11429b9586fd2c85fde897b9f50cabb1921dadba56dd7b9d7a47d86801b6d54439a400493d3463311a158f9489a3a3189d9d7640b5f0450b4462969766ce
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
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.1...master)
|
|
4
|
+
|
|
5
|
+
### 0.6.1 / 2013-09-02
|
|
6
|
+
|
|
7
|
+
[full changelog](http://github.com/yolk/valvat/compare/v0.6.0...v0.6.1)
|
|
8
|
+
|
|
9
|
+
* Valvat::Lockup: require savon on load
|
|
4
10
|
|
|
5
11
|
### 0.6.0 / 2013-08-01
|
|
6
12
|
|
data/lib/valvat/lookup.rb
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
require 'valvat'
|
|
2
|
-
require '
|
|
3
|
-
require 'yaml'
|
|
2
|
+
require 'savon'
|
|
4
3
|
|
|
5
4
|
class Valvat
|
|
6
5
|
class Lookup
|
|
@@ -31,16 +30,7 @@ class Valvat
|
|
|
31
30
|
end
|
|
32
31
|
|
|
33
32
|
def client
|
|
34
|
-
@client ||=
|
|
35
|
-
# Require Savon only if really needed!
|
|
36
|
-
require 'savon' unless defined?(Savon)
|
|
37
|
-
|
|
38
|
-
Savon::Client.new(
|
|
39
|
-
wsdl: VIES_WSDL_URL,
|
|
40
|
-
# Quiet down Savon and HTTPI
|
|
41
|
-
log: false
|
|
42
|
-
)
|
|
43
|
-
end
|
|
33
|
+
@client ||= Savon::Client.new(wsdl: VIES_WSDL_URL, log: false)
|
|
44
34
|
end
|
|
45
35
|
end
|
|
46
36
|
|
data/lib/valvat/version.rb
CHANGED
data/valvat.gemspec
CHANGED
|
@@ -11,15 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.email = ["sebastian@yo.lk"]
|
|
12
12
|
s.homepage = "https://github.com/yolk/valvat"
|
|
13
13
|
s.summary = %q{Validates european vat numbers. Standalone or as a ActiveModel validator.}
|
|
14
|
-
s.description =
|
|
15
|
-
Validates european vat numbers. Standalone or as a ActiveModel validator.
|
|
16
|
-
|
|
17
|
-
* Simple syntax verification
|
|
18
|
-
* Lookup via the VIES web service
|
|
19
|
-
* Supports details & requester identification
|
|
20
|
-
* (Optional) ActiveModel/Rails3 integration
|
|
21
|
-
* I18n locales for country specific error messages
|
|
22
|
-
END
|
|
14
|
+
s.description = %q{Validates european vat numbers. Standalone or as a ActiveModel validator.}
|
|
23
15
|
|
|
24
16
|
|
|
25
17
|
|
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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Munz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: savon
|
|
@@ -108,14 +108,7 @@ dependencies:
|
|
|
108
108
|
- - '>='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: 1.3.0
|
|
111
|
-
description:
|
|
112
|
-
Validates european vat numbers. Standalone or as a ActiveModel validator.
|
|
113
|
-
|
|
114
|
-
* Simple syntax verification
|
|
115
|
-
* Lookup via the VIES web service
|
|
116
|
-
* Supports details & requester identification
|
|
117
|
-
* (Optional) ActiveModel/Rails3 integration
|
|
118
|
-
* I18n locales for country specific error messages
|
|
111
|
+
description: Validates european vat numbers. Standalone or as a ActiveModel validator.
|
|
119
112
|
email:
|
|
120
113
|
- sebastian@yo.lk
|
|
121
114
|
executables: []
|