From 389ec8f2957abe0808527fd9cb95105ec216909a Mon Sep 17 00:00:00 2001 From: Jon Yurek Date: Thu, 20 May 2010 13:47:48 -0400 Subject: [PATCH] Version 1.2.5. Moved VERSION constant up a directory. --- lib/factory_girl.rb | 4 ++++ lib/factory_girl/factory.rb | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/factory_girl.rb b/lib/factory_girl.rb index c9921c2..463fd06 100644 --- a/lib/factory_girl.rb +++ b/lib/factory_girl.rb @@ -20,3 +20,7 @@ require 'factory_girl/railtie' def Factory (name, attrs = {}) Factory.default_strategy(name, attrs) end + +class Factory + VERSION = "1.2.5" +end diff --git a/lib/factory_girl/factory.rb b/lib/factory_girl/factory.rb index 2eac288..11cddc2 100644 --- a/lib/factory_girl/factory.rb +++ b/lib/factory_girl/factory.rb @@ -1,6 +1,4 @@ class Factory - VERSION = "1.2.5.beta1" - # Raised when a factory is defined that attempts to instantiate itself. class AssociationDefinitionError < RuntimeError end