vin-validator 1.0.0.pre.rc.3 → 1.0.0.pre.rc.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3741f814c141ef471f7ebcfda3251460cf7b0b3efa6c37533ed7f2f7c23e0b50
4
- data.tar.gz: ea39c504029413cf2e1ea7c76a1204dd78a3740873c090a1528a3f55e6b95b15
3
+ metadata.gz: f0900718cbe575b518977738752910919e1cd816dda122a14a3bcf61fa15ec08
4
+ data.tar.gz: 4229000169bba080ef7f1be600499da69c0f9f65d40b066f7635eed3e3530825
5
5
  SHA512:
6
- metadata.gz: 10f26742ead7a64d80fe89441ca9c2551855f24a2cd073643ae92d2455ef93b4b2d5ec17c2addfe1fd698ce6a0950be26728c762ef6954ea27ebafaff000c061
7
- data.tar.gz: dcd6eb8eca3cf5aebef2a6885f8c38e7702a43ea7dfbe632345b353856db73744abcb4f1862aea00b8ea4461fd735037589682153cc57c40a532e22a8ec4aec2
6
+ metadata.gz: 6ee7bbe424b9d984356af801069dce68f1a46c9db272831b1990703351bbcf47756c5494f38cf6df061014e65519a98b0cabd10d039fc098d736fcfabb97c479
7
+ data.tar.gz: bf9cb2c03dabcc1771a567f973f0705ca753f99a63e39f60753bca42c2c95cd44486e378534f16e0000df5d5c5002893d0bae5ad10337bd5b709bb296ba6cdf3
@@ -162,7 +162,7 @@ module VinValidator
162
162
 
163
163
  errors = []
164
164
  errors += results[:ErrorText].split('; ') unless results[:ErrorCode] == '0'
165
- errors += Array(results[:AdditionalErrorText])
165
+ errors += Array(results[:AdditionalErrorText]) unless results[:AdditionalErrorText].empty?
166
166
 
167
167
  return {
168
168
  errors: [],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VinValidator
4
- VERSION = '1.0.0-rc.3'
4
+ VERSION = '1.0.0-rc.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vin-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc.3
4
+ version: 1.0.0.pre.rc.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance