europe 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b117fbde4812a7c55c95dfe21f6c1c52d792e529
4
- data.tar.gz: 1029b7ad3e8c5c310f41e887eb0bb074d1589a09
3
+ metadata.gz: 1d022e4a3ea559d55ca26640bd6a44df71d99291
4
+ data.tar.gz: 9ef1ff98de530b7cd88258e17849d5b319fb8e3c
5
5
  SHA512:
6
- metadata.gz: f7383ca5b11d95988b4e0da4939646379429cca04bfa4a0fa38d2edbff0f89b5de1517817cf609ec2afb305b00fc516395cada25f38b3ad7aa61d1eb5b55c88c
7
- data.tar.gz: 854180e88ab6348b08c0bc2ac1e7a335ffbc88c110ef439a62d4782bb3ed2ea29056607d5088bbb2153717dcbf07a14a5fd3acaf38218db9d0655f495bd117ca
6
+ metadata.gz: 3d8e879c1b5f554d7e96c5b3baad461ed7861bb72b90fc29d7faf214c753920d85701290515161d87c8a6c3819a7af9e4f85aa74a71ac6d3855bec518f2a31ff
7
+ data.tar.gz: 70c92329dedceaddc5eb396e20f5e8ff21d0ae6eefd950b39bbe179c368781283a9ac9497fe65c47efc56bdefbba319d9ef89661c3563776bdc297b704c66c54
@@ -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)
@@ -1,4 +1,4 @@
1
1
  # Europe version
2
2
  module Europe
3
- VERSION = '0.0.5'.freeze
3
+ VERSION = '0.0.6'.freeze
4
4
  end
@@ -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 validate_correct_vat == :failed
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 validate_correct_vat == :failed
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 validate_correct_vat == :failed
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.5
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