valigator-csv 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/valigator/csv/error.rb +2 -0
- data/lib/valigator/csv/validator.rb +1 -1
- data/lib/valigator/csv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 321282981d2382b5a94723e6784996baa9983cd9
|
4
|
+
data.tar.gz: 1fc69c450f9622d1ded2912d9407e6b0482a6d93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247bf7242477c4e65b3299221857b8128af1cdd65bfcbb6dbd933381912d66e66114cd899dff25f7b0af6a3b010dd8a40b02fc46cc4d58b1da8b41316aff74a7
|
7
|
+
data.tar.gz: 0e8a6720b8f9a34d08441cf22f09c6c3039be600766df71bdf1061141d842c161fcb316a1a21fe70b8281e965bce525d8cc5cf916c7855b6a7682455cb52ff3e
|
data/lib/valigator/csv/error.rb
CHANGED
@@ -25,7 +25,7 @@ module Valigator
|
|
25
25
|
stop_if_error_limit_reached
|
26
26
|
end
|
27
27
|
rescue ErrorsLimitReachedError
|
28
|
-
rescue ::CSV::MalformedCSVError, ArgumentError => error
|
28
|
+
rescue ::CSV::MalformedCSVError, Encoding::CompatibilityError, ArgumentError => error
|
29
29
|
raise if unrelated_error?(error)
|
30
30
|
|
31
31
|
errors << CSV::Error.new(error)
|
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.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Nagy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-12-
|
13
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|