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

Commit

Permalink
[dm-more] Remove rubygems usage from libraries
Browse files Browse the repository at this point in the history
* No longer require dm-core inside the plugins.  Expected usage is to
  require dm-core prior to requiring the plugin.
* Updated pathname creation to using Pathname#/ where possible
  • Loading branch information
dkubb committed Jun 12, 2009
1 parent a900bb8 commit 771372c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
gem 'dm-core', '0.10.0'
require 'dm-core'

gem 'rspec', '>1.1.12'
require 'spec'
ROOT = Pathname(__FILE__).dirname.parent

ROOT = Pathname(__FILE__).dirname.expand_path.parent

require ROOT + 'lib/dm-migrations'
require ROOT + 'lib/migration'
require ROOT + 'lib/migration_runner'
require ROOT + 'lib/sql'
require ROOT / 'lib' / 'dm-migrations'
require ROOT / 'lib' / 'migration'
require ROOT / 'lib' / 'migration_runner'
require ROOT / 'lib' / 'sql'

ADAPTERS = []
def load_driver(name, default_uri)
Expand Down

0 comments on commit 771372c

Please sign in to comment.