Sha256: 4c855e941effd662a1cce09b05ebe00b02a83382dbe2f24b1ac651be53a65731

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

spec = Gem::Specification.new do |s|
  s.name = 'youtube'
  s.version = '0.8.6'
  s.author = 'Shane Vitarana'
  s.email = 'shanev@gmail.com'
  s.platform = Gem::Platform::RUBY
  s.summary = 'A Ruby object-oriented interface to the YouTube REST API.'
  s.rubyforge_project = 'youtube'
  s.has_rdoc = true
  s.extra_rdoc_files = [ 'README' ]
  s.rdoc_options << '--main' << 'README'
  s.files = Dir.glob("{examples,lib,test}/**/*") +
    [ 'AUTHORS', 'CHANGELOG', 'README', 'Rakefile', 'TODO' ]
  s.add_dependency("xml-simple", ">= 1.0.9")
end

desc 'Run tests'
task :default => [ :test ]

Rake::TestTask.new('test') do |t|
  t.libs << 'test'
  t.pattern = 'test/test_*.rb'
  t.verbose = true
end

desc 'Generate RDoc'
Rake::RDocTask.new :rdoc do |rd|
  rd.rdoc_dir = 'doc'
  rd.rdoc_files.add 'lib', 'README'
  rd.main = 'README'
end

desc 'Build Gem'
Rake::GemPackageTask.new spec do |pkg|
  pkg.need_tar = true
end

desc 'Clean up'
task :clean => [ :clobber_rdoc, :clobber_package ]

desc 'Clean up'
task :clobber => [ :clean ]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
youtube-0.8.6 Rakefile