refile-backgrounder 0.0.4 → 0.0.5

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: 1b5b6850bcfafcc12785dc2883e06fdbe89440ad
4
- data.tar.gz: 5773c31e25c1b6ccbe77ec13d0198da07d4307b0
3
+ metadata.gz: 0e61edebb6d5f161818b268ab683a5fe062c80c2
4
+ data.tar.gz: 79abff44a89ac5a8559889d5bd90b4d21cf9c7ed
5
5
  SHA512:
6
- metadata.gz: 330c17fa8928d893253b825ab36af1e4a39580403908f4026fbf4fd21efe72fd5302a1d97349f5a91dc49452985b452c7b83b9dc7054228ff1e1c927246928b1
7
- data.tar.gz: 4e63df27c027c6ce608ba0e12b83feb59a7686fce0d86768600758d7d3eb44316e215e0a0b219a4399bdb9a01f4aa8a5707ff0cbf913c83898f225ddae766ba5
6
+ metadata.gz: c746fcc515bb4e4b56f2683a2838de04382fbf6035564645051bfb58dd92ae05bf919395eb37bd6b81a59d111e5b514d2244d621d1b6fedb0341795984cf0d99
7
+ data.tar.gz: bb5d545bb9a4d800a5d1ddfbe748914b144ea94de0cfd051450a1625053b785a1b8ebcab7791d0d64dd5b0a5d7cbf2e307e23d27e5dc3e1ad7bbf8e68c80808b
@@ -37,6 +37,8 @@ module Refile
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
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!"
40
42
  record.save
41
43
  end
42
44
 
@@ -1,5 +1,5 @@
1
1
  module Refile
2
2
  module Backgrounder
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refile-backgrounder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman