Skip to content
Newer
Older
100644 213 lines (182 sloc) 8.93 KB
71435ee @joshuaclayton Bump version to 3.5.0
joshuaclayton authored
1 3.5.0 (June 22, 2012)
2 Allow created_at to be set when using build_stubbed
3 Deprecate FactoryGirl step definitions
4
f97ed2d @joshuaclayton Fix date in NEWS
joshuaclayton authored
5 3.4.2 (June 19, 2012)
13fcdaf @joshuaclayton Bump version to 3.4.2
joshuaclayton authored
6 Fix bug in traits with callbacks called implicitly in factories whose
7 callbacks trigger multiple times
8
1b37231 @joshuaclayton Bump version to 3.4.1
joshuaclayton authored
9 3.4.1 (June 18, 2012)
10 Fix traits so they can be nested and referred to from other traits
11
c7c5cbd @joshuaclayton Bump version to 3.4.0
joshuaclayton authored
12 3.4.0 (June 11, 2012)
13 Sequences support Enumerators
14 Optionally disable duplicate assignment of attributes in initialize_with
15 Make hash of public attributes available in initialize_with
16 Support referring to a factory based on class name
17
d0e56fe @joshuaclayton Bump version to 3.3.0
joshuaclayton authored
18 3.3.0 (May 13, 2012)
19 Allow to_create, skip_create, and initialize_with to be defined globally
20 Allow to_create, skip_create, and initialize_with to be defined within traits
21 Fix deprecation messages for alternate syntaxes (make, generate, etc.)
22 Improve library documentation
23 Deprecate after_build, after_create, before_create, after_stub in favor of new callbacks
24 Introduce new callback syntax: after(:build) {}, after(:custom) {}, or callback(:different) {}
25 This allows for declaring any callback, usable with custom strategies
26 Add attributes_for_list and build_stubbed_list with the StrategySyntaxMethodRegistrar
27 Allow use of syntax methods (build, create, generate, etc) implicitly in callbacks
28 Internal refactoring of a handful of components
29
a30fac4 @joshuaclayton Bump version to 3.2.0
joshuaclayton authored
30 3.2.0 (April 24, 2012)
31 Use AS::Notifications for pub/sub to track running factories
32 Call new within initialize_with implicitly on the build class
33 Skip to_create with skip_create
34 Allow registration of custom strategies
35 Deprecate alternate syntaxes
36 Implicitly call factory_girl's syntax methods from dynamic attributes
37
f1d3018 @joshuaclayton Bump version to 3.1.0
joshuaclayton authored
38 3.1.0 (April 6, 2012)
39 Sequences support aliases, which reference the same block
40 Update documentation
41 Add before_create callback
42 Support use of #attribute_names method to determine available attributes for steps
43 Use ActiveSupport::Deprecation for all deprecations
44
dde2054 @joshuaclayton Bump version to 3.0.0
joshuaclayton authored
45 3.0.0 (March 23, 2012)
46 Deprecate the vintage syntax
47 Remove Rails 2.x support
48 Remove Ruby 1.8 support
49 Remove deprecated features, including default_strategy, factory_name,
50 :method for defining default strategy, ignore on individual attributes, and
51 interacting with Factory the way you would FactoryGirl
52
b7f3789 @joshuaclayton Bump version to 2.6.4
joshuaclayton authored
53 2.6.4 (March 16, 2012)
54 Do not ignore names of transient attributes
55 Ensure attributes set on instance are calculated uniquely
56
6b2605c @joshuaclayton Bump version to 2.6.3
joshuaclayton authored
57 2.6.3 (March 9, 2012)
58 Fix issue with traits not being present the first time a factory is accessed
59 Update available Cucumber step definitions to not require a trialing colon
60 when building a table of attributes to instantiate records with
61
6a8887f @joshuaclayton Update changelog
joshuaclayton authored
62 2.6.2 (March 9, 2012)
63 Allow factories to use all their ancestors' traits
64 Ignore bin dir generated by bundler
65 Namespace ::Factory as top-level to fix vintage syntax issue with
66 Ruby 1.9.2-p3p18
67
68 2.6.1 (March 2, 2012)
69 Use FactoryGirl.reload in specs
70 Clean up running named factories with a particular strategy with
71 FactoryGirl::FactoryRunner
72
2d19c46 @joshuaclayton Bump version to 2.6.0
joshuaclayton authored
73 2.6.0 (February 17, 2012)
74 Improve documentation of has_many associations in the GETTING_STARTED
75 document
76 Deprecate :method in favor of :strategy when overriding an association's
77 build strategy
78
dd6d05c @joshuaclayton Bump version to 2.5.2
joshuaclayton authored
79 2.5.2 (February 10, 2012)
80 Fix step definitions to use associations defined in parent factories
81 Add inline trait support to (build|create)_list
82 Update ActiveSupport dependency to >= 2.3.9, which introduced
83 class_attribute
84
13c58d2 @joshuaclayton Bump version to 2.5.1
joshuaclayton authored
85 2.5.1 (February 3, 2012)
86 Fix attribute evaluation when the attribute isn't defined in the factory but
87 is a private method on Object
88 Update rubygems on Travis before running tests
89 Fix spec name
90 Update GETTING_STARTED with correct usage of build_stubbed
91 Update README with more info on initialize_with
92 Honor :parent on factory over block nesting
93
6282742 @joshuaclayton Bump version to 2.5.0
joshuaclayton authored
94 2.5.0 (January 20, 2012)
95 Revert 'Deprecate build_stubbed and attributes_for'
96 Implement initialize_with to allow overriding object instantiation
97 Ensure FG runs against Rails 3.2.0
98
845578c @joshuaclayton Bump to 2.4.2
joshuaclayton authored
99 2.4.2 (January 18, 2012)
100 Fix inline traits' interaction with defaults on the factory
101
330f91b @joshuaclayton Bump version to 2.4.1
joshuaclayton authored
102 2.4.1 (January 17, 2012)
103 Deprecate build_stubbed and attributes_for
104 Fix inline traits
105
69957ea @joshuaclayton Bump version to 2.4.0
joshuaclayton authored
106 2.4.0 (January 13, 2012)
107 Refactor internals of Factory Girl to use anonymous class on which attributes
108 get defined
109 Explicitly require Ruby 1.8.7 or higher in gemspec
110 Fix documentation
111 Add Gemnasium status to documentation
112 Supplying a Class to a factory that overrides to_s no longer results in
113 getting the wrong Class constructed
114 Be more agnostic about ORMs when using columns in Factory Girl step
115 definitions
116 Test against Active Record 3.2.0.rc2
117 Update GETTING_STARTED to use Ruby syntax highlighting
118
17eacf0 @joshuaclayton Bump version to 2.3.2
joshuaclayton authored
119 2.3.2 (November 26, 2011)
120 Move logic of where instance.save! is set to Definition
121 Fix method name from aliases_for? to alias_for?
122 Refactor internal attribute handling to use an anonymous class instead of
123 faking Ruby's variable resolution. This allows for more sane usage of
124 attributes without having to manage sorting priority because attributes
125 can turn themselves into procs, which are used with define_method on a
126 class so attributes work correctly all the time.
127
e15ae8d @joshuaclayton Bump version to 2.3.1
joshuaclayton authored
128 2.3.1 (November 23, 2011)
129 Remove internally-used associate method from all the FactoryGirl::Proxy subclasses
130 Move around requiring of files
131 Consolidate errors into factory_girl.rb
132 Refactor AttributeList to deal with priority only when iterating over
133 attributes
134 Refactor internals of some of the Proxy subclasses
135 Ensure callbacks on traits are executed in the correct order
136
85d4735 @joshuaclayton Bump version to 2.3.0
joshuaclayton authored
137 2.3.0 (November 18, 2011)
138 Registries are named, resulting in better messages when factories, traits,
139 or sequences cannot be found
140 Fix incorrect tests
141 Internals refactoring introducing FactoryGirl::NullFactory,
142 FactoryGirl::Definition, and FactoryGirl::DeclarationList
143 Use ActiveSupport for Hash#except and its delegation capabilities
144 Fix usage of callbacks when added via implicit traits
145 Use Bundler tasks and clean up dependencies
146 Fix failing spec for big letters in factory name passed as symbol
147 Add ability for traits to be added dynamically when creating an instance via
148 build, create, build_stubbed, or attributes_for
149
41f73b5 @joshuaclayton Bump version to 2.2.0
joshuaclayton authored
150 2.2.0 (October 14, 2011)
151 Clean up RSpec suite to not use 'should'
152 Use create_list in step definitions
153 Syntax methods that deal with ORM interaction (attributes_for, build, build_stubbed,
154 and create) now accept a block that yields the result. This results in a
155 more convenient way to interact with the result than using Object.tap.
156 Standardize deprecation warnings
157 Update transient attribute syntax to use blocks instead of calling ignore on
158 each attribute declaration
159 Parents can be defined after children because factories are evaluated when
160 they're used; this means breaking up factories across multiple files will
161 behave as expected
162 Large internal refactoring, including changing access modifiers for a
163 handful of methods for a more clearly defined API
164
9c95a22 @joshuaclayton Changelog 2.1.1 to 2.1.2
joshuaclayton authored
165 2.1.2 (September 23, 2011)
166 Bugfix: Vintage syntax fixed after bug introduced in 2.1.1
167 Introduce dependency on activesupport to remove code from Factory class
168
169 2.1.1 (September 23, 2011) (yanked)
88cf88e @janxious 2.1.0 -> 2.1.1 changelog
janxious authored
170 Bugfix: Parent object callbacks are run before child object callbacks
171 Declarations: allow overriding/modification of individual traits in child factories
172 Callbacks refactored to not be attributes
173 Updating documentation for formatting and clarity (incl. new specificity for cucumber)
174
306e51b @janxious Update changelog with v2.1.0 changes (from 2.0.5)
janxious authored
175 2.1.0 (September 02, 2011)
176 Bugfix: created_at now defined for stubbed models
177 Gemspec updated for use with Rails 3.1
178 Factories can now be modified post-definition (useful for overriding defaults from gems/plugins)
179 All factories can now be reloaded with Factory.reload
180 Add :method => build to factory associations to prevent saving of associated objects
181 Factories defined in {Rails.root}/factories are now loaded by default
182 Various documentation updates
183
408d9b0 @jferris Updated the Changelog
jferris authored
184 1.1.4 (November 28, 2008)
185 Factory.build now uses Factory.create for associations of the built object
186 Factory definitions are now detected in subdirectories, such as
187 factories/person_factory.rb (thanks to Josh Nichols)
188 Factory definitions are now loaded after the environment in a Rails project
189 (fixes some issues with dependencies being loaded too early) (thanks to
190 Josh Nichols)
191 Factory names ending in 's' no longer cause problems (thanks to Alex Sharp
192 and Josh Owens)
8dc5a17 Remove whitespace [Gun.io WhitespaceBot]
Gun.io Whitespace Robot authored
193
c88fc36 @jferris Updated the Gem version to 1.1.3
jferris authored
194 1.1.3 (September 12, 2008)
195 Automatically pull in definitions from factories.rb, test/factories.rb, or
196 spec/factories.rb
3732413 @jferris Updated to version 1.1.2
jferris authored
197 1.1.2 (July 30, 2008)
198 Improved error handling for invalid and undefined factories/attributes
199 Improved handling of strings vs symbols vs classes
200 Added a prettier syntax for handling associations
201 Updated documentation and fixed compatibility with Rails 2.1
202
df6d2a0 @jferris Added a Changelog
jferris authored
203 1.1.1 (June 23, 2008)
204 The attribute "name" no longer requires using #add_attribute
205
1ad3a63 Make date consistent with later convention (i.e. September 02, 2011)
craiglittle authored
206 1.1.0 (June 03, 2008)
df6d2a0 @jferris Added a Changelog
jferris authored
207 Added support for dependent attributes
208 Fixed the attributes_for build strategy to not build associations
209 Added support for sequences
210
64b59ad @ayrton fixed typo
ayrton authored
211 1.0.0 (May 31, 2008)
df6d2a0 @jferris Added a Changelog
jferris authored
212 First version
Something went wrong with that request. Please try again.