xlsx_writer 0.4.3 → 0.4.4
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 +6 -0
- data/README.markdown +6 -0
- data/lib/xlsx_writer/version.rb +1 -1
- data/lib/xlsx_writer/xml/content_types.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6b6da2f7d092b907a942008e93d7b5571132ba8
|
|
4
|
+
data.tar.gz: 1b2a2339dba34a6dec35ec9519e3c4d709aab4d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16e6209bcf7a8aef6c11b4d082b9c90c614e60504a637efc5f729a5bb35b2da205e2a512ae1ac81508acf7eec476d25afa4a626148f9211bd5dd6d397d62786d
|
|
7
|
+
data.tar.gz: 5688bfdfbb2186bc05c68970130bc133fde429836248eb8f43da086b1d61ad5d8a3d8864aea37f8cfc9b75de3d8b1069662d0749d3d884af689c1edc896bbdf3
|
data/CHANGELOG
CHANGED
data/README.markdown
CHANGED
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Writes (doesn't read or modify) XLSX files.
|
|
4
4
|
|
|
5
|
+
Imposes (non-customizable) a certain style: Arial 10pt, left-aligned text and dates, right-aligned numbers and currency
|
|
6
|
+
|
|
7
|
+
Optionally adds an autofilter.
|
|
8
|
+
|
|
5
9
|
## Credit
|
|
6
10
|
|
|
7
11
|
Based on the [original simple\_xlsx\_writer gem](https://github.com/harvesthq/simple_xlsx_writer) and [patches by mumboe](https://github.com/mumboe/simple_xlsx_writer)
|
|
8
12
|
|
|
13
|
+
## Changes from simple_xlsx_writer (caution opinionated)
|
|
14
|
+
|
|
9
15
|
Then I tore it down and rebuilt it:
|
|
10
16
|
|
|
11
17
|
* no longer constructs everything in a single zipstream... instead writes the individual files to /tmp and then zips them together
|
data/lib/xlsx_writer/version.rb
CHANGED
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
<Override PartName="<%= sheet.absolute_path %>" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>
|
|
12
12
|
<% end %>
|
|
13
13
|
<Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>
|
|
14
|
-
<Override PartName="/xl/
|
|
14
|
+
<Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>
|
|
15
15
|
</Types>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xlsx_writer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dee Zsombor
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-
|
|
13
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|