summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2009-06-01 02:30:04 -0800
committerRyan Davis <ryand@zenspider.com>2009-06-01 02:30:04 -0800
commit3c0d06fea696a6639cf75e66afe28f37fc37abf4 (patch)
tree17b2467dc52a4b2e7de294a630cc3f7802f9cadd /template
parente61fb39969dad52e1ca5ee67205991fdb76ef2cc (diff)
downloadhoe-3c0d06fea696a6639cf75e66afe28f37fc37abf4.tar.gz
! Added a plugin system and extracted nearly everything into separate plugins.
! Added Clean, Debug, Deps, Flay, Flog, Inline, Package, Publish, Rake, Rcov, Signing, and Test plugins + Filled in all the blanks on rdoc. + Added Hoe::spec replacing old Hoe.new spec form. Now with DSL flavors! + Deprecated Hoe.new spec form. + Refactored nearly all the spec logic down to much smaller/cleaner pieces. + Version number is now auto-searchable by grepping in all the files. + Added pluggable! to declare your package depends on rubygems 1.3.1+. + Added DEFAULT_CONFIG so plugins can add to it. + Updated templates to use new form. No clue how best to update yours. :P [git-p4: depot-paths = "//src/hoe/dev/": change = 4987]
Diffstat (limited to 'template')
-rw-r--r--template/Rakefile.erb7
1 files changed, 3 insertions, 4 deletions
diff --git a/template/Rakefile.erb b/template/Rakefile.erb
index 7a59ce7..43ef28f 100644
--- a/template/Rakefile.erb
+++ b/template/Rakefile.erb
@@ -2,11 +2,10 @@
require 'rubygems'
require 'hoe'
-require './lib/<%= project %>.rb'
-Hoe.new('<%= project %>', <%= klass %>::VERSION) do |p|
- # p.rubyforge_name = '<%= project %>x' # if different than lowercase project name
+Hoe.spec '<%= project %>' do
+ # self.rubyforge_name = '<%= project %>x' # if different than '<%= project %>'
# p.developer('<%= XIF %>', '<%= XIF %>@example.com')
end
-# vim: syntax=Ruby
+# vim: syntax=ruby