machinery 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/machinery.rb +2 -1
  2. metadata +5 -5
data/lib/machinery.rb CHANGED
@@ -49,7 +49,8 @@ module Machinery
49
49
  clone = obj.class.new
50
50
  clone.instance_variable_set("@attributes", obj.instance_variable_get(:@attributes).dup)
51
51
  clone.instance_variable_set("@new_record", obj.new_record?)
52
- clone.instance_variable_set("@changed_attributes", nil)
52
+ clone.instance_variable_set("@previously_changed", {})
53
+ clone.instance_variable_set("@changed_attributes", {})
53
54
 
54
55
  self.instance_variable_set(ivar, clone)
55
56
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: machinery
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- version: 0.9.4
9
+ - 5
10
+ version: 0.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lawrence Pit
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-16 00:00:00 +11:00
18
+ date: 2011-03-28 00:00:00 +11:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  requirements: []
63
63
 
64
64
  rubyforge_project:
65
- rubygems_version: 1.5.2
65
+ rubygems_version: 1.6.2
66
66
  signing_key:
67
67
  specification_version: 3
68
68
  summary: Machinery to create object graphs and speed up tests. No fixtures, no funny magic, just easy and fast plain old ruby.