Skip to content

HTTPS clone URL

Subversion checkout URL

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