Sha256: ee7cfeaa16f26fb6dcfea205449cd7c7d0c1f9298327e222a530fb9c753167c4
Contents?: true
Size: 1.55 KB
Versions: 6
Compression:
Stored size: 1.55 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "porter" gem.summary = "Capistrano and Rake tasks for cloning production database and assets to development." gem.description = "Capistrano and Rake tasks for cloning production database and assets to development." gem.email = "info@appcreations.com" gem.homepage = "http://github.com/kjohnston/porter" gem.authors = ["Kenny Johnston"] gem.add_development_dependency "capistrano", ">= 0" gem.add_development_dependency "rake", ">= 0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :test => :check_dependencies task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "porter #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
porter-0.1.9 | Rakefile |
porter-0.1.8 | Rakefile |
porter-0.1.5 | Rakefile |
porter-0.1.4 | Rakefile |
porter-0.1.2 | Rakefile |
porter-0.1.1 | Rakefile |