robust_excel_ole 1.15 → 1.16
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.
- checksums.yaml +4 -4
- data/Changelog +9 -0
- data/README.rdoc +1 -1
- data/___dummy_workbook.xls +0 -0
- data/docs/README_open.rdoc +14 -2
- data/docs/README_ranges.rdoc +5 -2
- data/lib/robust_excel_ole/bookstore.rb +12 -75
- data/lib/robust_excel_ole/cell.rb +1 -1
- data/lib/robust_excel_ole/excel.rb +6 -11
- data/lib/robust_excel_ole/general.rb +32 -9
- data/lib/robust_excel_ole/range.rb +4 -4
- data/lib/robust_excel_ole/range_owners.rb +14 -14
- data/lib/robust_excel_ole/version.rb +1 -1
- data/lib/robust_excel_ole/workbook.rb +129 -112
- data/lib/robust_excel_ole/worksheet.rb +4 -8
- data/spec/bookstore_spec.rb +3 -3
- data/spec/data/more_data/workbook.xls +0 -0
- data/spec/excel_spec.rb +2 -4
- data/spec/general_spec.rb +2 -4
- data/spec/reo_common_spec.rb +1 -1
- data/spec/workbook_specs/workbook_misc_spec.rb +1 -11
- data/spec/workbook_specs/workbook_open_spec.rb +342 -16
- data/spec/workbook_specs/workbook_unobtr_spec.rb +2 -2
- data/spec/worksheet_spec.rb +2 -4
- metadata +2 -2
@@ -1582,10 +1582,10 @@ describe Workbook do
|
|
1582
1582
|
|
1583
1583
|
it "should remain the calculation mode" do
|
1584
1584
|
book1 = Workbook.open(@simple_file1)
|
1585
|
-
old_calculation = book1.excel.calculation
|
1585
|
+
old_calculation = book1.excel.properties[:calculation]
|
1586
1586
|
Workbook.unobtrusively(@simple_file1) do |book|
|
1587
1587
|
end
|
1588
|
-
book1.excel.calculation.should == old_calculation
|
1588
|
+
book1.excel.properties[:calculation].should == old_calculation
|
1589
1589
|
end
|
1590
1590
|
|
1591
1591
|
it "should remain calculation manual" do
|
data/spec/worksheet_spec.rb
CHANGED
@@ -627,8 +627,7 @@ describe Worksheet do
|
|
627
627
|
it "should color the cell" do
|
628
628
|
@sheet1.set_namevalue_glob("new", "bar")
|
629
629
|
@book1.Names.Item("new").RefersToRange.Interior.ColorIndex.should == -4142
|
630
|
-
@
|
631
|
-
@sheet1.set_namevalue_glob("new", "bar")
|
630
|
+
@sheet1.set_namevalue_glob("new", "bar", :color => 4)
|
632
631
|
@book1.Names.Item("new").RefersToRange.Interior.ColorIndex.should == 4
|
633
632
|
end
|
634
633
|
|
@@ -720,8 +719,7 @@ describe Worksheet do
|
|
720
719
|
it "should color the cell" do
|
721
720
|
@sheet1.set_namevalue("new", "bar")
|
722
721
|
@book1.Names.Item("new").RefersToRange.Interior.ColorIndex.should == -4142
|
723
|
-
@
|
724
|
-
@sheet1.set_namevalue("new", "bar")
|
722
|
+
@sheet1.set_namevalue("new", "bar", :color => 4)
|
725
723
|
@book1.Names.Item("new").RefersToRange.Interior.ColorIndex.should == 4
|
726
724
|
end
|
727
725
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robust_excel_ole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.16'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- traths
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|