roo 0.6.1 → 0.7.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.
- data/History.txt +9 -0
- data/lib/roo/excel.rb +230 -58
- data/lib/roo/openoffice.rb +334 -158
- data/lib/roo/version.rb +2 -2
- data/test/numbers1.xls +0 -0
- data/test/test_roo.rb +822 -224
- data/website/index.html +8 -11
- data/website/index.txt +5 -4
- metadata +82 -75
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">0.7.0</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -44,7 +44,7 @@
|
|
44
44
|
<h2>Installing</h2>
|
45
45
|
|
46
46
|
|
47
|
-
<pre syntax="ruby">
|
47
|
+
<pre syntax="ruby">gem install roo</pre>
|
48
48
|
|
49
49
|
<h2>The basics</h2>
|
50
50
|
|
@@ -111,7 +111,7 @@
|
|
111
111
|
</code>
|
112
112
|
</pre>
|
113
113
|
|
114
|
-
<p>With the
|
114
|
+
<p>With the methods</p>
|
115
115
|
|
116
116
|
|
117
117
|
<code>first_column</code>,
|
@@ -272,11 +272,6 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
272
272
|
<td>yes</td>
|
273
273
|
<td>no</td>
|
274
274
|
</tr>
|
275
|
-
<tr>
|
276
|
-
<td>to_yaml</td>
|
277
|
-
<td>yes</td>
|
278
|
-
<td>yes</td>
|
279
|
-
</tr>
|
280
275
|
<tr>
|
281
276
|
<td>celltype</td>
|
282
277
|
<td>:percentage</td>
|
@@ -287,7 +282,7 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
287
282
|
|
288
283
|
|
289
284
|
|
290
|
-
<p>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
|
285
|
+
<p>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.</p>
|
291
286
|
|
292
287
|
|
293
288
|
<p>Old .sxc OpenOffice files are currently not supported – please load these files and save it as an “OpenDocument Spreadsheet (.ods)”.</p>
|
@@ -399,7 +394,9 @@ Remote access with <span class="caps">SOAP</span> is nothing specific to roo, yo
|
|
399
394
|
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
400
395
|
|
401
396
|
|
402
|
-
<p
|
397
|
+
<p><!—
|
398
|
+
The trunk repository is <code>svn://rubyforge.org/var/svn/gorank/trunk</code> for anonymous access.
|
399
|
+
—></p>
|
403
400
|
|
404
401
|
|
405
402
|
<h2>License</h2>
|
@@ -423,7 +420,7 @@ Remote access with <span class="caps">SOAP</span> is nothing specific to roo, yo
|
|
423
420
|
<li>Dirk Huth fürs Testen unter Windows</li>
|
424
421
|
</ul>
|
425
422
|
<p class="coda">
|
426
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
423
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 26th October 2007<br>
|
427
424
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
428
425
|
</p>
|
429
426
|
</div>
|
data/website/index.txt
CHANGED
@@ -6,7 +6,7 @@ This gem allows you to access the content of open-office and Excel spreadsheets
|
|
6
6
|
|
7
7
|
h2. Installing
|
8
8
|
|
9
|
-
<pre syntax="ruby">
|
9
|
+
<pre syntax="ruby">gem install roo</pre>
|
10
10
|
|
11
11
|
h2. The basics
|
12
12
|
|
@@ -64,7 +64,7 @@ which produces this output
|
|
64
64
|
</code>
|
65
65
|
</pre>
|
66
66
|
|
67
|
-
With the
|
67
|
+
With the methods
|
68
68
|
|
69
69
|
<code>first_column</code>,
|
70
70
|
<code>last_column</code>,
|
@@ -185,10 +185,9 @@ Features in OpenOffice and Excel:
|
|
185
185
|
table(border:1px solid black).
|
186
186
|
|feature|Open Office|Excel|
|
187
187
|
|formulas|yes|no|
|
188
|
-
|to_yaml|yes|yes|
|
189
188
|
|celltype|:percentage|:float|
|
190
189
|
|
191
|
-
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
|
190
|
+
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.
|
192
191
|
|
193
192
|
Old .sxc OpenOffice files are currently not supported - please load these files and save it as an "OpenDocument Spreadsheet (.ods)".
|
194
193
|
|
@@ -272,7 +271,9 @@ h2. How to submit patches
|
|
272
271
|
|
273
272
|
Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
|
274
273
|
|
274
|
+
<!--
|
275
275
|
The trunk repository is <code>svn://rubyforge.org/var/svn/gorank/trunk</code> for anonymous access.
|
276
|
+
-->
|
276
277
|
|
277
278
|
h2. License
|
278
279
|
|
metadata
CHANGED
@@ -1,33 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: roo
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
|
8
|
-
summary: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: thopre@gmail.com
|
12
|
-
homepage: http://roo.rubyforge.org
|
13
|
-
rubyforge_project: roo
|
14
|
-
description: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
25
|
-
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
4
|
+
version: 0.7.0
|
5
|
+
platform: ""
|
29
6
|
authors:
|
30
7
|
- Thomas Preymesser
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2007-11-23 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: parseexcel
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.5.2
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: rubyzip
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 0.9.1
|
32
|
+
version:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: hpricot
|
35
|
+
version_requirement:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: "0.5"
|
41
|
+
version:
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: GData
|
44
|
+
version_requirement:
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.0.3
|
50
|
+
version:
|
51
|
+
description: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
52
|
+
email: thopre@gmail.com
|
53
|
+
executables: []
|
54
|
+
|
55
|
+
extensions: []
|
56
|
+
|
57
|
+
extra_rdoc_files:
|
58
|
+
- History.txt
|
59
|
+
- License.txt
|
60
|
+
- Manifest.txt
|
61
|
+
- README.txt
|
62
|
+
- website/index.txt
|
31
63
|
files:
|
32
64
|
- History.txt
|
33
65
|
- License.txt
|
@@ -62,58 +94,33 @@ files:
|
|
62
94
|
- website/javascripts/rounded_corners_lite.inc.js
|
63
95
|
- website/stylesheets/screen.css
|
64
96
|
- website/template.rhtml
|
65
|
-
|
66
|
-
|
67
|
-
|
97
|
+
has_rdoc: true
|
98
|
+
homepage: http://roo.rubyforge.org
|
99
|
+
post_install_message:
|
68
100
|
rdoc_options:
|
69
101
|
- --main
|
70
102
|
- README.txt
|
71
|
-
|
72
|
-
-
|
73
|
-
|
74
|
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
103
|
+
require_paths:
|
104
|
+
- lib
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: "0"
|
110
|
+
version:
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: "0"
|
116
|
+
version:
|
81
117
|
requirements: []
|
82
118
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
version: 0.5.2
|
92
|
-
version:
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: rubyzip
|
95
|
-
version_requirement:
|
96
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
97
|
-
requirements:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 0.9.1
|
101
|
-
version:
|
102
|
-
- !ruby/object:Gem::Dependency
|
103
|
-
name: hpricot
|
104
|
-
version_requirement:
|
105
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: "0.5"
|
110
|
-
version:
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: GData
|
113
|
-
version_requirement:
|
114
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 0.0.3
|
119
|
-
version:
|
119
|
+
rubyforge_project: roo
|
120
|
+
rubygems_version: 0.9.5
|
121
|
+
signing_key:
|
122
|
+
specification_version: 2
|
123
|
+
summary: roo can access the contents of OpenOffice-Spreadsheets and Excel-Spreadsheets
|
124
|
+
test_files:
|
125
|
+
- test/test_helper.rb
|
126
|
+
- test/test_roo.rb
|