Permalink
Newer
Older
100644 149 lines (92 sloc) 3.86 KB
Jun 5, 2012
1
### 2.0.0 ###
2
3
!!! THIS MAY BREAK YOUR TESTS !!!
4
5
* Remove lazy generation of associations
6
* Set attributes via mass assignment
7
* Deprecate "!" option to attribute values
8
* Pass attributes hash into blocks
9
* Cascade `Fabricate.build` to associations (#68)
10
* lots of internal API refactoring
11
* Support for transient attributes (#99)
12
* Maintain integrity of association proxies (#28)
13
* Change fabricator_dir config to fabricator_path
14
* Record both singular and collection ovjects in step defs (#97)
15
* Raise meaningful errors when cucumber steps can't find fabricators (#101)
16
* Rails generator creates fabricator file correctly for namespaced classes (#47)
17
Jun 1, 2012
18
### 1.4.1 ###
19
20
* Check for nil objects when generating ids for hashes
21
* Add support for make suffixes
22
May 5, 2012
23
### 1.4.0 ###
24
25
* Add DataMapper support (thanks to Matt Beetle!)
26
* Better class resolution
27
* Handle mongoid dynamic fields
28
* Use id fields in attribute hashes
29
Feb 29, 2012
30
### 1.3.2 ###
31
32
* Fixed module declaration for turnip steps generator
33
* Raise an error when fabricating while initializing
34
Feb 12, 2012
35
### 1.3.0 ###
36
37
* Drop support for ruby 1.8
38
* Add Fabrication Transforms
39
* Optional machinist (.make) syntax support
40
* Add generated turnip steps
41
* Fabricator aliases
42
Sep 26, 2011
43
### 1.2.0 ###
44
45
* Remove use of ivars in fabrication cucumber steps.
46
IMPORTANT: Replace "@whatver" in your custom steps with "fabrications[:whatever]"
47
* Sequences will now remember and reuse the last block passed in.
48
Aug 26, 2011
49
### 1.1.0 ###
50
51
* Sequences no longer require a name
52
* Add support for mongoid dynamic fields
53
Jul 2, 2011
54
### 1.0.1 ###
55
56
* Bugfix: Sequel models do not save correctly
57
* Add database verification cucumber step
58
* Add :fabricator option for associations
59
Paul Elliott
Jun 15, 2011
60
### 1.0.0 ###
61
62
* New shorthand syntax for sequences
63
* Configuration for fabrication directory location
64
* Fabricator file loading enhancements
65
* (bugfix) only call after_create when save is performed
66
* Reworking of fabrication steps (run generate to get the updates)
67
Paul Elliott
Jan 17, 2011
68
### 0.9.5 (01/17/2010) ###
69
70
* Refactor cucumber step support code
71
* Add default object construction cucumber step (hakanensari)
72
73
NOTE: Be sure to run `rails generate fabrication:cucumber_steps` after upgrading!
74
Paul Elliott
Dec 3, 2010
75
### 0.9.4 (12/02/2010) ###
76
77
* Bundle cucumber steps with gem (installable via a generator)
78
Paul Elliott
Dec 1, 2010
79
### 0.9.3 - The Les/Tim release (12/01/2010) ###
80
81
* Fail with an error when Fabricating an object fails validation
82
* Allow mixed use of strings and symbols for attribute names
83
Paul Elliott
Nov 24, 2010
84
### 0.9.2 (11/24/2010) ###
85
86
* Bugfix: Overrides should respect defined attribute generation order
87
88
Paul Elliott
Nov 22, 2010
89
### 0.9.1 (11/21/2010) ###
90
91
* Bugfix: respect fabricator provided attributes when generating with attributes_for
92
* Basic support for Sequel
93
* Refactoring of generator logic
94
* Singularize generated fabricator names
Paul Elliott
Nov 22, 2010
95
96
Paul Elliott
Oct 8, 2010
97
### 0.9.0 (10/07/2010) ###
98
99
* Bugfix: callbacks are copied to the local override (leshill and sandro)
100
* Support for classes with required arguments in their constructor (leshill
101
and sandro)
102
103
Paul Elliott
Oct 1, 2010
104
### 0.8.3 (09/30/2010) ###
Paul Elliott
Sep 29, 2010
105
106
* Bugfix: Non-association virtual attributes were being generated lazily
Paul Elliott
Sep 28, 2010
107
* Change generated fabricators to have _fabricator in the name
108
* Change default folder for generated fabricators to spec/fabricators
109
* Minor tweaks
110
111
Paul Elliott
Oct 1, 2010
112
### 0.8.2 (09/28/2010) ###
113
114
- yanked...
115
116
### 0.8.1 (09/14/2010) ###
117
118
* Bugfix: UnknownFabricatorError not loaded if it is the first error encountered
119
120
Paul Elliott
Sep 14, 2010
121
### 0.8.0 (09/13/2010) ###
122
123
* Stacking callbacks (all defined after_build and after_create callbacks will execute)
Paul Elliott
Sep 14, 2010
124
* Rails 3 generators
127
### 0.7.1 (09/12/2010) ###
128
129
* Looks for Rails root when searching for Fabricators
130
* Remove default fabricators. All definitions must be explicit!
Paul Elliott
Sep 8, 2010
133
### 0.7.0 (09/08/2010) ###
134
135
* Abbreviated association syntax
136
* Bugfix: generating with count of 1
137
* Reimplement attributes_for for full schematic support
138
139
140
### 0.6.4 (08/23/2010) ###
Paul Elliott
Aug 23, 2010
141
142
* Accompany errors with helpful messages
143
144
Paul Elliott
Sep 8, 2010
145
### 0.6.3 (08/18/2010) ###
Paul Elliott and Lar Van Der Jagt
Aug 18, 2010
146
147
* Add support for reloading fabricator definitions
148
* Fix rails 2 console reload! issue