Rakefile in dm-migrations-0.9.5 vs Rakefile in dm-migrations-0.9.6

- old
+ new

@@ -8,11 +8,11 @@ AUTHOR = "Paul Sadauskas" EMAIL = "psadauskas@gmail.com" GEM_NAME = "dm-migrations" GEM_VERSION = DataMapper::Migration::VERSION -GEM_DEPENDENCIES = [["dm-core", GEM_VERSION]] +GEM_DEPENDENCIES = [["dm-core", '>0.9.5']] GEM_CLEAN = ["log", "pkg"] GEM_EXTRAS = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO ] } PROJECT_NAME = "datamapper" PROJECT_URL = "http://github.com/sam/dm-more/tree/master/dm-migrations" @@ -43,10 +43,10 @@ end desc 'Run specifications' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts') - t.spec_files = Pathname.glob(Pathname.new(__FILE__).dirname + 'spec/**/*_spec.rb') + t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s) begin t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true t.rcov_opts << '--exclude' << 'spec' t.rcov_opts << '--text-summary'