Sha256: 87015c821b0f6d605ca86ac419333e2328868f1524bbaa16587bcab1281dc64a
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
%w[rubygems rake rake/clean fileutils].each { |f| require f } begin 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"] s.add_dependency 'patron', '>=0.4.6' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end 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 :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 = "votesmart #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
votesmart-0.3.3 | Rakefile |
votesmart-0.3.2 | Rakefile |
votesmart-0.3.1 | Rakefile |
votesmart-0.3.0 | Rakefile |