Sha256: 312f2ea688cd5ad146986e65ab4a5e847f3b865154898f62fad7d0cca7a2e51a
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 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['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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
benschwarz-smoke-0.5.0 | Rakefile |
benschwarz-smoke-0.5.4 | Rakefile |
benschwarz-smoke-0.5.5 | Rakefile |
benschwarz-smoke-0.5.6 | Rakefile |
benschwarz-smoke-0.5.7 | Rakefile |