public
Description: This is a Redmine plugin to generate timesheets from timelogs.
Homepage: https://projects.littlestreamsoftware.com/projects/show/redmine-timesheet
Clone URL: git://github.com/edavis10/redmine-timesheet-plugin.git
edavis10 (author)
Tue Oct 13 15:55:30 -0700 2009
commit  cb50b7a7118eb16a8f8f70611e205c26b44889b3
tree    232773c301f8b6a50d22c47be0e18b479d6b0984
parent  a4088bc14fda9a90fbd23275783e000c89e70af7
100755 34 lines (30 sloc) 1.363 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env ruby
require 'redmine_plugin_support'
 
Dir[File.expand_path(File.dirname(__FILE__)) + "/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
 
RedminePluginSupport::Base.setup do |plugin|
  plugin.project_name = 'timesheet_plugin'
  plugin.default_task = [:spec]
  plugin.tasks = [:doc, :release, :clean, :spec, :stats]
  # TODO: gem not getting this automaticly
  plugin.redmine_root = File.expand_path(File.dirname(__FILE__) + '/../../../')
end
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "timesheet_plugin"
    s.summary = "A Timesheet plugin for Redmine to show timelogs for all projects"
    s.email = "edavis@littlestreamsoftware.com"
    s.homepage = "https://projects.littlestreamsoftware.com/projects/redmine-timesheet"
    s.description = "A plugin to show and filter timelogs across all projects in Redmine."
    s.authors = ["Eric Davis"]
    s.files = FileList[
                        "[A-Z]*",
                        "init.rb",
                        "rails/init.rb",
                        "{bin,generators,lib,test,app,assets,config,lang}/**/*",
                        'lib/jeweler/templates/.gitignore'
                       ]
  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