send_s3_file 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/send_s3_file.rb +2 -1
- data/lib/send_s3_file/version.rb +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: 751e04963c0e229cdeb9d63d5392b6c84a57e1e9
|
4
|
+
data.tar.gz: df350f1959759109de57f7983eb050807e31a276
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8d6c7ce15da500b910efffe42d0dc5c1bfce9a0938ea4ecef00c2fc1a66b86a3a0ec66ae3d70f8a1dc02e8708d852ea0150c808f13d158c885fee4f0521b37d
|
7
|
+
data.tar.gz: 02f86e1917bd908696cbe3802664849ac3a5c33d18172403475f04de251328ef6117b1f021f42006f3522a2022c54a843ac0b14e647bcff5aff81e2935012d4a
|
data/lib/send_s3_file.rb
CHANGED
@@ -10,7 +10,8 @@ module SendS3File
|
|
10
10
|
headers.merge!(
|
11
11
|
'Content-Type' => build_content_type(options),
|
12
12
|
'Content-Disposition' => build_disposition(options),
|
13
|
-
'Content-Transfer-Encoding' => 'binary'
|
13
|
+
'Content-Transfer-Encoding' => 'binary',
|
14
|
+
'Content-Length' => s3_object.content_length
|
14
15
|
)
|
15
16
|
|
16
17
|
render :status => options[:status], :text => Proc.new {|response, output|
|
data/lib/send_s3_file/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: send_s3_file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jatin Naik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|