Sha256: 8f76feb9fa8c9f4c6b3070dbb6354906dfb967585bc808cb5128cd8e3637c0ab

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

%w[rubygems rake rake/clean fileutils].each { |f| require f }

require 'jeweler'
Jeweler::Tasks.new do |s|
  s.name = "votesmart"
  s.summary = "A wrapper for the Project Vote Smart API"
  s.email = "ben.woosley@gmail.com"
  s.homepage = "http://github.com/Empact/votesmart"
  s.description = "A wrapper for the Project Vote Smart API"
  s.authors = ["Dan Cunning", "Ben Woosley"]
end
Jeweler::GemcutterTasks.new

Dir['tasks/**/*.rake'].each { |t| load t }

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 :default => :spec

require 'rdoc/task'
RDoc::Task.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "votesmart #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
votesmart-0.4.1 Rakefile