roo 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Rakefile +1 -0
- data/lib/roo.rb +1 -1
- data/lib/roo/excelx.rb +4 -3
- data/test/test_roo.rb +1 -1
- metadata +12 -2
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/roo.rb
CHANGED
data/lib/roo/excelx.rb
CHANGED
@@ -284,7 +284,7 @@ class Excelx < GenericSpreadsheet
|
|
284
284
|
read_cells(sheet) unless @cells_read[sheet]
|
285
285
|
row,col = normalize(row,col)
|
286
286
|
s = @s_attribute[sheet][[row,col]]
|
287
|
-
result = attribute2format(s)
|
287
|
+
result = attribute2format(s).to_s
|
288
288
|
result
|
289
289
|
end
|
290
290
|
|
@@ -553,8 +553,9 @@ class Excelx < GenericSpreadsheet
|
|
553
553
|
shared_table_entry = ''
|
554
554
|
#TODO: si.each_element do |elem|
|
555
555
|
si.children.each do |elem|
|
556
|
-
if elem.name == 'r'
|
557
|
-
elem.each_element do |r_elem|
|
556
|
+
if elem.name == 'r' and elem.children
|
557
|
+
# elem.each_element do |r_elem|
|
558
|
+
elem.children.each do |r_elem|
|
558
559
|
if r_elem.name == 't'
|
559
560
|
shared_table_entry << r_elem.content
|
560
561
|
end
|
data/test/test_roo.rb
CHANGED
@@ -1865,7 +1865,7 @@ doc = Nokogiri::XML(oo.to_xml)
|
|
1865
1865
|
|
1866
1866
|
# compare large spreadsheets
|
1867
1867
|
def test_compare_large_spreadsheets
|
1868
|
-
after Date.new(
|
1868
|
+
after Date.new(2010,11,1) do
|
1869
1869
|
# problematisch, weil Formeln in Excel nicht unterstützt werden
|
1870
1870
|
if LONG_RUN
|
1871
1871
|
qq = Openoffice.new(File.join('test',"Bibelbund.ods"))
|
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: 1.9.
|
4
|
+
version: 1.9.1
|
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: 2009-10
|
12
|
+
date: 2009-11-10 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -52,6 +52,16 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 0.0.5
|
54
54
|
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: febeling-rubyzip
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.9.2
|
64
|
+
version:
|
55
65
|
- !ruby/object:Gem::Dependency
|
56
66
|
name: bones
|
57
67
|
type: :development
|