valigator-csv 3.0 → 4.0

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: 02166b59856576cf3db8b7dac53df4c1ff17e902730f86935e511b132d045672
4
- data.tar.gz: 573bb1ac2546969ed4f7b92652e9e1d29d94d2f0678abeca8d9b79a799b2fcc8
3
+ metadata.gz: a1460c3e5231d084d11ad47592d112ae69b934dfbfb9a3eaa84d02eeb3c49be2
4
+ data.tar.gz: a767d14c6062f4a62107f7a345a4706245f4bda5860915e50698cb6952fce2cd
5
5
  SHA512:
6
- metadata.gz: c0d741f3710be17f48dde03c36a6c3c5c21e0ab94315e22167d56310bd60e34bb0b250642ffb2f2774b0cbb05a5c7056d098c8d974d9a668a62ad6d71430d213
7
- data.tar.gz: 0f671034a6511193c7fa5156ae946c4a2454b576463ff379298f3b04b3fab2d00acaf80d9ddc8d4b1d8ad619161b49357e283022215edcd72be47552c1e7f0d2
6
+ metadata.gz: f94473566580686f92042fc64a8172e6a7b548b68a8facef1d6ee040ecc577f381c6af20d8ba6858a4c9f7c4ab7046c530ac4a15e54b4e82c52373d0fb58b8e8
7
+ data.tar.gz: e2551b99ec65ba38bad084eb85811110b2c7f92b7fabb224127d7e6e574fd42206e6f536e25d1fa96abbabe672446cd2c83b9d8eeb87519cdb8aec8216c3d75c
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.1
1
+ 2.6.5
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.7
4
- - 2.2.3
5
- - 2.6.0
6
- before_install: gem install bundler -v 1.10.6
3
+ - 2.3.8
4
+ - 2.4.9
5
+ - 2.5.7
6
+ - 2.6.2
7
+ - 2.6.5
8
+ before_install: gem install bundler
@@ -63,11 +63,9 @@ module Valigator
63
63
 
64
64
  def map_to_type(message)
65
65
  case message
66
- when /Missing or stray quote/
67
- 'stray_quote'
68
66
  when /Unquoted fields do not allow/
69
67
  'line_breaks'
70
- when /Illegal quoting/
68
+ when /Missing or stray quote/, /Illegal quoting/, /Any value after quoted field isn't allowed/
71
69
  'illegal_quoting'
72
70
  when /Field size exceeded/
73
71
  'field_size'
@@ -1,5 +1,5 @@
1
1
  module Valigator
2
2
  module CSV
3
- VERSION = "3.0"
3
+ VERSION = "4.0"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.required_ruby_version = '>= 2.1'
22
+ spec.required_ruby_version = '>= 2.3.8'
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
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: '3.0'
4
+ version: '4.0'
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: 2019-12-12 00:00:00.000000000 Z
14
+ date: 2019-12-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -100,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '2.1'
103
+ version: 2.3.8
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.0.1
110
+ rubygems_version: 3.0.3
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Yet another CSV validator library