roo-xls 1.0.0
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 +7 -0
- data/.gitignore +16 -0
- data/.rubocop.yml +17 -0
- data/.simplecov +4 -0
- data/.travis.yml +11 -0
- data/Gemfile +30 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +23 -0
- data/defaults.reek +11 -0
- data/lib/roo-xls.rb +11 -0
- data/lib/roo/xls/excel.rb +352 -0
- data/lib/roo/xls/excel_2003_xml.rb +294 -0
- data/lib/roo/xls/spreadsheet_extensions.rb +24 -0
- data/lib/roo/xls/version.rb +5 -0
- data/roo-xls.gemspec +27 -0
- data/spec/lib/roo/xls/excel2003xml_spec.rb +15 -0
- data/spec/lib/roo/xls/excel_spec.rb +17 -0
- data/spec/spec_helper.rb +2 -0
- data/test/files/1900_base.xls +0 -0
- data/test/files/1904_base.xls +0 -0
- data/test/files/Bibelbund.csv +3741 -0
- data/test/files/Bibelbund.xls +0 -0
- data/test/files/Bibelbund.xml +62518 -0
- data/test/files/bad_excel_date.xls +0 -0
- data/test/files/bbu.xls +0 -0
- data/test/files/bbu.xml +152 -0
- data/test/files/bode-v1.xls.zip +0 -0
- data/test/files/boolean.csv +2 -0
- data/test/files/boolean.xls +0 -0
- data/test/files/boolean.xml +112 -0
- data/test/files/borders.xls +0 -0
- data/test/files/borders.xml +144 -0
- data/test/files/bug-row-column-fixnum-float.xls +0 -0
- data/test/files/bug-row-column-fixnum-float.xml +127 -0
- data/test/files/comments.xls +0 -0
- data/test/files/datetime.xls +0 -0
- data/test/files/datetime.xml +150 -0
- data/test/files/datetime_floatconv.xls +0 -0
- data/test/files/datetime_floatconv.xml +148 -0
- data/test/files/emptysheets.xls +0 -0
- data/test/files/emptysheets.xml +105 -0
- data/test/files/excel2003.xml +21140 -0
- data/test/files/excel2003_namespace.xml +197 -0
- data/test/files/false_encoding.xls +0 -0
- data/test/files/false_encoding.xml +132 -0
- data/test/files/formula.xls +0 -0
- data/test/files/formula.xml +134 -0
- data/test/files/formula_parse_error.xls +0 -0
- data/test/files/formula_parse_error.xml +1833 -0
- data/test/files/link.csv +1 -0
- data/test/files/link.xls +0 -0
- data/test/files/matrix.xls +0 -0
- data/test/files/named_cells.xls +0 -0
- data/test/files/numbers1.ods +0 -0
- data/test/files/numbers1.xls +0 -0
- data/test/files/numbers1.xlsx +0 -0
- data/test/files/numbers1.xml +312 -0
- data/test/files/only_one_sheet.xls +0 -0
- data/test/files/only_one_sheet.xml +67 -0
- data/test/files/paragraph.xls +0 -0
- data/test/files/paragraph.xml +127 -0
- data/test/files/prova.xls +0 -0
- data/test/files/simple_spreadsheet.xls +0 -0
- data/test/files/simple_spreadsheet.xml +225 -0
- data/test/files/simple_spreadsheet_from_italo.xls +0 -0
- data/test/files/simple_spreadsheet_from_italo.xml +242 -0
- data/test/files/so_datetime.csv +8 -0
- data/test/files/style.xls +0 -0
- data/test/files/style.xml +154 -0
- data/test/files/time-test.csv +2 -0
- data/test/files/time-test.xls +0 -0
- data/test/files/time-test.xml +131 -0
- data/test/files/type_excel.ods +0 -0
- data/test/files/type_excel.xlsx +0 -0
- data/test/files/type_excelx.xls +0 -0
- data/test/files/type_openoffice.xls +0 -0
- data/test/files/whitespace.xls +0 -0
- data/test/files/whitespace.xml +184 -0
- data/test/rm_test.rb +7 -0
- data/test/test_excel_2003_xml.rb +41 -0
- data/test/test_helper.rb +57 -0
- data/test/test_roo_excel.rb +1093 -0
- metadata +278 -0
metadata
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: roo-xls
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Thomas Preymesser
|
|
8
|
+
- Hugh McGowan
|
|
9
|
+
- Ben Woosley
|
|
10
|
+
autorequire:
|
|
11
|
+
bindir: bin
|
|
12
|
+
cert_chain: []
|
|
13
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: roo
|
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
|
18
|
+
requirements:
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 2.0.0beta1
|
|
22
|
+
- - "<"
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: '3'
|
|
25
|
+
type: :runtime
|
|
26
|
+
prerelease: false
|
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
28
|
+
requirements:
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 2.0.0beta1
|
|
32
|
+
- - "<"
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '3'
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: nokogiri
|
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
42
|
+
type: :runtime
|
|
43
|
+
prerelease: false
|
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0'
|
|
49
|
+
- !ruby/object:Gem::Dependency
|
|
50
|
+
name: spreadsheet
|
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">"
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: 0.9.0
|
|
56
|
+
type: :runtime
|
|
57
|
+
prerelease: false
|
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
59
|
+
requirements:
|
|
60
|
+
- - ">"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 0.9.0
|
|
63
|
+
- !ruby/object:Gem::Dependency
|
|
64
|
+
name: bundler
|
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '1.7'
|
|
70
|
+
type: :development
|
|
71
|
+
prerelease: false
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '1.7'
|
|
77
|
+
- !ruby/object:Gem::Dependency
|
|
78
|
+
name: rake
|
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
- - ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: '10.0'
|
|
84
|
+
type: :development
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - ">="
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '10.0'
|
|
91
|
+
description: |-
|
|
92
|
+
Roo can access the contents of various spreadsheet files. It can handle
|
|
93
|
+
* OpenOffice
|
|
94
|
+
* Excel
|
|
95
|
+
* Google spreadsheets
|
|
96
|
+
* Excelx
|
|
97
|
+
* LibreOffice
|
|
98
|
+
* CSV
|
|
99
|
+
email:
|
|
100
|
+
- ruby.ruby.ruby.roo@gmail.com
|
|
101
|
+
executables: []
|
|
102
|
+
extensions: []
|
|
103
|
+
extra_rdoc_files: []
|
|
104
|
+
files:
|
|
105
|
+
- ".gitignore"
|
|
106
|
+
- ".rubocop.yml"
|
|
107
|
+
- ".simplecov"
|
|
108
|
+
- ".travis.yml"
|
|
109
|
+
- Gemfile
|
|
110
|
+
- LICENSE.txt
|
|
111
|
+
- README.md
|
|
112
|
+
- Rakefile
|
|
113
|
+
- defaults.reek
|
|
114
|
+
- lib/roo-xls.rb
|
|
115
|
+
- lib/roo/xls/excel.rb
|
|
116
|
+
- lib/roo/xls/excel_2003_xml.rb
|
|
117
|
+
- lib/roo/xls/spreadsheet_extensions.rb
|
|
118
|
+
- lib/roo/xls/version.rb
|
|
119
|
+
- roo-xls.gemspec
|
|
120
|
+
- spec/lib/roo/xls/excel2003xml_spec.rb
|
|
121
|
+
- spec/lib/roo/xls/excel_spec.rb
|
|
122
|
+
- spec/spec_helper.rb
|
|
123
|
+
- test/files/1900_base.xls
|
|
124
|
+
- test/files/1904_base.xls
|
|
125
|
+
- test/files/Bibelbund.csv
|
|
126
|
+
- test/files/Bibelbund.xls
|
|
127
|
+
- test/files/Bibelbund.xml
|
|
128
|
+
- test/files/bad_excel_date.xls
|
|
129
|
+
- test/files/bbu.xls
|
|
130
|
+
- test/files/bbu.xml
|
|
131
|
+
- test/files/bode-v1.xls.zip
|
|
132
|
+
- test/files/boolean.csv
|
|
133
|
+
- test/files/boolean.xls
|
|
134
|
+
- test/files/boolean.xml
|
|
135
|
+
- test/files/borders.xls
|
|
136
|
+
- test/files/borders.xml
|
|
137
|
+
- test/files/bug-row-column-fixnum-float.xls
|
|
138
|
+
- test/files/bug-row-column-fixnum-float.xml
|
|
139
|
+
- test/files/comments.xls
|
|
140
|
+
- test/files/datetime.xls
|
|
141
|
+
- test/files/datetime.xml
|
|
142
|
+
- test/files/datetime_floatconv.xls
|
|
143
|
+
- test/files/datetime_floatconv.xml
|
|
144
|
+
- test/files/emptysheets.xls
|
|
145
|
+
- test/files/emptysheets.xml
|
|
146
|
+
- test/files/excel2003.xml
|
|
147
|
+
- test/files/excel2003_namespace.xml
|
|
148
|
+
- test/files/false_encoding.xls
|
|
149
|
+
- test/files/false_encoding.xml
|
|
150
|
+
- test/files/formula.xls
|
|
151
|
+
- test/files/formula.xml
|
|
152
|
+
- test/files/formula_parse_error.xls
|
|
153
|
+
- test/files/formula_parse_error.xml
|
|
154
|
+
- test/files/link.csv
|
|
155
|
+
- test/files/link.xls
|
|
156
|
+
- test/files/matrix.xls
|
|
157
|
+
- test/files/named_cells.xls
|
|
158
|
+
- test/files/numbers1.ods
|
|
159
|
+
- test/files/numbers1.xls
|
|
160
|
+
- test/files/numbers1.xlsx
|
|
161
|
+
- test/files/numbers1.xml
|
|
162
|
+
- test/files/only_one_sheet.xls
|
|
163
|
+
- test/files/only_one_sheet.xml
|
|
164
|
+
- test/files/paragraph.xls
|
|
165
|
+
- test/files/paragraph.xml
|
|
166
|
+
- test/files/prova.xls
|
|
167
|
+
- test/files/simple_spreadsheet.xls
|
|
168
|
+
- test/files/simple_spreadsheet.xml
|
|
169
|
+
- test/files/simple_spreadsheet_from_italo.xls
|
|
170
|
+
- test/files/simple_spreadsheet_from_italo.xml
|
|
171
|
+
- test/files/so_datetime.csv
|
|
172
|
+
- test/files/style.xls
|
|
173
|
+
- test/files/style.xml
|
|
174
|
+
- test/files/time-test.csv
|
|
175
|
+
- test/files/time-test.xls
|
|
176
|
+
- test/files/time-test.xml
|
|
177
|
+
- test/files/type_excel.ods
|
|
178
|
+
- test/files/type_excel.xlsx
|
|
179
|
+
- test/files/type_excelx.xls
|
|
180
|
+
- test/files/type_openoffice.xls
|
|
181
|
+
- test/files/whitespace.xls
|
|
182
|
+
- test/files/whitespace.xml
|
|
183
|
+
- test/rm_test.rb
|
|
184
|
+
- test/test_excel_2003_xml.rb
|
|
185
|
+
- test/test_helper.rb
|
|
186
|
+
- test/test_roo_excel.rb
|
|
187
|
+
homepage: ''
|
|
188
|
+
licenses:
|
|
189
|
+
- MIT
|
|
190
|
+
metadata: {}
|
|
191
|
+
post_install_message:
|
|
192
|
+
rdoc_options: []
|
|
193
|
+
require_paths:
|
|
194
|
+
- lib
|
|
195
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
196
|
+
requirements:
|
|
197
|
+
- - ">="
|
|
198
|
+
- !ruby/object:Gem::Version
|
|
199
|
+
version: '0'
|
|
200
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
|
+
requirements:
|
|
202
|
+
- - ">="
|
|
203
|
+
- !ruby/object:Gem::Version
|
|
204
|
+
version: '0'
|
|
205
|
+
requirements: []
|
|
206
|
+
rubyforge_project:
|
|
207
|
+
rubygems_version: 2.4.6
|
|
208
|
+
signing_key:
|
|
209
|
+
specification_version: 4
|
|
210
|
+
summary: Roo::Excel can access the contents of classic xls files.
|
|
211
|
+
test_files:
|
|
212
|
+
- spec/lib/roo/xls/excel2003xml_spec.rb
|
|
213
|
+
- spec/lib/roo/xls/excel_spec.rb
|
|
214
|
+
- spec/spec_helper.rb
|
|
215
|
+
- test/files/1900_base.xls
|
|
216
|
+
- test/files/1904_base.xls
|
|
217
|
+
- test/files/Bibelbund.csv
|
|
218
|
+
- test/files/Bibelbund.xls
|
|
219
|
+
- test/files/Bibelbund.xml
|
|
220
|
+
- test/files/bad_excel_date.xls
|
|
221
|
+
- test/files/bbu.xls
|
|
222
|
+
- test/files/bbu.xml
|
|
223
|
+
- test/files/bode-v1.xls.zip
|
|
224
|
+
- test/files/boolean.csv
|
|
225
|
+
- test/files/boolean.xls
|
|
226
|
+
- test/files/boolean.xml
|
|
227
|
+
- test/files/borders.xls
|
|
228
|
+
- test/files/borders.xml
|
|
229
|
+
- test/files/bug-row-column-fixnum-float.xls
|
|
230
|
+
- test/files/bug-row-column-fixnum-float.xml
|
|
231
|
+
- test/files/comments.xls
|
|
232
|
+
- test/files/datetime.xls
|
|
233
|
+
- test/files/datetime.xml
|
|
234
|
+
- test/files/datetime_floatconv.xls
|
|
235
|
+
- test/files/datetime_floatconv.xml
|
|
236
|
+
- test/files/emptysheets.xls
|
|
237
|
+
- test/files/emptysheets.xml
|
|
238
|
+
- test/files/excel2003.xml
|
|
239
|
+
- test/files/excel2003_namespace.xml
|
|
240
|
+
- test/files/false_encoding.xls
|
|
241
|
+
- test/files/false_encoding.xml
|
|
242
|
+
- test/files/formula.xls
|
|
243
|
+
- test/files/formula.xml
|
|
244
|
+
- test/files/formula_parse_error.xls
|
|
245
|
+
- test/files/formula_parse_error.xml
|
|
246
|
+
- test/files/link.csv
|
|
247
|
+
- test/files/link.xls
|
|
248
|
+
- test/files/matrix.xls
|
|
249
|
+
- test/files/named_cells.xls
|
|
250
|
+
- test/files/numbers1.ods
|
|
251
|
+
- test/files/numbers1.xls
|
|
252
|
+
- test/files/numbers1.xlsx
|
|
253
|
+
- test/files/numbers1.xml
|
|
254
|
+
- test/files/only_one_sheet.xls
|
|
255
|
+
- test/files/only_one_sheet.xml
|
|
256
|
+
- test/files/paragraph.xls
|
|
257
|
+
- test/files/paragraph.xml
|
|
258
|
+
- test/files/prova.xls
|
|
259
|
+
- test/files/simple_spreadsheet.xls
|
|
260
|
+
- test/files/simple_spreadsheet.xml
|
|
261
|
+
- test/files/simple_spreadsheet_from_italo.xls
|
|
262
|
+
- test/files/simple_spreadsheet_from_italo.xml
|
|
263
|
+
- test/files/so_datetime.csv
|
|
264
|
+
- test/files/style.xls
|
|
265
|
+
- test/files/style.xml
|
|
266
|
+
- test/files/time-test.csv
|
|
267
|
+
- test/files/time-test.xls
|
|
268
|
+
- test/files/time-test.xml
|
|
269
|
+
- test/files/type_excel.ods
|
|
270
|
+
- test/files/type_excel.xlsx
|
|
271
|
+
- test/files/type_excelx.xls
|
|
272
|
+
- test/files/type_openoffice.xls
|
|
273
|
+
- test/files/whitespace.xls
|
|
274
|
+
- test/files/whitespace.xml
|
|
275
|
+
- test/rm_test.rb
|
|
276
|
+
- test/test_excel_2003_xml.rb
|
|
277
|
+
- test/test_helper.rb
|
|
278
|
+
- test/test_roo_excel.rb
|