Permalink
Browse files

Jeweler task for Rakefile

  • Loading branch information...
1 parent a549f26 commit bd5792eff1c87c6cb1ebf1e57c26cb05fb034eaa @justinfrench committed Nov 22, 2009
Showing with 15 additions and 2 deletions.
  1. +15 −2 Rakefile
View
@@ -10,11 +10,24 @@ Rake::TestTask.new(:test) do |t|
t.pattern = 'test/*_test.rb'
end
+require 'jeweler'
+Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "publicious"
+ gemspec.summary = "A Rails gem plugin for plugins to serve images, javascripts and stylesheets from thier own public directory"
+ gemspec.description = "A Rails gem plugin for plugins to serve images, javascripts and stylesheets from thier own public directory"
+ gemspec.email = "justin@indent.com.au"
+ gemspec.homepage = "http://github.com/justinfrench/publicious"
+ gemspec.authors = ["Justin French", "Daniel Neighman"]
+end
+
desc 'Generate documentation for the Publicious plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Passive'
rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
+ rdoc.rdoc_files.include('README.textile')
+ rdoc.rdoc_files.include('MIT-LICENSE')
+ rdoc.rdoc_files.include('app/**/*.rb')
+ rdoc.rdoc_files.include('test/*.rb')
+ rdoc.rdoc_files.include('rails/init.rb')
end

0 comments on commit bd5792e

Please sign in to comment.