csv-safe 3.1.1 → 3.3.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/csv-safe.rb +1 -1
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43780c7fe666d854e7e037afe4eac4b120b8294525e4969a5edd2e94c6efe53d
4
- data.tar.gz: d74429ce582d23721c9aeac20eaa81f0ff29a7c2a04e16f8a1a7f93b42c52419
3
+ metadata.gz: 1a4d4eec502ee959ccee21cd02facd7d602e8d592f15b6d683a902caeeeb5db3
4
+ data.tar.gz: a2ad30802dd3d023c64c89beff438ce3873c4790bda3477a57ab25c059f369ba
5
5
  SHA512:
6
- metadata.gz: b916fc6bf314bfa4381497600d55c1918361c3b058034c2d5bc992ae892708ac2c4de6d14f0c7e8bbdc83e920e8545322a157429179ace177a68edecd8cc8f2f
7
- data.tar.gz: 26521ccce04a3d69a77b24ffaf9161bfe7e4ef5d8e605ba4aa9e504f891d02aff721b433fffabd4a7352a3b74766075d160f2658268b2dbb9404d2c88b58e563
6
+ metadata.gz: 024c7dad89c23ea10ca4faa064652171d86e0ac3fba2587c47067f2ac3a4b5ec52ee7f948ec70c309fa0d5318ea9a3291d39f5218bf18f705c3caf0a9f8ec8fd
7
+ data.tar.gz: 32dc54114f9c40cf94fd555eefb9c3e7d906a331d3511e26ee03772806e19e3ba79e53f897248cdb014567299994e63ab0e107ebf0598a04a4d9be43e38bdb1a
data/lib/csv-safe.rb CHANGED
@@ -21,7 +21,7 @@ class CSVSafe < CSV
21
21
  private
22
22
 
23
23
  def starts_with_special_character?(str)
24
- str.start_with?('-', '=', '+', '@', '%', '|')
24
+ str.start_with?("-", "=", "+", "@", "%", "|", "\r", "\t")
25
25
  end
26
26
 
27
27
  def prefix(field)
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv-safe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Zvorygin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2024-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: csv
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement