xlsxtream_rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/xlsxtream_rails/action_controller.rb +0 -1
- data/lib/xlsxtream_rails/version.rb +1 -1
- 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: 2356d39bc93f7932ff1ebcf31f4e79d0feb38c31521227c9524ac745ccaaff3a
|
4
|
+
data.tar.gz: e3cacfb6c7bcf4cb76ba7bcb1469222631f36e1c8343ae717f8420eb76bc4468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 317eb0b72e5c04d913ba5054450e90b4de0ff27067276740ece5f1b4af24f5f5c55df9b4984d25f92da1839f30328cd1379a3bd6941a9faad80e96c603a20fb1
|
7
|
+
data.tar.gz: adc28f4c75706991af808e076d3f5049d67a8e1b3c688e8788d5ed32b6b7ff418a6b08ac7b449eaed0c481fa5da1f8101ece6d23585158c7c360557de07b6085
|
data/README.md
CHANGED
@@ -14,7 +14,6 @@ ActionController::Renderers.add :xlsx do |data, options|
|
|
14
14
|
end
|
15
15
|
|
16
16
|
options[:filename] = options[:filename] ? options[:filename].strip.sub(/\.xlsx$/i, "") : "data"
|
17
|
-
options[:filename] += ".xlsx"
|
18
17
|
|
19
18
|
headers["Content-Type"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
20
19
|
headers["Content-disposition"] = "attachment; filename=\"#{options[:filename]}.xlsx\""
|