Sha256: f756af33e47cce0e1d0ae28399001e7c95347698cd1aa51fa9e7ce7c5d1c4029
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "autotvnzb" gem.summary = "Automatically download tv shows nzb" gem.description = "Ruby tool to automatically download tv shows nzb from http://tvnzb.com/" gem.email = "pirate.2061@gmail.com" gem.authors = ["Pirate"] gem.add_development_dependency "rspec", ">= 1.2.9" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings gem.add_dependency "hpricot", ">= 0.8.1" gem.add_dependency "httparty", ">= 0.4.5" gem.add_dependency "optiflag", ">= 0.7" gem.default_executable = "bin/autotvnzb" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo 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 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 = "test-gem #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
autotvnzb-0.1.1 | Rakefile |
autotvnzb-0.1.0 | Rakefile |