Sha256: 1e517c5a92e510700ee0e5fd8c7204aee04e20e1cd5e8eacc3a255abde2db1c0

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "ruby-tmdb"
    gemspec.summary = "An ActiveRecord-style API wrapper for TheMovieDB.org"
    gemspec.description = "An ActiveRecord-style API wrapper for TheMovieDB.org"
    gemspec.email = "aaron@aarongough.com"
    gemspec.homepage = "https://github.com/aarongough/ruby-tmdb"
    gemspec.authors = ["Aaron Gough"]
    gemspec.rdoc_options << '--line-numbers' << '--inline-source'
    gemspec.extra_rdoc_files = ['README.rdoc', 'MIT-LICENSE']
    gemspec.add_development_dependency "webmock"
  end
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end


desc 'Test ruby-tmdb.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib/*.rb'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end


desc 'Generate documentation for ruby-tmdb.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ruby-tmdb'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
  rdoc.rdoc_files.include('app/**/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-tmdb-0.1.0 Rakefile
ruby-tmdb-0.0.21 Rakefile
ruby-tmdb-0.0.20 Rakefile
ruby-tmdb-0.0.19 Rakefile