Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

switched to newer version of hoe

  • Loading branch information...
commit 4b7ed2123392527ead836121f5efc12692ab0225 1 parent a22c40e
Christian Meier authored October 19, 2009

Showing 1 changed file with 3 additions and 10 deletions. Show diff stats Hide diff stats

  1. 13  Rakefile
13  Rakefile
@@ -9,11 +9,12 @@ require 'pathname'
9 9
 
10 10
 require './lib/datamapper4rails/version.rb'
11 11
 
12  
-Hoe.new('datamapper4rails', Datamapper4rails::VERSION) do |p|
  12
+Hoe.spec('datamapper4rails') do |p|
13 13
   p.rubyforge_name = 'datamapper4rail'
14 14
   p.developer('mkristian', 'm.kristian@web.de')
15  
-  p.extra_deps = [['rack-datamapper', '~>0.2'], 'rails_datamapper']
  15
+  p.extra_deps = [['rack-datamapper', '~>0.2'], ['rails_datamapper', '>= 0']]
16 16
   p.remote_rdoc_dir = '' # Release to root
  17
+  p.rspec_options << '--options' << 'spec/spec.opts'
17 18
 end
18 19
 
19 20
 desc 'Install the package as a gem.'
@@ -22,14 +23,6 @@ task :install => [:clean, :package] do
22 23
   sh "gem install --local #{gem} --no-ri --no-rdoc"
23 24
 end
24 25
 
25  
-desc 'Run specifications'
26  
-Spec::Rake::SpecTask.new(:spec) do |t|
27  
-  if File.exists?('spec/spec.opts')
28  
-    t.spec_opts << '--options' << 'spec/spec.opts'
29  
-  end
30  
-  t.spec_files = Pathname.glob('./spec/**/*_spec.rb')
31  
-end
32  
-
33 26
 desc 'generate rails using all generators and run the specs'
34 27
 task :integration_tests => [:spec, :install] do
35 28
   require 'datamapper4rails/integration_test'

0 notes on commit 4b7ed21

Please sign in to comment.
Something went wrong with that request. Please try again.