roo-andyw8 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.simplecov +4 -0
- data/.travis.yml +13 -0
- data/CHANGELOG +438 -0
- data/Gemfile +24 -0
- data/Guardfile +24 -0
- data/LICENSE +22 -0
- data/README.md +121 -0
- data/Rakefile +23 -0
- data/examples/roo_soap_client.rb +50 -0
- data/examples/roo_soap_server.rb +26 -0
- data/examples/write_me.rb +31 -0
- data/lib/roo.rb +28 -0
- data/lib/roo/base.rb +717 -0
- data/lib/roo/csv.rb +110 -0
- data/lib/roo/excelx.rb +540 -0
- data/lib/roo/excelx/comments.rb +23 -0
- data/lib/roo/excelx/extractor.rb +20 -0
- data/lib/roo/excelx/relationships.rb +26 -0
- data/lib/roo/excelx/shared_strings.rb +40 -0
- data/lib/roo/excelx/sheet_doc.rb +175 -0
- data/lib/roo/excelx/styles.rb +62 -0
- data/lib/roo/excelx/workbook.rb +59 -0
- data/lib/roo/font.rb +17 -0
- data/lib/roo/libre_office.rb +5 -0
- data/lib/roo/link.rb +15 -0
- data/lib/roo/open_office.rb +652 -0
- data/lib/roo/spreadsheet.rb +31 -0
- data/lib/roo/utils.rb +81 -0
- data/lib/roo/version.rb +3 -0
- data/roo.gemspec +27 -0
- data/scripts/txt2html +67 -0
- data/spec/fixtures/vcr_cassettes/google_drive.yml +165 -0
- data/spec/fixtures/vcr_cassettes/google_drive_access_token.yml +73 -0
- data/spec/fixtures/vcr_cassettes/google_drive_set.yml +857 -0
- data/spec/lib/roo/base_spec.rb +4 -0
- data/spec/lib/roo/csv_spec.rb +48 -0
- data/spec/lib/roo/excelx/format_spec.rb +51 -0
- data/spec/lib/roo/excelx_spec.rb +363 -0
- data/spec/lib/roo/libreoffice_spec.rb +13 -0
- data/spec/lib/roo/openoffice_spec.rb +15 -0
- data/spec/lib/roo/spreadsheet_spec.rb +88 -0
- data/spec/lib/roo/utils_spec.rb +105 -0
- data/spec/spec_helper.rb +9 -0
- data/test/all_ss.rb +11 -0
- data/test/files/1900_base.xlsx +0 -0
- data/test/files/1904_base.xlsx +0 -0
- data/test/files/Bibelbund.csv +3741 -0
- data/test/files/Bibelbund.ods +0 -0
- data/test/files/Bibelbund.xlsx +0 -0
- data/test/files/Bibelbund1.ods +0 -0
- data/test/files/Pfand_from_windows_phone.xlsx +0 -0
- data/test/files/advanced_header.ods +0 -0
- data/test/files/bbu.ods +0 -0
- data/test/files/bbu.xlsx +0 -0
- data/test/files/bode-v1.ods.zip +0 -0
- data/test/files/bode-v1.xls.zip +0 -0
- data/test/files/boolean.csv +2 -0
- data/test/files/boolean.ods +0 -0
- data/test/files/boolean.xlsx +0 -0
- data/test/files/borders.ods +0 -0
- data/test/files/borders.xlsx +0 -0
- data/test/files/bug-numbered-sheet-names.xlsx +0 -0
- data/test/files/comments.ods +0 -0
- data/test/files/comments.xlsx +0 -0
- data/test/files/csvtypes.csv +1 -0
- data/test/files/datetime.ods +0 -0
- data/test/files/datetime.xlsx +0 -0
- data/test/files/dreimalvier.ods +0 -0
- data/test/files/emptysheets.ods +0 -0
- data/test/files/emptysheets.xlsx +0 -0
- data/test/files/encrypted-letmein.ods +0 -0
- data/test/files/file_item_error.xlsx +0 -0
- data/test/files/formula.ods +0 -0
- data/test/files/formula.xlsx +0 -0
- data/test/files/formula_string_error.xlsx +0 -0
- data/test/files/html-escape.ods +0 -0
- data/test/files/link.csv +1 -0
- data/test/files/link.xlsx +0 -0
- data/test/files/matrix.ods +0 -0
- data/test/files/named_cells.ods +0 -0
- data/test/files/named_cells.xlsx +0 -0
- data/test/files/no_spreadsheet_file.txt +1 -0
- data/test/files/numbers-export.xlsx +0 -0
- data/test/files/numbers1.csv +18 -0
- data/test/files/numbers1.ods +0 -0
- data/test/files/numbers1.xlsx +0 -0
- data/test/files/numbers1withnull.xlsx +0 -0
- data/test/files/numeric-link.xlsx +0 -0
- data/test/files/only_one_sheet.ods +0 -0
- data/test/files/only_one_sheet.xlsx +0 -0
- data/test/files/paragraph.ods +0 -0
- data/test/files/paragraph.xlsx +0 -0
- data/test/files/ric.ods +0 -0
- data/test/files/sheet1.xml +109 -0
- data/test/files/simple_spreadsheet.ods +0 -0
- data/test/files/simple_spreadsheet.xlsx +0 -0
- data/test/files/simple_spreadsheet_from_italo.ods +0 -0
- data/test/files/so_datetime.csv +8 -0
- data/test/files/style.ods +0 -0
- data/test/files/style.xlsx +0 -0
- data/test/files/time-test.csv +2 -0
- data/test/files/time-test.ods +0 -0
- data/test/files/time-test.xlsx +0 -0
- data/test/files/type_excel.ods +0 -0
- data/test/files/type_excel.xlsx +0 -0
- data/test/files/type_excelx.ods +0 -0
- data/test/files/type_openoffice.xlsx +0 -0
- data/test/files/whitespace.ods +0 -0
- data/test/files/whitespace.xlsx +0 -0
- data/test/test_generic_spreadsheet.rb +211 -0
- data/test/test_helper.rb +58 -0
- data/test/test_roo.rb +1977 -0
- metadata +318 -0
metadata
ADDED
@@ -0,0 +1,318 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: roo-andyw8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.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-03-22 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: nokogiri
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rubyzip
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.0.0
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.0
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: bundler
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.7'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.7'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rake
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '10.0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '10.0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: minitest
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 5.4.3
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 5.4.3
|
85
|
+
description: |-
|
86
|
+
Roo can access the contents of various spreadsheet files. It can handle
|
87
|
+
* OpenOffice
|
88
|
+
* Excel
|
89
|
+
* Google spreadsheets
|
90
|
+
* Excelx
|
91
|
+
* LibreOffice
|
92
|
+
* CSV
|
93
|
+
email:
|
94
|
+
- ruby.ruby.ruby.roo@gmail.com
|
95
|
+
executables: []
|
96
|
+
extensions: []
|
97
|
+
extra_rdoc_files: []
|
98
|
+
files:
|
99
|
+
- ".gitignore"
|
100
|
+
- ".simplecov"
|
101
|
+
- ".travis.yml"
|
102
|
+
- CHANGELOG
|
103
|
+
- Gemfile
|
104
|
+
- Guardfile
|
105
|
+
- LICENSE
|
106
|
+
- README.md
|
107
|
+
- Rakefile
|
108
|
+
- examples/roo_soap_client.rb
|
109
|
+
- examples/roo_soap_server.rb
|
110
|
+
- examples/write_me.rb
|
111
|
+
- lib/roo.rb
|
112
|
+
- lib/roo/base.rb
|
113
|
+
- lib/roo/csv.rb
|
114
|
+
- lib/roo/excelx.rb
|
115
|
+
- lib/roo/excelx/comments.rb
|
116
|
+
- lib/roo/excelx/extractor.rb
|
117
|
+
- lib/roo/excelx/relationships.rb
|
118
|
+
- lib/roo/excelx/shared_strings.rb
|
119
|
+
- lib/roo/excelx/sheet_doc.rb
|
120
|
+
- lib/roo/excelx/styles.rb
|
121
|
+
- lib/roo/excelx/workbook.rb
|
122
|
+
- lib/roo/font.rb
|
123
|
+
- lib/roo/libre_office.rb
|
124
|
+
- lib/roo/link.rb
|
125
|
+
- lib/roo/open_office.rb
|
126
|
+
- lib/roo/spreadsheet.rb
|
127
|
+
- lib/roo/utils.rb
|
128
|
+
- lib/roo/version.rb
|
129
|
+
- roo.gemspec
|
130
|
+
- scripts/txt2html
|
131
|
+
- spec/fixtures/vcr_cassettes/google_drive.yml
|
132
|
+
- spec/fixtures/vcr_cassettes/google_drive_access_token.yml
|
133
|
+
- spec/fixtures/vcr_cassettes/google_drive_set.yml
|
134
|
+
- spec/lib/roo/base_spec.rb
|
135
|
+
- spec/lib/roo/csv_spec.rb
|
136
|
+
- spec/lib/roo/excelx/format_spec.rb
|
137
|
+
- spec/lib/roo/excelx_spec.rb
|
138
|
+
- spec/lib/roo/libreoffice_spec.rb
|
139
|
+
- spec/lib/roo/openoffice_spec.rb
|
140
|
+
- spec/lib/roo/spreadsheet_spec.rb
|
141
|
+
- spec/lib/roo/utils_spec.rb
|
142
|
+
- spec/spec_helper.rb
|
143
|
+
- test/all_ss.rb
|
144
|
+
- test/files/1900_base.xlsx
|
145
|
+
- test/files/1904_base.xlsx
|
146
|
+
- test/files/Bibelbund.csv
|
147
|
+
- test/files/Bibelbund.ods
|
148
|
+
- test/files/Bibelbund.xlsx
|
149
|
+
- test/files/Bibelbund1.ods
|
150
|
+
- test/files/Pfand_from_windows_phone.xlsx
|
151
|
+
- test/files/advanced_header.ods
|
152
|
+
- test/files/bbu.ods
|
153
|
+
- test/files/bbu.xlsx
|
154
|
+
- test/files/bode-v1.ods.zip
|
155
|
+
- test/files/bode-v1.xls.zip
|
156
|
+
- test/files/boolean.csv
|
157
|
+
- test/files/boolean.ods
|
158
|
+
- test/files/boolean.xlsx
|
159
|
+
- test/files/borders.ods
|
160
|
+
- test/files/borders.xlsx
|
161
|
+
- test/files/bug-numbered-sheet-names.xlsx
|
162
|
+
- test/files/comments.ods
|
163
|
+
- test/files/comments.xlsx
|
164
|
+
- test/files/csvtypes.csv
|
165
|
+
- test/files/datetime.ods
|
166
|
+
- test/files/datetime.xlsx
|
167
|
+
- test/files/dreimalvier.ods
|
168
|
+
- test/files/emptysheets.ods
|
169
|
+
- test/files/emptysheets.xlsx
|
170
|
+
- test/files/encrypted-letmein.ods
|
171
|
+
- test/files/file_item_error.xlsx
|
172
|
+
- test/files/formula.ods
|
173
|
+
- test/files/formula.xlsx
|
174
|
+
- test/files/formula_string_error.xlsx
|
175
|
+
- test/files/html-escape.ods
|
176
|
+
- test/files/link.csv
|
177
|
+
- test/files/link.xlsx
|
178
|
+
- test/files/matrix.ods
|
179
|
+
- test/files/named_cells.ods
|
180
|
+
- test/files/named_cells.xlsx
|
181
|
+
- test/files/no_spreadsheet_file.txt
|
182
|
+
- test/files/numbers-export.xlsx
|
183
|
+
- test/files/numbers1.csv
|
184
|
+
- test/files/numbers1.ods
|
185
|
+
- test/files/numbers1.xlsx
|
186
|
+
- test/files/numbers1withnull.xlsx
|
187
|
+
- test/files/numeric-link.xlsx
|
188
|
+
- test/files/only_one_sheet.ods
|
189
|
+
- test/files/only_one_sheet.xlsx
|
190
|
+
- test/files/paragraph.ods
|
191
|
+
- test/files/paragraph.xlsx
|
192
|
+
- test/files/ric.ods
|
193
|
+
- test/files/sheet1.xml
|
194
|
+
- test/files/simple_spreadsheet.ods
|
195
|
+
- test/files/simple_spreadsheet.xlsx
|
196
|
+
- test/files/simple_spreadsheet_from_italo.ods
|
197
|
+
- test/files/so_datetime.csv
|
198
|
+
- test/files/style.ods
|
199
|
+
- test/files/style.xlsx
|
200
|
+
- test/files/time-test.csv
|
201
|
+
- test/files/time-test.ods
|
202
|
+
- test/files/time-test.xlsx
|
203
|
+
- test/files/type_excel.ods
|
204
|
+
- test/files/type_excel.xlsx
|
205
|
+
- test/files/type_excelx.ods
|
206
|
+
- test/files/type_openoffice.xlsx
|
207
|
+
- test/files/whitespace.ods
|
208
|
+
- test/files/whitespace.xlsx
|
209
|
+
- test/test_generic_spreadsheet.rb
|
210
|
+
- test/test_helper.rb
|
211
|
+
- test/test_roo.rb
|
212
|
+
homepage: http://github.com/Empact/roo
|
213
|
+
licenses:
|
214
|
+
- MIT
|
215
|
+
metadata: {}
|
216
|
+
post_install_message:
|
217
|
+
rdoc_options: []
|
218
|
+
require_paths:
|
219
|
+
- lib
|
220
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0'
|
225
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
requirements: []
|
231
|
+
rubyforge_project:
|
232
|
+
rubygems_version: 2.4.5
|
233
|
+
signing_key:
|
234
|
+
specification_version: 4
|
235
|
+
summary: Roo can access the contents of various spreadsheet files.
|
236
|
+
test_files:
|
237
|
+
- spec/fixtures/vcr_cassettes/google_drive.yml
|
238
|
+
- spec/fixtures/vcr_cassettes/google_drive_access_token.yml
|
239
|
+
- spec/fixtures/vcr_cassettes/google_drive_set.yml
|
240
|
+
- spec/lib/roo/base_spec.rb
|
241
|
+
- spec/lib/roo/csv_spec.rb
|
242
|
+
- spec/lib/roo/excelx/format_spec.rb
|
243
|
+
- spec/lib/roo/excelx_spec.rb
|
244
|
+
- spec/lib/roo/libreoffice_spec.rb
|
245
|
+
- spec/lib/roo/openoffice_spec.rb
|
246
|
+
- spec/lib/roo/spreadsheet_spec.rb
|
247
|
+
- spec/lib/roo/utils_spec.rb
|
248
|
+
- spec/spec_helper.rb
|
249
|
+
- test/all_ss.rb
|
250
|
+
- test/files/1900_base.xlsx
|
251
|
+
- test/files/1904_base.xlsx
|
252
|
+
- test/files/Bibelbund.csv
|
253
|
+
- test/files/Bibelbund.ods
|
254
|
+
- test/files/Bibelbund.xlsx
|
255
|
+
- test/files/Bibelbund1.ods
|
256
|
+
- test/files/Pfand_from_windows_phone.xlsx
|
257
|
+
- test/files/advanced_header.ods
|
258
|
+
- test/files/bbu.ods
|
259
|
+
- test/files/bbu.xlsx
|
260
|
+
- test/files/bode-v1.ods.zip
|
261
|
+
- test/files/bode-v1.xls.zip
|
262
|
+
- test/files/boolean.csv
|
263
|
+
- test/files/boolean.ods
|
264
|
+
- test/files/boolean.xlsx
|
265
|
+
- test/files/borders.ods
|
266
|
+
- test/files/borders.xlsx
|
267
|
+
- test/files/bug-numbered-sheet-names.xlsx
|
268
|
+
- test/files/comments.ods
|
269
|
+
- test/files/comments.xlsx
|
270
|
+
- test/files/csvtypes.csv
|
271
|
+
- test/files/datetime.ods
|
272
|
+
- test/files/datetime.xlsx
|
273
|
+
- test/files/dreimalvier.ods
|
274
|
+
- test/files/emptysheets.ods
|
275
|
+
- test/files/emptysheets.xlsx
|
276
|
+
- test/files/encrypted-letmein.ods
|
277
|
+
- test/files/file_item_error.xlsx
|
278
|
+
- test/files/formula.ods
|
279
|
+
- test/files/formula.xlsx
|
280
|
+
- test/files/formula_string_error.xlsx
|
281
|
+
- test/files/html-escape.ods
|
282
|
+
- test/files/link.csv
|
283
|
+
- test/files/link.xlsx
|
284
|
+
- test/files/matrix.ods
|
285
|
+
- test/files/named_cells.ods
|
286
|
+
- test/files/named_cells.xlsx
|
287
|
+
- test/files/no_spreadsheet_file.txt
|
288
|
+
- test/files/numbers-export.xlsx
|
289
|
+
- test/files/numbers1.csv
|
290
|
+
- test/files/numbers1.ods
|
291
|
+
- test/files/numbers1.xlsx
|
292
|
+
- test/files/numbers1withnull.xlsx
|
293
|
+
- test/files/numeric-link.xlsx
|
294
|
+
- test/files/only_one_sheet.ods
|
295
|
+
- test/files/only_one_sheet.xlsx
|
296
|
+
- test/files/paragraph.ods
|
297
|
+
- test/files/paragraph.xlsx
|
298
|
+
- test/files/ric.ods
|
299
|
+
- test/files/sheet1.xml
|
300
|
+
- test/files/simple_spreadsheet.ods
|
301
|
+
- test/files/simple_spreadsheet.xlsx
|
302
|
+
- test/files/simple_spreadsheet_from_italo.ods
|
303
|
+
- test/files/so_datetime.csv
|
304
|
+
- test/files/style.ods
|
305
|
+
- test/files/style.xlsx
|
306
|
+
- test/files/time-test.csv
|
307
|
+
- test/files/time-test.ods
|
308
|
+
- test/files/time-test.xlsx
|
309
|
+
- test/files/type_excel.ods
|
310
|
+
- test/files/type_excel.xlsx
|
311
|
+
- test/files/type_excelx.ods
|
312
|
+
- test/files/type_openoffice.xlsx
|
313
|
+
- test/files/whitespace.ods
|
314
|
+
- test/files/whitespace.xlsx
|
315
|
+
- test/test_generic_spreadsheet.rb
|
316
|
+
- test/test_helper.rb
|
317
|
+
- test/test_roo.rb
|
318
|
+
has_rdoc:
|