Skip to content

Commit

Permalink
Moved Rails 3 initialization into a separate gem (factory_girl_rails)
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Jun 9, 2010
1 parent 434f67b commit fc8ce3a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
3 changes: 1 addition & 2 deletions lib/factory_girl.rb
Expand Up @@ -11,7 +11,6 @@
require 'factory_girl/attribute/callback'
require 'factory_girl/sequence'
require 'factory_girl/aliases'
require 'factory_girl/railtie'

# Shortcut for Factory.default_strategy.
#
Expand All @@ -22,5 +21,5 @@ def Factory (name, attrs = {})
end

class Factory
VERSION = "1.2.5"
VERSION = "1.3.0"
end
Empty file removed lib/factory_girl/rails.rb
Empty file.
22 changes: 0 additions & 22 deletions lib/factory_girl/railtie.rb

This file was deleted.

4 changes: 2 additions & 2 deletions rails/init.rb
@@ -1,2 +1,2 @@
require 'factory_girl/railtie'
Factory::Railtie.configure
require 'factory_girl'
Rails.configuration.after_initialize { Factory.find_definitions }

0 comments on commit fc8ce3a

Please sign in to comment.