roo 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/Manifest.txt +3 -0
- data/lib/roo/excel.rb +0 -3
- data/lib/roo/generic_spreadsheet.rb +2 -4
- data/lib/roo/version.rb +1 -1
- data/test/Bibelbund.csv +3741 -0
- data/test/Bibelbund.ods +0 -0
- data/test/Bibelbund.xls +0 -0
- data/test/test_roo.rb +21 -6
- data/website/index.html +1 -1
- metadata +5 -2
data/test/Bibelbund.ods
ADDED
Binary file
|
data/test/Bibelbund.xls
ADDED
Binary file
|
data/test/test_roo.rb
CHANGED
@@ -1596,13 +1596,18 @@ class TestRoo < Test::Unit::TestCase
|
|
1596
1596
|
Timeout::timeout(GLOBAL_TIMEOUT) do |timeout_length|
|
1597
1597
|
File.delete_if_exist("/tmp/numbers1.csv")
|
1598
1598
|
oo = Openoffice.new(File.join("test","numbers1.ods"))
|
1599
|
+
|
1600
|
+
|
1601
|
+
# bug?, 2008-01-15 from Troy Davis
|
1602
|
+
assert oo.to_csv("/tmp/numbers1.csv",oo.sheets.first)
|
1603
|
+
assert File.exists?("/tmp/numbers1.csv")
|
1604
|
+
assert_equal "", `diff test/numbers1.csv /tmp/numbers1.csv`
|
1605
|
+
|
1599
1606
|
oo.default_sheet = oo.sheets.first
|
1600
|
-
#assert_equal "Tagebuch des Sekret\303\244rs. Letzte Tagung 15./16.11.75 Schweiz", oo.cell(45,'A')
|
1601
|
-
#assert_equal "Tagebuch des Sekret\303\244rs. Nachrichten aus Chile", oo.cell(46,'A')
|
1602
|
-
#assert_equal "Tagebuch aus Chile Juli 1977", oo.cell(55,'A')
|
1603
1607
|
assert oo.to_csv("/tmp/numbers1.csv")
|
1604
1608
|
assert File.exists?("/tmp/numbers1.csv")
|
1605
1609
|
assert_equal "", `diff test/numbers1.csv /tmp/numbers1.csv`
|
1610
|
+
|
1606
1611
|
end # Timeout
|
1607
1612
|
#} # nothing_raised
|
1608
1613
|
end # OPENOFFICE
|
@@ -1614,11 +1619,17 @@ class TestRoo < Test::Unit::TestCase
|
|
1614
1619
|
Timeout::timeout(GLOBAL_TIMEOUT) do |timeout_length|
|
1615
1620
|
File.delete_if_exist("/tmp/numbers1_excel.csv")
|
1616
1621
|
oo = Excel.new(File.join("test","numbers1.xls"))
|
1622
|
+
|
1623
|
+
# bug?, 2008-01-15 from Troy Davis
|
1624
|
+
assert oo.to_csv("/tmp/numbers1_excel.csv",oo.sheets.first)
|
1625
|
+
assert File.exists?("/tmp/numbers1_excel.csv")
|
1626
|
+
assert_equal "", `diff test/numbers1_excel.csv /tmp/numbers1_excel.csv`
|
1617
1627
|
oo.default_sheet = oo.sheets.first
|
1618
1628
|
assert oo.to_csv("/tmp/numbers1_excel.csv")
|
1619
1629
|
assert File.exists?("/tmp/numbers1_excel.csv")
|
1620
1630
|
assert_equal "", `diff test/numbers1_excel.csv /tmp/numbers1_excel.csv`
|
1621
1631
|
end
|
1632
|
+
|
1622
1633
|
#}
|
1623
1634
|
end
|
1624
1635
|
end # def to_csv
|
@@ -1631,13 +1642,17 @@ class TestRoo < Test::Unit::TestCase
|
|
1631
1642
|
Timeout::timeout(GLOBAL_TIMEOUT) do |timeout_length|
|
1632
1643
|
File.delete_if_exist("/tmp/numbers1.csv") if File.exists?("/tmp/numbers1.csv")
|
1633
1644
|
oo = Google.new(key_of('numbers1'))
|
1645
|
+
|
1634
1646
|
oo.default_sheet = oo.sheets.first
|
1635
|
-
#?? assert_equal "Tagebuch des Sekret\303\244rs. Letzte Tagung 15./16.11.75 Schweiz", oo.cell(45,'A')
|
1636
|
-
#?? assert_equal "Tagebuch des Sekret\303\244rs. Nachrichten aus Chile", oo.cell(46,'A')
|
1637
|
-
#?? assert_equal "Tagebuch aus Chile Juli 1977", oo.cell(55,'A')
|
1638
1647
|
assert oo.to_csv("/tmp/numbers1.csv")
|
1639
1648
|
assert File.exists?("/tmp/numbers1.csv")
|
1640
1649
|
assert_equal "", `diff test/numbers1.csv /tmp/numbers1.csv`
|
1650
|
+
|
1651
|
+
# bug?, 2008-01-15 from Troy Davis
|
1652
|
+
assert oo.to_csv("/tmp/numbers1.csv",oo.sheets.first)
|
1653
|
+
assert File.exists?("/tmp/numbers1.csv")
|
1654
|
+
assert_equal "", `diff test/numbers1.csv /tmp/numbers1.csv`
|
1655
|
+
|
1641
1656
|
end # Timeout
|
1642
1657
|
#} # nothing_raised
|
1643
1658
|
end # GOOGLE
|
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.8.
|
36
|
+
<a href="http://rubyforge.org/projects/roo" class="numbers">0.8.5</a>
|
37
37
|
</div>
|
38
38
|
<h2>What</h2>
|
39
39
|
|
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.8.
|
4
|
+
version: 0.8.5
|
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-01-
|
12
|
+
date: 2008-01-16 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -80,6 +80,9 @@ files:
|
|
80
80
|
- setup.rb
|
81
81
|
- test/false_encoding.xls
|
82
82
|
- test/Bibelbund1.ods
|
83
|
+
- test/Bibelbund.ods
|
84
|
+
- test/Bibelbund.xls
|
85
|
+
- test/Bibelbund.csv
|
83
86
|
- test/bbu.xls
|
84
87
|
- test/bbu.ods
|
85
88
|
- test/simple_spreadsheet.ods
|