Sha256: a63f36015d56c2fccd4efef8caec3501ee9e8c2b604d161bb71419177bc9a0a8
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
require 'rake' require 'rake/rdoctask' require 'spec/rake/spectask' begin require 'sdoc_helpers' rescue LoadError puts "sdoc support not enabled. Please gem install sdoc-helpers." end desc 'Default: run specs with rcov.' task :default => :rcov_spec desc 'Run the specs' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] t.spec_files = FileList['spec/**/*_spec.rb'] end desc 'Run the specs with rcov' Spec::Rake::SpecTask.new("rcov_spec") do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = ['--color'] t.rcov = true t.rcov_opts = ['--exclude', '^spec,/gems/'] end Rake::RDocTask.new do |t| t.rdoc_dir = 'doc' t.rdoc_files.include('lib/**/*.rb') t.options << '--inline-source' t.options << '--all' t.options << '--line-numbers' end begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "forgery" s.summary = "Easy and customizable generation of forged data." s.email = "nate@sevenwire.com" s.homepage = "http://github.com/sevenwire/forgery" s.description = "Easy and customizable generation of forged data. Can be used as a gem or a rails plugin. Includes rails generators for creating your own forgeries." s.authors = ["Nathan Sutton"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forgery-0.3.0 | Rakefile |