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: c43934e88ecb70aea1163a04ba0f67cd71fc5e35
4
- data.tar.gz: 05b24076214d28caf49f4e3eb2c4ab959bd2c852
3
+ metadata.gz: abc9a18253e5769acf85ec7fe57cd8778d331f09
4
+ data.tar.gz: 8317e2803900b1c724064ec3c759558946927aca
5
5
  SHA512:
6
- metadata.gz: 65dae9b6c6d8b27b755b5f3df918054fe7b63acf42a2cd9421358659b47b97358d417e4b1c62e1fb9834384f3468a13cb72f13af07063cf4c40afd0937c628ee
7
- data.tar.gz: 34f00a5cd35ec4ce23da68ea29f36d8f7037f51ed65f04cbcfb81fd4e9d47e90d20bbc79734a2f81e445b2c15a2adbd6182230d960a5520a46b0d33d63c57871
6
+ metadata.gz: 469bc208573057e5934e8f42e21f0d95ff955b3b377b709b6aa504a4931ac80b29f42f83bd26986fa601b777b3ed9fa4b4af14b59981ca59cc14a7dc314ba4d0
7
+ data.tar.gz: b4fcd8692e900393d94a9ee779a605d0c733785b425312b14c5c825464e21ed07aafc3c458b398dc42bafac88562716adbb2ddf31cfb4d252e915b00a28d039e
@@ -1,4 +1,9 @@
1
1
 
2
+ ## 0.4.1
3
+
4
+ ### enhancements
5
+ * [#179] Set column_processing to false instead of nil [mockdeep]
6
+
2
7
  ## 0.4.0
3
8
 
4
9
  ### enhancements
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module Backgrounder
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
@@ -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", nil
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=", nil if record.respond_to?(:"#{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, nil).once
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.0
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-05-11 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave