diff --git a/Rakefile b/Rakefile index d3edbf4..561ad77 100755 --- a/Rakefile +++ b/Rakefile @@ -7,3 +7,29 @@ RedminePluginSupport::Base.setup do |plugin| plugin.project_name = 'redmine_rate' plugin.default_task = [:spec, :features] end + +begin + require 'jeweler' + Jeweler::Tasks.new do |s| + s.name = "redmine_rate" + s.summary = "A Rate plugin for Redmine to store billing rate for user." + s.email = "edavis@littlestreamsoftware.com" + s.homepage = "https://projects.littlestreamsoftware.com/projects/redmine-timesheet" + s.description = "The Rate plugin stores billing rates for Users. It also provides an API that can be used to find the rate for a Member of a Project at a specific date." + s.authors = ["Eric Davis"] + s.rubyforge_project = "redmine_rate" # 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 diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6c6aa7c --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file