Sha256: 4ddbb8be0fbffc675d24f7fbf778c930bbdb714ab83ef86bfeef537717e246ad

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

require 'rubygems'
require 'hoe'
begin
  require 'spec/rake/spectask'
rescue LoadError
  puts 'To use rspec for testing you must install rspec gem:'
  puts '$ sudo gem install rspec'
  exit
end
require File.join(File.dirname(__FILE__), 'lib', 'tinder', 'version')

# RDOC_OPTS = ['--quiet', '--title', "Tinder",
#     "--opname", "index.html",
#     "--line-numbers", 
#     "--main", "README",
#     "--inline-source"]
# 
# Generate all the Rake tasks

hoe = Hoe.new('tinder', ENV['VERSION'] || Tinder::VERSION::STRING) do |p|
  p.rubyforge_name = 'tinder'
  p.summary = "An (unofficial) Campfire API"
  p.description = "An API for interfacing with Campfire, the 37Signals chat application."
  p.author = 'Brandon Keepers'
  p.email = 'brandon@opensoul.org'
  p.url = 'http://tinder.rubyforge.org'
  p.test_globs = ["test/**/*_test.rb"]
  p.changes = p.paragraphs_of('CHANGELOG.txt', 0..1).join("\n\n")
  p.extra_deps << ['activesupport']
  p.extra_deps << ['hpricot']
  p.extra_deps << ['mime-types']
end

desc "Run the specs under spec"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "spec/spec.opts"]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

desc "Default task is to run specs"
task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tinder-1.2.1 Rakefile
tinder-0.1.8 Rakefile
tinder-0.1.9 Rakefile
tinder-1.2.0 Rakefile