xlsxtream 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +2 -0
- data/lib/xlsxtream/version.rb +1 -1
- data/lib/xlsxtream/workbook.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95edaa900980bd320d2c9263ef1ecf9ba89cda93
|
4
|
+
data.tar.gz: b86eb2573b8344ec2d8aa1d34c1dc831a46ff812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 697ac5618f2577a9aca8653d24e59786fa85316e5fd13306c139540198e3f7968f89010c42461351d1954170e7794b96a506a7afb5868902adeef33d4f2ae1ab
|
7
|
+
data.tar.gz: aa397f03e684bdd242f86195abb13b56f0590f1a83c4f9ffd9623b57e35d6f2307d59efab981d5d6d5e26946b26e3528a779011366a0a0f5e5b5b40d520e1214
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/xlsxtream/version.rb
CHANGED
data/lib/xlsxtream/workbook.rb
CHANGED
@@ -36,6 +36,10 @@ module Xlsxtream
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def write_worksheet(name = nil, options = {})
|
39
|
+
if name.is_a? Hash and options.empty?
|
40
|
+
options = name
|
41
|
+
name = nil
|
42
|
+
end
|
39
43
|
use_sst = options.fetch(:use_shared_strings, @options[:use_shared_strings])
|
40
44
|
auto_format = options.fetch(:auto_format, @options[:auto_format])
|
41
45
|
sst = use_sst ? @sst : nil
|