lib/also_migrate.rb in also_migrate-0.1.1 vs lib/also_migrate.rb in also_migrate-0.2.0
- old
+ new
@@ -1,10 +1,20 @@
+require File.dirname(__FILE__) + '/also_migrate/gems'
+
+AlsoMigrate::Gems.require(:lib)
+
$:.unshift File.dirname(__FILE__) + '/also_migrate'
-require 'version'
require 'base'
require 'migration'
require 'migrator'
+require 'version'
+
+module AlsoMigrate
+ class <<self
+ attr_accessor :classes
+ end
+end
ActiveRecord::Base.send(:include, AlsoMigrate::Base)
ActiveRecord::Migrator.send(:include, AlsoMigrate::Migrator)
ActiveRecord::Migration.send(:include, AlsoMigrate::Migration)
\ No newline at end of file