edavis10 / redmine-google-analytics-plugin

Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles.

This URL has Read+Write access

redmine-google-analytics-plugin / Rakefile
100755 37 lines (32 sloc) 1.411 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
35
36
37
#!/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 = 'google_analytics_plugin'
  plugin.default_task = [:spec]
end
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "google_analytics_plugin"
    s.summary = "Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles."
    s.email = "edavis@littlestreamsoftware.com"
    s.homepage = "https://projects.littlestreamsoftware.com/projects/TODO"
    s.description = "Redmine plugin to insert the Google Analytics tracking code into Redmine based on user roles."
    s.authors = ["Eric Davis"]
    s.rubyforge_project = "google_analytics_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