Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
move the engine from to travis/engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Mar 20, 2012
1 parent 3f23850 commit 53b93af
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 11 additions & 0 deletions lib/travis/engine.rb
@@ -0,0 +1,11 @@
require 'travis'

module Travis
class Engine < Rails::Engine
initializer 'add migrations path' do |app|
# need to insert to migrations_paths on Migrator because Rails' stupid
# rake tasks copy them over before loading the engines (Rails <= 3.2.2)
ActiveRecord::Migrator.migrations_paths << root.join('db/migrate').to_s
end
end
end
4 changes: 0 additions & 4 deletions lib/travis_core/engine.rb

This file was deleted.

0 comments on commit 53b93af

Please sign in to comment.