public
Rubygem
Description: Take FogBugz offline with you
Clone URL: git://github.com/francois/fogbugz_offline.git
commit  ea8882d75f4d74f7e87960bf1e3724d496889556
tree    72c0adc56e1cd623145553f4cc7a1d160d2d26bb
parent  e4837e2d6861efe500d5d04d7351923a2de738b0
fogbugz_offline / Rakefile
100644 49 lines (40 sloc) 1.236 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
38
39
40
41
42
43
44
45
46
47
48
49
require 'rubygems'
require 'rake/gempackagetask'
 
GEM = "fogbugz_offline"
VERSION = "0.0.1"
AUTHOR = "François Beausoleil"
EMAIL = "francois@teksol.info"
HOMEPAGE = "http://github.com/francois/fogbugz_offline/wikis"
SUMMARY = "Take FogBugz with you wherever you go!"
 
spec = Gem::Specification.new do |s|
  s.name = GEM
  s.version = VERSION
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README", "LICENSE", "TODO"]
  s.summary = SUMMARY
  s.description = s.summary
  s.author = AUTHOR
  s.email = EMAIL
  s.homepage = HOMEPAGE
  
  s.add_dependency "activesupport", "~> 2.0.2"
  s.add_dependency "main", "~> 2.8.0"
  s.add_dependency "open4", "~> 0.9.6"
  s.add_dependency "ferret", "~> 0.11.6"
  
  s.require_path = 'lib'
  s.autorequire = GEM
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end
 
Rake::GemPackageTask.new(spec) do |pkg|
  pkg.gem_spec = spec
end
 
task :install => [:package] do
  sh %{sudo gem install pkg/#{GEM}-#{VERSION}}
end
 
require "spec/rake/spectask"
Spec::Rake::SpecTask.new do |t|
  t.warning = false
  t.rcov = false
  t.spec_opts = %w(--color --format specdoc --format html:tmp/specifications.html --loadby mtime)
end
 
task :default => :spec