dragonfly-openssl 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,9 +10,9 @@ module Dragonfly
|
|
10
10
|
|
11
11
|
options[:meta] ||= {}
|
12
12
|
|
13
|
-
|
13
|
+
original_filename = temp_object.original_filename
|
14
14
|
|
15
|
-
tempfile = Tempfile.new(
|
15
|
+
tempfile = Tempfile.new(original_filename)
|
16
16
|
tempfile.binmode
|
17
17
|
tempfile.close
|
18
18
|
|
@@ -22,7 +22,7 @@ module Dragonfly
|
|
22
22
|
|
23
23
|
content = ::Dragonfly::TempObject.new(File.new(tempfile.path))
|
24
24
|
meta = {
|
25
|
-
name:
|
25
|
+
name: original_filename,
|
26
26
|
encrypted: (format != :decrypt)
|
27
27
|
}.merge(options[:meta])
|
28
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dragonfly-openssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dragonfly
|