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