roo 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/roo.rb +1 -0
- data/lib/roo/openoffice.rb +1 -1
- data/lib/roo/spreadsheetparser.rb +1 -0
- data/lib/roo/version.rb +1 -1
- data/test/test_roo.rb +12 -0
- data/website/index.html +5 -2
- data/website/index.txt +1 -0
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
== 0.4.1 2007-06-27
|
2
|
+
* 1 bugfix
|
3
|
+
* there was ONE false require-statement which led to misleading error messageswhen this gem was used
|
4
|
+
|
5
|
+
== 0.4.0 2007-06-27
|
1
6
|
* 7 enhancements:
|
2
7
|
* robustness: Exception if no default_sheet was set
|
3
8
|
* new method reload() implemented
|
data/lib/roo.rb
CHANGED
data/lib/roo/openoffice.rb
CHANGED
data/lib/roo/version.rb
CHANGED
data/test/test_roo.rb
CHANGED
@@ -855,4 +855,16 @@ end
|
|
855
855
|
end
|
856
856
|
end
|
857
857
|
|
858
|
+
def test_old_openoffice
|
859
|
+
if OPENOFFICE
|
860
|
+
oo = Openoffice.new(File.join("/media","LACIE","ferien","Ferien.ods"))
|
861
|
+
oo.default_sheet = oo.sheets.first
|
862
|
+
assert_equal 2006, oo.cell('A',1)
|
863
|
+
assert_equal "Berlin", oo.cell('B',1)
|
864
|
+
assert_equal "Herbstferien", oo.cell('C',1)
|
865
|
+
assert_equal Date.new(2006,10,2), oo.cell('D',1)
|
866
|
+
assert_equal Date.new(2006,10,14), oo.cell('E',1)
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
858
870
|
end # class
|
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.4.
|
36
|
+
<a href="http://rubyforge.org/projects/roo" class="numbers">0.4.1</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
@@ -238,6 +238,9 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
238
238
|
|
239
239
|
|
240
240
|
|
241
|
+
<p>Old .sxc OpenOffice files are currently not supported – please load these files and save as an “OpenDocument Spreadsheet (.ods)”.</p>
|
242
|
+
|
243
|
+
|
241
244
|
<h2>Where is it used?</h2>
|
242
245
|
|
243
246
|
|
@@ -303,7 +306,7 @@ is the setting of the default-worksheet. OpenOffice uses the name of the workshe
|
|
303
306
|
<li>Dirk Huth fürs Testen unter Windows</li>
|
304
307
|
</ul>
|
305
308
|
<p class="coda">
|
306
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
309
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 27th June 2007<br>
|
307
310
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
308
311
|
</p>
|
309
312
|
</div>
|
data/website/index.txt
CHANGED
metadata
CHANGED