dragonfly-openssl 1.0.1 → 1.0.2

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.
@@ -10,9 +10,9 @@ module Dragonfly
10
10
 
11
11
  options[:meta] ||= {}
12
12
 
13
- original_basename = File.basename(temp_object.path)
13
+ original_filename = temp_object.original_filename
14
14
 
15
- tempfile = Tempfile.new(original_basename)
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: original_basename,
25
+ name: original_filename,
26
26
  encrypted: (format != :decrypt)
27
27
  }.merge(options[:meta])
28
28
 
@@ -1,5 +1,5 @@
1
1
  module Dragonfly
2
2
  module OpenSSL
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
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.1
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-09 00:00:00.000000000 Z
12
+ date: 2013-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dragonfly