roo 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +17 -0
- data/.travis.yml +2 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +2 -4
- data/Gemfile_ruby2 +4 -3
- data/README.md +10 -0
- data/lib/roo/base.rb +14 -165
- data/lib/roo/csv.rb +93 -98
- data/lib/roo/excelx.rb +8 -3
- data/lib/roo/excelx/cell/datetime.rb +38 -28
- data/lib/roo/excelx/cell/number.rb +19 -23
- data/lib/roo/excelx/cell/time.rb +13 -13
- data/lib/roo/formatters/base.rb +15 -0
- data/lib/roo/formatters/csv.rb +84 -0
- data/lib/roo/formatters/matrix.rb +23 -0
- data/lib/roo/formatters/xml.rb +31 -0
- data/lib/roo/formatters/yaml.rb +40 -0
- data/lib/roo/open_office.rb +9 -3
- data/lib/roo/tempdir.rb +5 -10
- data/lib/roo/version.rb +1 -1
- data/roo.gemspec +1 -0
- data/spec/spec_helper.rb +2 -6
- data/test/excelx/cell/test_time.rb +3 -3
- data/test/formatters/test_csv.rb +119 -0
- data/test/formatters/test_matrix.rb +76 -0
- data/test/formatters/test_xml.rb +74 -0
- data/test/formatters/test_yaml.rb +20 -0
- data/test/roo/test_csv.rb +52 -0
- data/test/roo/test_excelx.rb +186 -0
- data/test/roo/test_libre_office.rb +9 -0
- data/test/roo/test_open_office.rb +126 -0
- data/test/test_helper.rb +74 -3
- data/test/test_roo.rb +22 -928
- metadata +55 -21
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Preymesser
|
@@ -12,76 +12,96 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-12-
|
15
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: nokogiri
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - ~>
|
21
|
+
- - "~>"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- - ~>
|
28
|
+
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '1'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: rubyzip
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- - ~>
|
35
|
+
- - "~>"
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '1.1'
|
38
|
-
- - <
|
38
|
+
- - "<"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.0.0
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.1'
|
48
|
-
- - <
|
48
|
+
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 2.0.0
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: rake
|
53
53
|
requirement: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - ~>
|
55
|
+
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '10.1'
|
58
58
|
type: :development
|
59
59
|
prerelease: false
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- - ~>
|
62
|
+
- - "~>"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '10.1'
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: minitest
|
67
67
|
requirement: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - ~>
|
69
|
+
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '5.4'
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 5.4.3
|
75
75
|
type: :development
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - ~>
|
79
|
+
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '5.4'
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: 5.4.3
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rack
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.6'
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 2.0.0
|
95
|
+
type: :development
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.6'
|
102
|
+
- - "<"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 2.0.0
|
85
105
|
description: |-
|
86
106
|
Roo can access the contents of various spreadsheet files. It can handle
|
87
107
|
* OpenOffice
|
@@ -95,10 +115,11 @@ executables: []
|
|
95
115
|
extensions: []
|
96
116
|
extra_rdoc_files: []
|
97
117
|
files:
|
98
|
-
- .
|
99
|
-
- .
|
100
|
-
- .
|
101
|
-
- .
|
118
|
+
- ".codeclimate.yml"
|
119
|
+
- ".github/ISSUE_TEMPLATE"
|
120
|
+
- ".gitignore"
|
121
|
+
- ".simplecov"
|
122
|
+
- ".travis.yml"
|
102
123
|
- CHANGELOG.md
|
103
124
|
- Gemfile
|
104
125
|
- Gemfile_ruby2
|
@@ -136,6 +157,11 @@ files:
|
|
136
157
|
- lib/roo/excelx/styles.rb
|
137
158
|
- lib/roo/excelx/workbook.rb
|
138
159
|
- lib/roo/font.rb
|
160
|
+
- lib/roo/formatters/base.rb
|
161
|
+
- lib/roo/formatters/csv.rb
|
162
|
+
- lib/roo/formatters/matrix.rb
|
163
|
+
- lib/roo/formatters/xml.rb
|
164
|
+
- lib/roo/formatters/yaml.rb
|
139
165
|
- lib/roo/libre_office.rb
|
140
166
|
- lib/roo/link.rb
|
141
167
|
- lib/roo/open_office.rb
|
@@ -166,6 +192,14 @@ files:
|
|
166
192
|
- test/excelx/cell/test_number.rb
|
167
193
|
- test/excelx/cell/test_string.rb
|
168
194
|
- test/excelx/cell/test_time.rb
|
195
|
+
- test/formatters/test_csv.rb
|
196
|
+
- test/formatters/test_matrix.rb
|
197
|
+
- test/formatters/test_xml.rb
|
198
|
+
- test/formatters/test_yaml.rb
|
199
|
+
- test/roo/test_csv.rb
|
200
|
+
- test/roo/test_excelx.rb
|
201
|
+
- test/roo/test_libre_office.rb
|
202
|
+
- test/roo/test_open_office.rb
|
169
203
|
- test/test_helper.rb
|
170
204
|
- test/test_roo.rb
|
171
205
|
homepage: http://github.com/roo-rb/roo
|
@@ -178,17 +212,17 @@ require_paths:
|
|
178
212
|
- lib
|
179
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
180
214
|
requirements:
|
181
|
-
- -
|
215
|
+
- - ">="
|
182
216
|
- !ruby/object:Gem::Version
|
183
217
|
version: '0'
|
184
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
219
|
requirements:
|
186
|
-
- -
|
220
|
+
- - ">="
|
187
221
|
- !ruby/object:Gem::Version
|
188
222
|
version: '0'
|
189
223
|
requirements: []
|
190
224
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
225
|
+
rubygems_version: 2.6.8
|
192
226
|
signing_key:
|
193
227
|
specification_version: 4
|
194
228
|
summary: Roo can access the contents of various spreadsheet files.
|