Sha256: 69740795fd32db0dcf3c695122493f7a43c9c1d9d4d061918cb43be7b094d2e2
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
require 'rubygems' require 'rake' require 'spec' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "smoke" gem.summary = %Q{smoke is a DSL that allows you to take data from YQL, RSS / Atom} gem.email = "ben.schwarz@gmail.com" gem.homepage = "http://github.com/benschwarz/smoke" gem.authors = ["Ben Schwarz"] gem.files = FileList['dependencies', 'lib/**/*.rb', 'rdoc/**/*', '[A-Z]*', 'spec/**/*', 'vendor/**/*'].to_a # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end begin gem 'mislav-hanna', '>= 0.2.7' require 'hanna/rdoctask' rescue LoadError require 'rake/rdoctask' end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'smoke' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:test) do |t| t.spec_opts = ['--options', "spec/spec.opts"] t.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 => :test task :default => :test
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
benschwarz-smoke-0.5.1 | Rakefile |
benschwarz-smoke-0.5.2 | Rakefile |
benschwarz-smoke-0.5.3 | Rakefile |