Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (44 sloc) 1.632 kb
544e6a5 initial commit
Adam Lowe and Stephen Caudill and Wes Gibbs authored
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "slurper"
8 gem.summary = %Q{takes a formatted story file and puts it on Pivotal Tracker}
9 gem.description = %Q{
80e7452 @adamlowe Update gemspec for slurper file type
adamlowe authored
10 Slurps stories from the given file (stories.slurper by default) and creates
544e6a5 initial commit
Adam Lowe and Stephen Caudill and Wes Gibbs authored
11 Pivotal Tracker stories from them. Useful during story carding sessions
12 when you want to capture a number of stories quickly without clicking
13 your way through the Tracker UI.
14 }
15 gem.email = "info@hashrocket.com"
16 gem.homepage = "http://github.com/hashrocket/slurper"
17 gem.authors = ["Wes Gibbs", "Adam Lowe", "Stephen Caudill", "Tim Pope"]
18 gem.add_development_dependency "rspec", ">= 1.2.9"
19 gem.files = FileList["{bin,lib}/**/*"]
20 # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
21 end
22 Jeweler::GemcutterTasks.new
23 rescue LoadError
24 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
25 end
26
27 require 'spec/rake/spectask'
28 Spec::Rake::SpecTask.new(:spec) do |spec|
29 spec.libs << 'lib' << 'spec'
30 spec.spec_files = FileList['spec/**/*_spec.rb']
31 end
32
33 Spec::Rake::SpecTask.new(:rcov) do |spec|
34 spec.libs << 'lib' << 'spec'
35 spec.pattern = 'spec/**/*_spec.rb'
36 spec.rcov = true
37 end
38
39 task :spec => :check_dependencies
40
41 task :default => :spec
42
43 require 'rake/rdoctask'
44 Rake::RDocTask.new do |rdoc|
45 version = File.exist?('VERSION') ? File.read('VERSION') : ""
46
47 rdoc.rdoc_dir = 'rdoc'
48 rdoc.title = "test #{version}"
49 rdoc.rdoc_files.include('README*')
50 rdoc.rdoc_files.include('lib/**/*.rb')
51 end
Something went wrong with that request. Please try again.