From 6692dffe0f21643f8551e8ae4004bd4457aec568 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 13 Oct 2009 21:12:04 -0700 Subject: [PATCH] Added jeweler tasks --- Rakefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Rakefile b/Rakefile index f24e346..b7cbd89 100755 --- a/Rakefile +++ b/Rakefile @@ -7,3 +7,29 @@ RedminePluginSupport::Base.setup do |plugin| plugin.project_name = 'budget_plugin' plugin.default_task = [:spec] end + +begin + require 'jeweler' + Jeweler::Tasks.new do |s| + s.name = "budget_plugin" + s.summary = "A plugin for Redmine to manage the set of deliverables for each project, automatically calculating key performance indicators." + s.email = "edavis@littlestreamsoftware.com" + s.homepage = "https://projects.littlestreamsoftware.com/projects/redmine-budget" + s.description = "A plugin for Redmine to manage the set of deliverables for each project, automatically calculating key performance indicators." + s.authors = ["Eric Davis"] + s.rubyforge_project = "budget_plugin" # TODO + s.files = FileList[ + "[A-Z]*", + "init.rb", + "rails/init.rb", + "{bin,generators,lib,test,app,assets,config,lang}/**/*", + 'lib/jeweler/templates/.gitignore' + ] + end + Jeweler::GemcutterTasks.new + Jeweler::RubyforgeTasks.new do |rubyforge| + rubyforge.doc_task = "rdoc" + end +rescue LoadError + puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" +end