Rakefile in rack-datamapper-0.2.3 vs Rakefile in rack-datamapper-0.2.4

- old
+ new

@@ -7,26 +7,19 @@ require 'spec' require 'spec/rake/spectask' require 'pathname' require 'yard' -Hoe.new('rack-datamapper', Rack::DataMapper::VERSION) do |p| +Hoe.spec('rack-datamapper') do |p| p.developer('mkristian', 'm.kristian@web.de') - p.extra_deps = ['dm-core'] + p.extra_deps = [['dm-core', '>0.9.10']] + p.rspec_options << '--options' << 'spec/spec.opts' end desc 'Install the package as a gem.' task :install => [:clean, :package] do gem = Dir['pkg/*.gem'].first sh "gem install --local #{gem} --no-ri --no-rdoc" -end - -desc 'Run specifications' -Spec::Rake::SpecTask.new(:spec) do |t| - if File.exists?('spec/spec.opts') - t.spec_opts << '--options' << 'spec/spec.opts' - end - t.spec_files = Pathname.glob('./spec/**/*_spec.rb') end YARD::Rake::YardocTask.new # vim: syntax=Ruby