chili_presentations 0.2.0 → 0.2.1

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.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 0.2.1 / 2012-10-22
2
+
3
+ * 1 bug fix:
4
+
5
+ * Use send_file instead of send_data
6
+
1
7
  === 0.2.0 / 2012-10-22
2
8
 
3
9
  * 1 minor enhancement:
@@ -62,9 +62,10 @@ class PresentationsController < ApplicationController
62
62
  end
63
63
 
64
64
  def download
65
- send_data presentation.contents.path,
65
+ send_file presentation.contents.path,
66
66
  :filename => presentation.contents_file_name,
67
- :type => presentation.contents.content_type
67
+ :type => presentation.contents.content_type,
68
+ :streaming => true
68
69
  end
69
70
 
70
71
  private
@@ -1,4 +1,4 @@
1
1
  module ChiliPresentations
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chili_presentations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- T85����p��1y�Q.٬��Ѯ�O��4���'&����{#�ѱ�pP�V�0�1��~ ��u\�+m�x����$�i-^���JM�Y;K.ro�r
2
- <&�}��HB��xފ~U���\�r]�rk�"�Ci�����Sn#���飊�� �k��װ�>�3��C��-L �m��P�XQ{ �~z�AP ������6���@��8U��u�L;����+w7��K{5ts�g���Ɲ����O��
1
+ t
2
+ ��N�l��99�p�l�l�^�F�3UF9�ˉ���y@s�TÌP�/3�#�ϔ7���ȩ���b�BM"_X��).���HU��� ������XS!��V�?> ��T�4UUF\�veRs����x�Fk��"Б�FӚ�R�=|�8� K��͹���-��<�������z��wW?�p,�N]l\�k{�^٥�P2>�����z�T�]ܱ����VyDkj���睕D��Î���Me}��� ���|�