valigator-csv 1.5.0 → 1.5.1

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
  SHA1:
3
- metadata.gz: 54ed9fc641ce391e995b63f06a2fec44fbf2da4d
4
- data.tar.gz: 021f08c2fa878dff7dc28a400fee15f6bc1ffcb8
3
+ metadata.gz: 50fed79789474fc436055d8d1bd6a13461360410
4
+ data.tar.gz: 6f5c92102166f7cb757b8519ace411b83b71818d
5
5
  SHA512:
6
- metadata.gz: 106c81bb41c7655e704c2b5e2bbe5fab0c4f4f89625357344684b19188570769c773bf328bb492af6f89e8aa544665410e2bf0a39f0232553e7f0d52970e2bb3
7
- data.tar.gz: b6a4ad060dfb70029a02f20fedb0dfd91f76891dba26d9c5dc4a28359391a419ba2c916faebb2dbd144a16fa28600673af6b23a8dc0b43399604f6542c8b25cc
6
+ metadata.gz: d86d34f1a4cac3d7657adc0f25126adf9617b0308a5015203f166d9ada6387b9ffa3c9e018559ef3961e85454b132ee1683dc54cb79fad3b246904be2573790f
7
+ data.tar.gz: 91bf0ec65f6778ce4b58560c78eb0ba57d6919100c1e3e1217651cf110dde2354c42fdac597ff2776e02fc79cc9d7c43d59ecf45227417f118e1d31390a0f5ed
@@ -86,9 +86,7 @@ module Valigator
86
86
  'field_size'
87
87
  when /Unclosed quoted field/
88
88
  'unclosed_quote'
89
- when /invalid byte sequence/
90
- 'invalid_encoding'
91
- when /incompatible encoding/
89
+ when /invalid byte sequence/, /incompatible encoding/, /incompatible character encodings/
92
90
  'invalid_encoding'
93
91
  else
94
92
  raise UnhandledTypeError, message
@@ -1,5 +1,5 @@
1
1
  module Valigator
2
2
  module CSV
3
- VERSION = "1.5.0"
3
+ VERSION = "1.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valigator-csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Nagy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-05-10 00:00:00.000000000 Z
14
+ date: 2017-07-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler