roo 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -1
- data/Manifest.txt +3 -0
- data/Rakefile +2 -1
- data/examples/roo_soap_client.rb +2 -2
- data/lib/roo/excel.rb +94 -20
- data/lib/roo/google.rb +104 -92
- data/lib/roo/openoffice.rb +152 -107
- data/lib/roo/version.rb +1 -1
- data/test/bode-v1.xls.zip +0 -0
- data/test/numbers1.ods +0 -0
- data/test/only_one_sheet.ods +0 -0
- data/test/only_one_sheet.xls +0 -0
- data/test/test_roo.rb +605 -547
- data/website/index.html +19 -2
- data/website/index.txt +11 -0
- metadata +16 -4
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.5.
|
36
|
+
<a href="http://rubyforge.org/projects/roo" class="numbers">0.5.1</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -275,6 +275,23 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
275
275
|
Remote access with <span class="caps">SOAP</span> is nothing specific to roo, you can do this with every Rub object, but i thought it would nice to give an example what could be done with roo.</p>
|
276
276
|
|
277
277
|
|
278
|
+
<h3>With Ruby on Rails</h3>
|
279
|
+
|
280
|
+
|
281
|
+
<p>You can even use roo within your web application. On the project page there is an example named roorails.tgz, which shows a short example how you can display a spreadsheet table on a web page (see files app/controllers/spreadsheet_controller.rb and app/views/spreadsheet/index.rhtml).</p>
|
282
|
+
|
283
|
+
|
284
|
+
<p>To display this example:</p>
|
285
|
+
|
286
|
+
|
287
|
+
<ul>
|
288
|
+
<li>unpack in any directory</li>
|
289
|
+
<li>cd roorails</li>
|
290
|
+
<li>ruby script/server</li>
|
291
|
+
<li>point your browser to http://localhost:3000/spreadsheet/</li>
|
292
|
+
</ul>
|
293
|
+
|
294
|
+
|
278
295
|
<h2>Where is it used?</h2>
|
279
296
|
|
280
297
|
|
@@ -349,7 +366,7 @@ Remote access with <span class="caps">SOAP</span> is nothing specific to roo, yo
|
|
349
366
|
<li>Dirk Huth fürs Testen unter Windows</li>
|
350
367
|
</ul>
|
351
368
|
<p class="coda">
|
352
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
369
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 7th August 2007<br>
|
353
370
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
354
371
|
</p>
|
355
372
|
</div>
|
data/website/index.txt
CHANGED
@@ -175,6 +175,17 @@ h3. Remote Access
|
|
175
175
|
You can even access your spreadsheet data from a remote machine via SOAP. The examples directory shows a little example how to do this. If you like, you can extend these functions or restrict the access to certain cells.
|
176
176
|
Remote access with SOAP is nothing specific to roo, you can do this with every Rub object, but i thought it would nice to give an example what could be done with roo.
|
177
177
|
|
178
|
+
h3. With Ruby on Rails
|
179
|
+
|
180
|
+
You can even use roo within your web application. On the project page there is an example named roorails.tgz, which shows a short example how you can display a spreadsheet table on a web page (see files app/controllers/spreadsheet_controller.rb and app/views/spreadsheet/index.rhtml).
|
181
|
+
|
182
|
+
To display this example:
|
183
|
+
|
184
|
+
* unpack in any directory
|
185
|
+
* cd roorails
|
186
|
+
* ruby script/server
|
187
|
+
* point your browser to http://localhost:3000/spreadsheet/
|
188
|
+
|
178
189
|
h2. Where is it used?
|
179
190
|
|
180
191
|
How do you use roo? What are you doing with roo?
|
metadata
CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: roo
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2007-
|
8
|
-
summary: roo can access the contents of OpenOffice-Spreadsheets
|
6
|
+
version: 0.5.1
|
7
|
+
date: 2007-08-26 00:00:00 +02:00
|
8
|
+
summary: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: thopre@gmail.com
|
12
12
|
homepage: http://roo.rubyforge.org
|
13
13
|
rubyforge_project: roo
|
14
|
-
description: roo can access the contents of OpenOffice-Spreadsheets
|
14
|
+
description: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
15
15
|
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
@@ -52,6 +52,9 @@ files:
|
|
52
52
|
- test/borders.xls
|
53
53
|
- test/formula.ods
|
54
54
|
- test/formula.xls
|
55
|
+
- test/only_one_sheet.ods
|
56
|
+
- test/only_one_sheet.xls
|
57
|
+
- test/bode-v1.xls.zip
|
55
58
|
- website/index.html
|
56
59
|
- website/index.txt
|
57
60
|
- website/javascripts/rounded_corners_lite.inc.js
|
@@ -103,3 +106,12 @@ dependencies:
|
|
103
106
|
- !ruby/object:Gem::Version
|
104
107
|
version: "0.5"
|
105
108
|
version:
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: GData
|
111
|
+
version_requirement:
|
112
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.0.3
|
117
|
+
version:
|