carrierwave_backgrounder 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abc9a18253e5769acf85ec7fe57cd8778d331f09
|
4
|
+
data.tar.gz: 8317e2803900b1c724064ec3c759558946927aca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 469bc208573057e5934e8f42e21f0d95ff955b3b377b709b6aa504a4931ac80b29f42f83bd26986fa601b777b3ed9fa4b4af14b59981ca59cc14a7dc314ba4d0
|
7
|
+
data.tar.gz: b4fcd8692e900393d94a9ee779a605d0c733785b425312b14c5c825464e21ed07aafc3c458b398dc42bafac88562716adbb2ddf31cfb4d252e915b00a28d039e
|
data/CHANGELOG.md
CHANGED
data/lib/backgrounder/version.rb
CHANGED
@@ -10,7 +10,7 @@ module CarrierWave
|
|
10
10
|
if record
|
11
11
|
record.send(:"process_#{column}_upload=", true)
|
12
12
|
if record.send(:"#{column}").recreate_versions! && record.respond_to?(:"#{column}_processing")
|
13
|
-
record.update_attribute :"#{column}_processing",
|
13
|
+
record.update_attribute :"#{column}_processing", false
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -12,7 +12,7 @@ module CarrierWave
|
|
12
12
|
store_directories(record)
|
13
13
|
record.send :"process_#{column}_upload=", true
|
14
14
|
record.send :"#{column}_tmp=", nil
|
15
|
-
record.send :"#{column}_processing=",
|
15
|
+
record.send :"#{column}_processing=", false if record.respond_to?(:"#{column}_processing")
|
16
16
|
File.open(cache_path) { |f| record.send :"#{column}=", f }
|
17
17
|
if record.save!
|
18
18
|
FileUtils.rm_r(tmp_directory, :force => true)
|
@@ -29,7 +29,7 @@ describe CarrierWave::Workers::ProcessAsset do
|
|
29
29
|
|
30
30
|
it 'processes versions with image_processing column' do
|
31
31
|
user.expects(:respond_to?).with(:image_processing).once.returns(true)
|
32
|
-
user.expects(:update_attribute).with(:image_processing,
|
32
|
+
user.expects(:update_attribute).with(:image_processing, false).once
|
33
33
|
worker.perform
|
34
34
|
end
|
35
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave_backgrounder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Larry Sprock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|