carrierwave_backgrounder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/lib/backgrounder/version.rb
CHANGED
@@ -12,8 +12,8 @@ module CarrierWave
|
|
12
12
|
cache_path = [cache_dir, tmp].join("/")
|
13
13
|
|
14
14
|
record.send :"process_#{column}_upload=", true
|
15
|
-
record.send :"#{column}=", File.open(cache_path)
|
16
15
|
record.send :"#{column}_tmp=", nil
|
16
|
+
File.open(cache_path) { |f| record.send :"#{column}=", f }
|
17
17
|
if record.save!
|
18
18
|
FileUtils.rm(cache_path)
|
19
19
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: carrierwave_backgrounder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Larry Sprock
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-08-29 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|