Permalink
Browse files

switched to newer version of hoe

  • Loading branch information...
1 parent 8d349b8 commit 76f8ac61bb88a2962784179574e6b3783ed0ed43 @mkristian committed Oct 19, 2009
Showing with 4 additions and 11 deletions.
  1. +3 −10 Rakefile
  2. +1 −1 lib/rack_datamapper/session/abstract/store.rb
View
@@ -9,9 +9,10 @@ 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.'
@@ -20,14 +21,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
-
YARD::Rake::YardocTask.new
# vim: syntax=Ruby
@@ -1,5 +1,5 @@
require 'dm-core'
-
+require 'base64'
module DataMapper
module Session
module Abstract

0 comments on commit 76f8ac6

Please sign in to comment.