europe 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/lib/europe/version.rb +1 -1
- data/test/europe/vat/validation_test.rb +3 -3
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d022e4a3ea559d55ca26640bd6a44df71d99291
|
4
|
+
data.tar.gz: 9ef1ff98de530b7cd88258e17849d5b319fb8e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8e879c1b5f554d7e96c5b3baad461ed7861bb72b90fc29d7faf214c753920d85701290515161d87c8a6c3819a7af9e4f85aa74a71ac6d3855bec518f2a31ff
|
7
|
+
data.tar.gz: 70c92329dedceaddc5eb396e20f5e8ff21d0ae6eefd950b39bbe179c368781283a9ac9497fe65c47efc56bdefbba319d9ef89661c3563776bdc297b704c66c54
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Change Log
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
|
+
|
5
|
+
## 0.0.6
|
6
|
+
- Added Changelog
|
7
|
+
- Fixed test case for VAT validation where EU VIES services times out
|
8
|
+
- [Full Changelog](https://github.com/VvanGemert/europe/compare/v0.0.5...v0.0.6)
|
9
|
+
|
10
|
+
## 0.0.5
|
11
|
+
- Added SimpleCov for Code coverage
|
12
|
+
- Added README
|
13
|
+
- Added VAT number sanitizer and charge_vat? method
|
14
|
+
- Changed requirement of Ruby version to be greater than 2.2.2
|
15
|
+
- Disabled warnings in test helper
|
16
|
+
- Added minitest-reporters gem for better overview of tests
|
17
|
+
- Fixed code syntax with new rubocop version
|
18
|
+
- [Full Changelog](https://github.com/VvanGemert/europe/compare/v0.0.4...v0.0.5)
|
data/lib/europe/version.rb
CHANGED
@@ -19,17 +19,17 @@ module Europe
|
|
19
19
|
# PostNL
|
20
20
|
validate_correct_vat = Europe::Vat.validate('NL009291477B01')
|
21
21
|
assert validate_correct_vat[:valid] \
|
22
|
-
unless
|
22
|
+
unless [:timeout, :failed].include?(validate_correct_vat)
|
23
23
|
|
24
24
|
# Sky
|
25
25
|
validate_correct_vat = Europe::Vat.validate('GB440627467')
|
26
26
|
assert validate_correct_vat[:valid] \
|
27
|
-
unless
|
27
|
+
unless [:timeout, :failed].include?(validate_correct_vat)
|
28
28
|
|
29
29
|
# Volkswagen
|
30
30
|
validate_correct_vat = Europe::Vat.validate('DE115235681')
|
31
31
|
assert validate_correct_vat[:valid] \
|
32
|
-
unless
|
32
|
+
unless [:timeout, :failed].include?(validate_correct_vat)
|
33
33
|
end
|
34
34
|
|
35
35
|
def test_failed_request_to_soap_service
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: europe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VvanGemert
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- ".pryrc"
|
178
178
|
- ".rubocop.yml"
|
179
179
|
- ".travis.yml"
|
180
|
+
- CHANGELOG.md
|
180
181
|
- Gemfile
|
181
182
|
- LICENSE
|
182
183
|
- LICENSE.txt
|