roo 0.9.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/License.txt +0 -0
- data/Manifest.txt +8 -0
- data/README.txt +0 -0
- data/Rakefile +0 -0
- data/base64include.rb +0 -0
- data/examples/roo_soap_client.rb +0 -0
- data/examples/roo_soap_server.rb +0 -0
- data/examples/write_me.rb +0 -0
- data/lib/roo.rb +1 -0
- data/lib/roo/excel.rb +0 -0
- data/lib/roo/excelx.rb +426 -0
- data/lib/roo/generic_spreadsheet.rb +5 -5
- data/lib/roo/google.rb +0 -0
- data/lib/roo/openoffice.rb +0 -0
- data/lib/roo/roo_rails_helper.rb +0 -0
- data/lib/roo/version.rb +3 -3
- data/scripts/txt2html +0 -0
- data/setup.rb +0 -0
- data/test/Bibelbund.csv +0 -0
- data/test/Bibelbund.ods +0 -0
- data/test/Bibelbund.xls +0 -0
- data/test/Bibelbund1.ods +0 -0
- data/test/bbu.ods +0 -0
- data/test/bbu.xls +0 -0
- data/test/bbu.xlsx +0 -0
- data/test/bode-v1.ods.zip +0 -0
- data/test/bode-v1.xls.zip +0 -0
- data/test/borders.ods +0 -0
- data/test/borders.xls +0 -0
- data/test/borders.xlsx +0 -0
- data/test/formula.ods +0 -0
- data/test/formula.xls +0 -0
- data/test/formula.xlsx +0 -0
- data/test/no_spreadsheet_file.txt +0 -0
- data/test/numbers1.csv +0 -0
- data/test/numbers1.ods +0 -0
- data/test/numbers1.xls +0 -0
- data/test/numbers1.xlsx +0 -0
- data/test/numbers1_excel.csv +0 -0
- data/test/only_one_sheet.ods +0 -0
- data/test/only_one_sheet.xls +0 -0
- data/test/only_one_sheet.xlsx +0 -0
- data/test/ric.ods +0 -0
- data/test/simple_spreadsheet.ods +0 -0
- data/test/simple_spreadsheet.xls +0 -0
- data/test/simple_spreadsheet.xlsx +0 -0
- data/test/simple_spreadsheet_from_italo.ods +0 -0
- data/test/simple_spreadsheet_from_italo.xls +0 -0
- data/test/test_helper.rb +0 -0
- data/test/test_roo.rb +1252 -265
- data/test/time-test.csv +0 -0
- data/test/time-test.ods +0 -0
- data/test/time-test.xls +0 -0
- data/test/time-test.xlsx +0 -0
- data/website/index.html +9 -11
- data/website/index.txt +7 -12
- data/website/javascripts/rounded_corners_lite.inc.js +0 -0
- data/website/stylesheets/screen.css +0 -0
- data/website/template.rhtml +0 -0
- metadata +10 -2
data/test/time-test.csv
CHANGED
File without changes
|
data/test/time-test.ods
CHANGED
File without changes
|
data/test/time-test.xls
CHANGED
File without changes
|
data/test/time-test.xlsx
ADDED
Binary file
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>roo</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/roo"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/roo" class="numbers">0.
|
36
|
+
<a href="http://rubyforge.org/projects/roo" class="numbers">1.0.0</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -43,8 +43,9 @@
|
|
43
43
|
|
44
44
|
<ul>
|
45
45
|
<li>Open-office spreadsheets (.ods)</li>
|
46
|
-
<li>Excel spreadsheets (.xls)
|
46
|
+
<li>Excel spreadsheets (.xls) </li>
|
47
47
|
<li>Google (online) spreadsheets</li>
|
48
|
+
<li>Excel new file format .xlsx</li>
|
48
49
|
</ul>
|
49
50
|
|
50
51
|
|
@@ -282,7 +283,7 @@ All methode are the same for OpenOffice-, Excel- and Google-objects.
|
|
282
283
|
is the setting of the default-worksheet. OpenOffice uses the name of the worksheet whereas Excel needs the index of the worksheet (1,2,3,..).
|
283
284
|
</strike>
|
284
285
|
|
285
|
-
<p>Formulas can only be handled in OpenOffice
|
286
|
+
<p>Formulas can only be handled in OpenOffice-, Excel .XLSX files and Google-spreadsheets.</p>
|
286
287
|
|
287
288
|
|
288
289
|
<p>Features in OpenOffice/Excel/Google:</p>
|
@@ -294,24 +295,28 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
294
295
|
<td>Open Office</td>
|
295
296
|
<td>Excel</td>
|
296
297
|
<td>Google</td>
|
298
|
+
<td>Excel .xlsx</td>
|
297
299
|
</tr>
|
298
300
|
<tr>
|
299
301
|
<td>formulas</td>
|
300
302
|
<td>yes</td>
|
301
303
|
<td>no</td>
|
302
304
|
<td>yes</td>
|
305
|
+
<td>yes</td>
|
303
306
|
</tr>
|
304
307
|
<tr>
|
305
308
|
<td>celltype</td>
|
306
309
|
<td>:percentage</td>
|
307
310
|
<td>:float</td>
|
308
311
|
<td>:percentage</td>
|
312
|
+
<td>:percentage</td>
|
309
313
|
</tr>
|
310
314
|
<tr>
|
311
315
|
<td>access</td>
|
312
316
|
<td>read-only</td>
|
313
317
|
<td>read-only</td>
|
314
318
|
<td>read and write</td>
|
319
|
+
<td>read-only</td>
|
315
320
|
</tr>
|
316
321
|
</table>
|
317
322
|
|
@@ -421,13 +426,6 @@ Remote access with <span class="caps">SOAP</span> is nothing specific to roo, yo
|
|
421
426
|
<p><a href="rdoc/index.html">rdoc</a></p>
|
422
427
|
|
423
428
|
|
424
|
-
<strike>
|
425
|
-
Only the Openoffice- and Excel-parts of this gem are currently working – the Google-Spreadheets are experimental and are currently <span class="caps">NOT</span> working. Don’t use this!
|
426
|
-
</strike>
|
427
|
-
|
428
|
-
<p>Google spreadsheet can now be used.</p>
|
429
|
-
|
430
|
-
|
431
429
|
<h2>Tests and test data</h2>
|
432
430
|
|
433
431
|
|
@@ -487,7 +485,7 @@ Only the Openoffice- and Excel-parts of this gem are currently working – t
|
|
487
485
|
<li>Thanks to davecahill for a bug-fix patch within the google part</li>
|
488
486
|
</ul>
|
489
487
|
<p class="coda">
|
490
|
-
<a href="mailto:thopre@gmail.com">Thomas Preymesser</a>,
|
488
|
+
<a href="mailto:thopre@gmail.com">Thomas Preymesser</a>, 28th May 2008<br>
|
491
489
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
492
490
|
</p>
|
493
491
|
</div>
|
data/website/index.txt
CHANGED
@@ -5,8 +5,9 @@ h2. What
|
|
5
5
|
This gem allows you to access the content of
|
6
6
|
|
7
7
|
* Open-office spreadsheets (.ods)
|
8
|
-
* Excel spreadsheets (.xls)
|
8
|
+
* Excel spreadsheets (.xls)
|
9
9
|
* Google (online) spreadsheets
|
10
|
+
* Excel new file format .xlsx
|
10
11
|
|
11
12
|
h2. Installing
|
12
13
|
|
@@ -198,15 +199,15 @@ All methode are the same for OpenOffice-, Excel- and Google-objects.
|
|
198
199
|
is the setting of the default-worksheet. OpenOffice uses the name of the worksheet whereas Excel needs the index of the worksheet (1,2,3,..).
|
199
200
|
</strike>
|
200
201
|
|
201
|
-
Formulas can only be handled in OpenOffice
|
202
|
+
Formulas can only be handled in OpenOffice-, Excel .XLSX files and Google-spreadsheets.
|
202
203
|
|
203
204
|
Features in OpenOffice/Excel/Google:
|
204
205
|
|
205
206
|
table(border:1px solid black).
|
206
|
-
|feature|Open Office|Excel|Google|
|
207
|
-
|formulas|yes|no|yes|
|
208
|
-
|celltype|:percentage|:float|:percentage|
|
209
|
-
|access|read-only|read-only|read and write|
|
207
|
+
|feature|Open Office|Excel|Google|Excel .xlsx|
|
208
|
+
|formulas|yes|no|yes|yes|
|
209
|
+
|celltype|:percentage|:float|:percentage|:percentage|
|
210
|
+
|access|read-only|read-only|read and write|read-only|
|
210
211
|
|
211
212
|
The parseexcel-gem does not support the celltype 'percentage' but uses 'float' instead. This is not a big deal as you can also use 'float' to do calculations with these cells.
|
212
213
|
|
@@ -288,12 +289,6 @@ h2. Documentation
|
|
288
289
|
|
289
290
|
"rdoc":rdoc/index.html
|
290
291
|
|
291
|
-
<strike>
|
292
|
-
Only the Openoffice- and Excel-parts of this gem are currently working - the Google-Spreadheets are experimental and are currently NOT working. Don't use this!
|
293
|
-
</strike>
|
294
|
-
|
295
|
-
Google spreadsheet can now be used.
|
296
|
-
|
297
292
|
h2. Tests and test data
|
298
293
|
|
299
294
|
There are many test files within the test directory. If you don't want to run unit tests and don't want the test data you can completely delete the 'test' directory within the hierarchy of this gem.
|
File without changes
|
File without changes
|
data/website/template.rhtml
CHANGED
File without changes
|
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: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Preymesser
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-05-28 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/roo/generic_spreadsheet.rb
|
77
77
|
- lib/roo/openoffice.rb
|
78
78
|
- lib/roo/excel.rb
|
79
|
+
- lib/roo/excelx.rb
|
79
80
|
- lib/roo/google.rb
|
80
81
|
- lib/roo/roo_rails_helper.rb
|
81
82
|
- scripts/txt2html
|
@@ -86,27 +87,34 @@ files:
|
|
86
87
|
- test/Bibelbund.xls
|
87
88
|
- test/Bibelbund.csv
|
88
89
|
- test/bbu.xls
|
90
|
+
- test/bbu.xlsx
|
89
91
|
- test/bbu.ods
|
90
92
|
- test/no_spreadsheet_file.txt
|
91
93
|
- test/simple_spreadsheet.ods
|
92
94
|
- test/simple_spreadsheet.xls
|
95
|
+
- test/simple_spreadsheet.xlsx
|
93
96
|
- test/simple_spreadsheet_from_italo.ods
|
94
97
|
- test/simple_spreadsheet_from_italo.xls
|
95
98
|
- test/test_helper.rb
|
96
99
|
- test/test_roo.rb
|
97
100
|
- test/time-test.ods
|
98
101
|
- test/time-test.xls
|
102
|
+
- test/time-test.xlsx
|
99
103
|
- test/time-test.csv
|
100
104
|
- test/numbers1.csv
|
101
105
|
- test/numbers1_excel.csv
|
102
106
|
- test/numbers1.ods
|
103
107
|
- test/numbers1.xls
|
108
|
+
- test/numbers1.xlsx
|
104
109
|
- test/borders.ods
|
105
110
|
- test/borders.xls
|
111
|
+
- test/borders.xlsx
|
106
112
|
- test/formula.ods
|
107
113
|
- test/formula.xls
|
114
|
+
- test/formula.xlsx
|
108
115
|
- test/only_one_sheet.ods
|
109
116
|
- test/only_one_sheet.xls
|
117
|
+
- test/only_one_sheet.xlsx
|
110
118
|
- test/bode-v1.xls.zip
|
111
119
|
- test/bode-v1.ods.zip
|
112
120
|
- test/ric.ods
|