refile-backgrounder 0.0.5 → 0.0.6

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: 0e61edebb6d5f161818b268ab683a5fe062c80c2
4
- data.tar.gz: 79abff44a89ac5a8559889d5bd90b4d21cf9c7ed
3
+ metadata.gz: f6a1ab6f669c81104c12eb82a2f2b55fd001bd31
4
+ data.tar.gz: 684e1ae7c93b8218d8dae14ba4986b26b5cfdb49
5
5
  SHA512:
6
- metadata.gz: c746fcc515bb4e4b56f2683a2838de04382fbf6035564645051bfb58dd92ae05bf919395eb37bd6b81a59d111e5b514d2244d621d1b6fedb0341795984cf0d99
7
- data.tar.gz: bb5d545bb9a4d800a5d1ddfbe748914b144ea94de0cfd051450a1625053b785a1b8ebcab7791d0d64dd5b0a5d7cbf2e307e23d27e5dc3e1ad7bbf8e68c80808b
6
+ metadata.gz: 95d2e039377871dd21a72b50bf72039c830f17b72ad4c9d2dccc290678c0cbee2649cb0fedcd32287cc57dc10a30a9991d7edc3ef5cf8fb07286cdf533aa9fc3
7
+ data.tar.gz: 4d1bd7e87add1d4c58d29bdd50f0784db5dd41c7a359b709d7e5b5dbae50d67612cd2f80ddc155813f7f30653f99c49ca94bbae2f8e4a45603f7dda4ec4d34f3
@@ -36,9 +36,9 @@ module Refile
36
36
  def update_record_attachment(file)
37
37
  record._skip_refile_backgrounder = true
38
38
  record.send "#{attachment_name}_cache_id=", nil if record.respond_to? "#{attachment_name}_cache_id="
39
- record.send "#{attachment_name}_id=", file.id if record.respond_to? "#{attachment_name}_id="
40
- record.send "#{attachment_name}_id_will_change!"
41
- record.send "#{attachment_name}_cache_id_will_change!"
39
+ record.send "#{attachment_name}_id=", file.id if record.respond_to? "#{attachment_name}_id="
40
+ record.send "#{attachment_name}_id_will_change!" if record.respond_to? "#{attachment_name}_id_will_change!"
41
+ record.send "#{attachment_name}_cache_id_will_change!" if record.respond_to? "#{attachment_name}_cache_id_will_change!"
42
42
  record.save
43
43
  end
44
44
 
@@ -1,5 +1,5 @@
1
1
  module Refile
2
2
  module Backgrounder
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refile-backgrounder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails