Sha256: f681c1318fc190403468687bd3b91a27ad934bc6d93c70b264acfa0cad02b868

Contents?: true

Size: 1.45 KB

Versions: 3

Compression:

Stored size: 1.45 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ticketmaster"
    gem.summary = %Q{Ticketmaster provides a universal API to trouble ticket and project management systems.}
    gem.description = %Q{Ticketmaster provides a universal API to trouble ticket and project management systems.}
    gem.email = "simon@hybridgroup.com"
    gem.homepage = "http://ticketrb.com"
    gem.authors = ["Sirupsen", "deadprogrammer"]
    gem.add_dependency "hashie", ">= 0"
    gem.add_dependency "activeresource", ">= 0"
    gem.add_development_dependency "shoulda", ">= 0"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end


require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
  spec.rcov_opts = lambda do
    IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
  end
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "ticketmaster #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ticketmaster-0.3.6 Rakefile
ticketmaster-0.3.4 Rakefile
ticketmaster-0.3.3 Rakefile