Rakefile in parameters-0.1.8 vs Rakefile in parameters-0.1.9
- old
+ new
@@ -1,24 +1,23 @@
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require 'hoe/signing'
-require './tasks/spec.rb'
-require './tasks/yard.rb'
+Hoe.plugin :yard
+
Hoe.spec('parameters') do
- self.rubyforge_name = 'parameters'
self.developer('Postmodern','postmodern.mod3@gmail.com')
- self.remote_rdoc_dir = '/'
- self.extra_deps = [
- ['yard', '>=0.2.3.5']
- ]
- self.extra_dev_deps = [
- ['rspec', '>=1.2.8']
- ]
+ self.rspec_options += ['--colour', '--format', 'specdoc']
- self.spec_extras = {:has_rdoc => 'yard'}
+ self.yard_options += ['--protected']
+ self.remote_yard_dir = '/'
+
+ self.extra_dev_deps += [
+ ['rspec', '>=1.3.0'],
+ ['yard', '>=0.5.3']
+ ]
end
# vim: syntax=Ruby