write_xlsx 0.85.4 → 0.85.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changes +4 -1
- data/lib/write_xlsx/utility.rb +1 -1
- data/lib/write_xlsx/version.rb +1 -1
- data/test/regression/test_urls_as_strings.rb +1 -1
- data/test/regression/xlsx_files/urls_as_strings.xlsx +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e41cd805a992ae404ee02bf633b0a1efe8ed112617953de8a442dc5404d9fc73
|
4
|
+
data.tar.gz: 311e2e1cdeef58369fa0f8e860c2af7323e92642ecbe5ba931baa129e30f5fc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0eaa1bbad03a112c043aa890aecf016c95ecf75f03c4c0379fa1a24eeaa0ca054e245eb0bc9f0be66dca571928708e20dd4a11003741c05cf7b1c9e02db6036
|
7
|
+
data.tar.gz: 599e512bd7b0ebe8b8baee86dd289b1367d8f0422b8c57f321e8c387c807e4b55b67a6b1b15b59d2c578cbb88049023638ffa82008b23794325fdebc0e7d8ee8
|
data/Changes
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
Change history of write_xlsx rubygem.
|
2
2
|
|
3
|
-
2018-04-29 v0.85.
|
3
|
+
2018-04-29 v0.85.5
|
4
|
+
Added option to store hyperlink strings as string (strings_as_urls: false).
|
5
|
+
|
6
|
+
2018-04-29 v0.85.4
|
4
7
|
Added option to store hyperlink strings as string (urls_as_strings).
|
5
8
|
|
6
9
|
2018-01-07 v0.85.3
|
data/lib/write_xlsx/utility.rb
CHANGED
@@ -586,7 +586,7 @@ def process_workbook_options(*params)
|
|
586
586
|
when 0
|
587
587
|
[{}, {}]
|
588
588
|
when 1 # one hash
|
589
|
-
options_keys = [:tempdir, :date_1904, :optimization, :excel2003_style]
|
589
|
+
options_keys = [:tempdir, :date_1904, :optimization, :excel2003_style, :strings_to_urls]
|
590
590
|
|
591
591
|
hash = params.first
|
592
592
|
options = hash.reject{|k,v| !options_keys.include?(k)}
|
data/lib/write_xlsx/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
WriteXLSX_VERSION = "0.85.
|
1
|
+
WriteXLSX_VERSION = "0.85.5"
|
@@ -12,7 +12,7 @@ def teardown
|
|
12
12
|
|
13
13
|
def test_urls_as_strings
|
14
14
|
@xlsx = 'urls_as_strings.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@xlsx,
|
15
|
+
workbook = WriteXLSX.new(@xlsx, strings_to_urls: false)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
worksheet.write('A1', 'http://www.write_xlsx.com')
|
18
18
|
worksheet.write('A2', 'mailto:write_xlsx@example.com')
|
Binary file
|