Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

switched to newer version of hoe

  • Loading branch information...
commit 4b7ed2123392527ead836121f5efc12692ab0225 1 parent a22c40e
Christian Meier authored
Showing with 3 additions and 10 deletions.
  1. +3 −10 Rakefile
13 Rakefile
View
@@ -9,11 +9,12 @@ require 'pathname'
require './lib/datamapper4rails/version.rb'
-Hoe.new('datamapper4rails', Datamapper4rails::VERSION) do |p|
+Hoe.spec('datamapper4rails') do |p|
p.rubyforge_name = 'datamapper4rail'
p.developer('mkristian', 'm.kristian@web.de')
- p.extra_deps = [['rack-datamapper', '~>0.2'], 'rails_datamapper']
+ p.extra_deps = [['rack-datamapper', '~>0.2'], ['rails_datamapper', '>= 0']]
p.remote_rdoc_dir = '' # Release to root
+ p.rspec_options << '--options' << 'spec/spec.opts'
end
desc 'Install the package as a gem.'
@@ -22,14 +23,6 @@ task :install => [:clean, :package] do
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
-
desc 'generate rails using all generators and run the specs'
task :integration_tests => [:spec, :install] do
require 'datamapper4rails/integration_test'
Please sign in to comment.
Something went wrong with that request. Please try again.