csv 1.0.1 → 1.0.2
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.
- checksums.yaml +5 -5
- data/LICENSE.txt +12 -1
- data/README.md +6 -0
- data/lib/csv.rb +210 -820
- data/lib/{core_ext → csv/core_ext}/array.rb +0 -0
- data/lib/{core_ext → csv/core_ext}/string.rb +0 -0
- data/lib/csv/row.rb +388 -0
- data/lib/csv/table.rb +378 -0
- data/lib/csv/version.rb +6 -0
- data/news.md +63 -0
- metadata +23 -6
data/lib/csv/version.rb
ADDED
data/news.md
CHANGED
@@ -1,5 +1,68 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.0.2 - 2018-05-03
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Split file for CSV::VERSION
|
8
|
+
|
9
|
+
* Code cleanup: Split csv.rb into a more manageable structure
|
10
|
+
[GitHub#19][Patch by Espartaco Palma]
|
11
|
+
[GitHub#20][Patch by Steven Daniels]
|
12
|
+
|
13
|
+
* Use CSV::MalformedCSVError for invalid encoding line
|
14
|
+
[GitHub#26][Reported by deepj]
|
15
|
+
|
16
|
+
* Support implicit Row <-> Array conversion
|
17
|
+
[Bug #10013][ruby-core:63582][Reported by Dawid Janczak]
|
18
|
+
|
19
|
+
* Update class docs
|
20
|
+
[GitHub#32][Patch by zverok]
|
21
|
+
|
22
|
+
* Add `Row#each_pair`
|
23
|
+
[GitHub#33][Patch by zverok]
|
24
|
+
|
25
|
+
* Improve CSV performance
|
26
|
+
[GitHub#30][Patch by Watson]
|
27
|
+
|
28
|
+
* Add :nil_value and :empty_value option
|
29
|
+
|
30
|
+
### Fixes
|
31
|
+
|
32
|
+
* Fix a bug that "bom|utf-8" doesn't work
|
33
|
+
[GitHub#23][Reported by Pavel Lobashov]
|
34
|
+
|
35
|
+
* `CSV::Row#to_h`, `#to_hash`: uses the same value as `Row#[]`
|
36
|
+
[Bug #14482][Reported by tomoya ishida]
|
37
|
+
|
38
|
+
* Make row separator detection more robust
|
39
|
+
[GitHub#25][Reported by deepj]
|
40
|
+
|
41
|
+
* Fix a bug that too much separator when col_sep is `" "`
|
42
|
+
[Bug #8784][ruby-core:63582][Reported by Sylvain Laperche]
|
43
|
+
|
44
|
+
### Thanks
|
45
|
+
|
46
|
+
* Espartaco Palma
|
47
|
+
|
48
|
+
* Steven Daniels
|
49
|
+
|
50
|
+
* deepj
|
51
|
+
|
52
|
+
* Dawid Janczak
|
53
|
+
|
54
|
+
* zverok
|
55
|
+
|
56
|
+
* Watson
|
57
|
+
|
58
|
+
* Pavel Lobashov
|
59
|
+
|
60
|
+
* tomoya ishida
|
61
|
+
|
62
|
+
* Sylvain Laperche
|
63
|
+
|
64
|
+
* Ryunosuke Sato
|
65
|
+
|
3
66
|
## 1.0.1 - 2018-02-09
|
4
67
|
|
5
68
|
### Improvements
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Edward Gray II
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-05-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -39,6 +39,20 @@ dependencies:
|
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: benchmark-ips
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
42
56
|
description: The CSV library provides a complete interface to CSV files and data.
|
43
57
|
It offers tools to enable you to read and write to and from Strings or IO objects,
|
44
58
|
as needed.
|
@@ -51,9 +65,12 @@ extra_rdoc_files: []
|
|
51
65
|
files:
|
52
66
|
- LICENSE.txt
|
53
67
|
- README.md
|
54
|
-
- lib/core_ext/array.rb
|
55
|
-
- lib/core_ext/string.rb
|
56
68
|
- lib/csv.rb
|
69
|
+
- lib/csv/core_ext/array.rb
|
70
|
+
- lib/csv/core_ext/string.rb
|
71
|
+
- lib/csv/row.rb
|
72
|
+
- lib/csv/table.rb
|
73
|
+
- lib/csv/version.rb
|
57
74
|
- news.md
|
58
75
|
homepage: https://github.com/ruby/csv
|
59
76
|
licenses:
|
@@ -67,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
84
|
requirements:
|
68
85
|
- - ">="
|
69
86
|
- !ruby/object:Gem::Version
|
70
|
-
version: 2.
|
87
|
+
version: 2.3.0
|
71
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
89
|
requirements:
|
73
90
|
- - ">="
|
@@ -75,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
92
|
version: '0'
|
76
93
|
requirements: []
|
77
94
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.7.6
|
79
96
|
signing_key:
|
80
97
|
specification_version: 4
|
81
98
|
summary: CSV Reading and Writing
|