background_lite 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ module ActiveRecord
17
17
  returning dup do |x|
18
18
  x.cleanup_for_background
19
19
  x.send(:instance_variable_set, "@new_record", new_record?)
20
+ x.send(:instance_variable_set, "@changed_attributes", instance_variable_get("@changed_attributes"))
20
21
  x.id = self.id
21
22
 
22
23
  # taken from ActiveRecord::AttributeMethods::ATTRIBUTE_TYPES_CACHED_BY_DEFAULT
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: background_lite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Kadauke