spreadsheet 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 CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.8.5 / 24.04.2013
2
+
3
+ * Applied Patch by Joao Almeida: When editing an existing sheet, cells merge was not working.
4
+ * https://github.com/voraz/spreadsheet/pull/14.patch
5
+
1
6
  === 0.8.4 / 20.04.2013
2
7
 
3
8
  * Applied Patch by boss@airbladesoftware.com
data/lib/spreadsheet.rb CHANGED
@@ -43,7 +43,7 @@ module Spreadsheet
43
43
 
44
44
  ##
45
45
  # The version of Spreadsheet you are using.
46
- VERSION = '0.8.4'
46
+ VERSION = '0.8.5'
47
47
 
48
48
  ##
49
49
  # Default client Encoding. Change this value if your application uses a
@@ -245,7 +245,7 @@ class Worksheet
245
245
  def write_changes reader, endpos, sst_status
246
246
 
247
247
  ## FIXME this is not smart solution to update outline_level.
248
- # without this process, outlines in row disappear in MS Excel.
248
+ # without this process, outlines in row disappear in MS Excel.
249
249
  @worksheet.row_count.times do |i|
250
250
  if @worksheet.row(i).outline_level > 0
251
251
  @worksheet.row(i).outline_level = @worksheet.row(i).outline_level
@@ -309,9 +309,10 @@ and minimal code that generates this warning. Thanks!
309
309
  reader.seek lastpos
310
310
  end
311
311
 
312
- # Necessary for outline (grouping) and hiding functions
312
+ # Necessary for outline (grouping) and hiding functions
313
313
  # but these below are not necessary to run
314
314
  # if [Row|Column]#hidden? = false and [Row|Column]#outline_level == 0
315
+ write_merged_cells
315
316
  write_colinfos
316
317
  write_guts
317
318
 
@@ -840,7 +841,7 @@ and minimal code that generates this warning. Thanks!
840
841
  if @worksheet.selected
841
842
  flags |= 0x0200
842
843
  end
843
- flags |= 0x0080 # Show outline symbols,
844
+ flags |= 0x0080 # Show outline symbols,
844
845
  # but if [Row|Column]#outline_level = 0 the symbols are not shown.
845
846
  data = [ flags, 0, 0, 0, 0, 0 ].pack binfmt(:window2)
846
847
  write_op opcode(:window2), data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-20 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-ole
16
- requirement: &21959600 !ruby/object:Gem::Requirement
16
+ requirement: &12377560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21959600
24
+ version_requirements: *12377560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &21975520 !ruby/object:Gem::Requirement
27
+ requirement: &12377140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *21975520
35
+ version_requirements: *12377140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &21975040 !ruby/object:Gem::Requirement
38
+ requirement: &12376660 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.13'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *21975040
46
+ version_requirements: *12376660
47
47
  description: ! 'The Spreadsheet Library is designed to read and write Spreadsheet
48
48
  Documents.
49
49