spreadsheet 0.6.5.5 → 0.6.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.6.5.6 / 20.7.2011
2
+
3
+ * Added a fix from R. van der Hoorn to sanitize_worksheets if 'sheets' is empty.
4
+
5
+ * https://github.com/vanderhoorn/spreadsheet/commit/c109f2ac5486f9a38a6d93267daf560ab4b9473e
6
+
1
7
  === 0.6.5.5 / 24.6.2011
2
8
 
3
9
  * updated the color code for orange to 0x0034 => :orange, thanks to the hint of Jonty
data/README.txt CHANGED
@@ -1,12 +1,12 @@
1
- Last Update: 23.03.2011 - Zeno R.R. Davatz
1
+ Last Update: 14.02.2011 - Zeno R.R. Davatz
2
2
 
3
3
  = Spreadsheet
4
4
 
5
- http://spreadsheet.rubyforge.org
5
+ http://groups.google.com/group/rubyspreadsheet
6
6
 
7
- The Mailing List can be found here:
7
+ The code can be found here:
8
8
 
9
- http://groups.google.com/group/rubyspreadsheet
9
+ http://spreadsheet.rubyforge.org
10
10
 
11
11
  For a viewable directory of all recent changes, please see:
12
12
 
@@ -95,3 +95,4 @@ Copyright (c) 2010 ywesee GmbH (mhatakeyama@ywesee.com, zdavatz@ywesee.com)
95
95
 
96
96
  This library is distributed under the GPLv3.
97
97
  Please see the LICENSE[link://files/LICENSE_txt.html] file.
98
+
@@ -96,6 +96,7 @@ class Workbook < Spreadsheet::Writer
96
96
  @number_formats[workbook][format] || 0
97
97
  end
98
98
  def sanitize_worksheets sheets
99
+ return sheets if sheets.blank?
99
100
  found_selected = false
100
101
  sheets.each do |sheet|
101
102
  found_selected ||= sheet.selected
data/lib/spreadsheet.rb CHANGED
@@ -42,7 +42,7 @@ module Spreadsheet
42
42
 
43
43
  ##
44
44
  # The version of Spreadsheet you are using.
45
- VERSION = '0.6.5.5'
45
+ VERSION = '0.6.5.6'
46
46
 
47
47
  ##
48
48
  # Default client Encoding. Change this value if your application uses a
data/spreadsheet.gemspec CHANGED
@@ -3,7 +3,7 @@ require "rake"
3
3
 
4
4
  spec = Gem::Specification.new do |s|
5
5
  s.name = "spreadsheet"
6
- s.version = "0.6.5"
6
+ s.version = "0.6.5.6"
7
7
  s.summary = "The Spreadsheet Library is designed to read and write Spreadsheet Documents"
8
8
  s.description = "As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported"
9
9
  s.author = "Masaomi Hatakeyama, Zeno R.R. Davatz"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 97
4
+ hash: 103
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
9
  - 5
10
- - 5
11
- version: 0.6.5.5
10
+ - 6
11
+ version: 0.6.5.6
12
12
  platform: ruby
13
13
  authors:
14
14
  - Masaomi Hatakeyama, Zeno R.R. Davatz
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-24 00:00:00 +02:00
19
+ date: 2011-07-20 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -132,7 +132,7 @@ files:
132
132
  - test/worksheet.rb
133
133
  - .gemtest
134
134
  has_rdoc: true
135
- homepage: http://spreadsheet.rubyforge.org
135
+ homepage: http://groups.google.com/group/rubyspreadsheet
136
136
  licenses: []
137
137
 
138
138
  post_install_message: