useful_renderers 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0e8f348db31e48deaaedb493172c2d3a75f432d
4
- data.tar.gz: 9ac44f5b250708a8cc000929732cbd4edd6d42ff
3
+ metadata.gz: e31dfc4a87e56c0b8878d7f911fee27ffa669953
4
+ data.tar.gz: 18d062a32a3b18a2462a12f91956ccb7c46bd71f
5
5
  SHA512:
6
- metadata.gz: f0dcb733f9e50cedd21c98ec80938c641ba7e35a0c857b76d00aa53bc40b55ff90d6fd3bdcd607d43b65f806d066d9791215df965a95874da29bb06b6e418b03
7
- data.tar.gz: c66102af35602691610d1b4e62798be61db9bca289f62da959f446595abd5b055c7cf4a81debe1cda09ea45d8f2308289959aec82f38a63adda5c8eae6da48c1
6
+ metadata.gz: 469b6a3e18c6133975500977322e9346d13c5fd6ca7947fffa14c82410055dd5edd7ab2cc6e18a4d7c35ade1e793a0ae3310fdc27cb24574d9e7ba769a9e9bf2
7
+ data.tar.gz: 44cc1ef8d03beaa7407aebfd013520dde157da2e47e646c46a22f8c5e4c5a038f15d52a609f98aedc353f05fc10dea10d48ad7ca1bc3ab35c41036a4089af280
@@ -1,3 +1,3 @@
1
1
  module UsefulRenderers
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -18,7 +18,7 @@ module UsefulRenderers
18
18
  filename = options[:filename] || options[:template]
19
19
  zip.extend UsefulRenderers::ZipRenderable
20
20
  data = zip.respond_to?(:to_zip) ? zip.to_zip(options) : zip
21
- send_data data, type: Mime::Zip, disposition: "attachment; filename=#{filename}.zip"
21
+ send_data data, type: 'application/zip', disposition: "attachment; filename=#{filename}.zip"
22
22
  end
23
23
 
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useful_renderers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondrej Bartas