From 41f73b5e39efa64839890b12ea771150ccf6597f Mon Sep 17 00:00:00 2001 From: Joshua Clayton Date: Fri, 14 Oct 2011 10:31:02 -0400 Subject: [PATCH] Bump version to 2.2.0 --- Changelog | 15 +++++++++++++++ Gemfile.lock | 2 +- gemfiles/2.1.gemfile.lock | 2 +- gemfiles/2.3.gemfile.lock | 2 +- gemfiles/3.0.gemfile.lock | 2 +- gemfiles/3.1.gemfile.lock | 2 +- lib/factory_girl/version.rb | 2 +- 7 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Changelog b/Changelog index 77e4000..218d8bf 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,18 @@ +2.2.0 (October 14, 2011) + Clean up RSpec suite to not use 'should' + Use create_list in step definitions + Syntax methods that deal with ORM interaction (attributes_for, build, build_stubbed, + and create) now accept a block that yields the result. This results in a + more convenient way to interact with the result than using Object.tap. + Standardize deprecation warnings + Update transient attribute syntax to use blocks instead of calling ignore on + each attribute declaration + Parents can be defined after children because factories are evaluated when + they're used; this means breaking up factories across multiple files will + behave as expected + Large internal refactoring, including changing access modifiers for a + handful of methods for a more clearly defined API + 2.1.2 (September 23, 2011) Bugfix: Vintage syntax fixed after bug introduced in 2.1.1 Introduce dependency on activesupport to remove code from Factory class diff --git a/Gemfile.lock b/Gemfile.lock index 62d87ef..a304b66 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - factory_girl (2.1.2) + factory_girl (2.2.0) activesupport GEM diff --git a/gemfiles/2.1.gemfile.lock b/gemfiles/2.1.gemfile.lock index 1bcc7e9..653adc4 100644 --- a/gemfiles/2.1.gemfile.lock +++ b/gemfiles/2.1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: /Users/joshuaclayton/dev/gems/factory_girl specs: - factory_girl (2.1.2) + factory_girl (2.2.0) activesupport GEM diff --git a/gemfiles/2.3.gemfile.lock b/gemfiles/2.3.gemfile.lock index 9702a41..ba5df62 100644 --- a/gemfiles/2.3.gemfile.lock +++ b/gemfiles/2.3.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: /Users/joshuaclayton/dev/gems/factory_girl specs: - factory_girl (2.1.2) + factory_girl (2.2.0) activesupport GEM diff --git a/gemfiles/3.0.gemfile.lock b/gemfiles/3.0.gemfile.lock index 7cb524e..7660339 100644 --- a/gemfiles/3.0.gemfile.lock +++ b/gemfiles/3.0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: /Users/joshuaclayton/dev/gems/factory_girl specs: - factory_girl (2.1.2) + factory_girl (2.2.0) activesupport GEM diff --git a/gemfiles/3.1.gemfile.lock b/gemfiles/3.1.gemfile.lock index cc22656..fb9aeb0 100644 --- a/gemfiles/3.1.gemfile.lock +++ b/gemfiles/3.1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: /Users/joshuaclayton/dev/gems/factory_girl specs: - factory_girl (2.1.2) + factory_girl (2.2.0) activesupport GEM diff --git a/lib/factory_girl/version.rb b/lib/factory_girl/version.rb index a58ecd8..5e90670 100644 --- a/lib/factory_girl/version.rb +++ b/lib/factory_girl/version.rb @@ -1,4 +1,4 @@ module FactoryGirl - VERSION = "2.1.2" + VERSION = "2.2.0" end