Sha256: 44d1da4e26dc687bd703b47198b5872649e92af7b8b979b722870d4f597622fa
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 KB
Contents
begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "cap_gun" gemspec.summary = "Bang! You're deployed." gemspec.email = "opensource@thinkrelevance.com" gemspec.homepage = "http://github.com/relevance/cap_gun" gemspec.description = 'Super simple capistrano deployment notifications.' gemspec.authors = ["Rob Sanheim", "Muness Alrubaie", "Relevance"] gemspec.add_dependency 'activesupport' gemspec.add_dependency 'actionmailer' gemspec.add_development_dependency "micronaut" gemspec.add_development_dependency "mocha" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler" end begin require 'micronaut/rake_task' Micronaut::RakeTask.new(:examples) do |examples| examples.pattern = 'examples/**/*_example.rb' examples.ruby_opts << '-Ilib -Iexamples' end Micronaut::RakeTask.new(:rcov) do |examples| examples.pattern = 'examples/**/*_example.rb' examples.rcov_opts = %[-Ilib -Iexamples --exclude "gems/*,/Library/Ruby/*,config/*" --text-summary --sort coverage] examples.rcov = true end end if RUBY_VERSION =~ /1.8/ task :default => [:check_dependencies, :rcov] else task :default => [:check_dependencies, :examples] end begin %w{sdoc sdoc-helpers rdiscount}.each { |name| gem name } require 'sdoc_helpers' rescue LoadError => ex puts "sdoc support not enabled:" puts ex.inspect end require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : '' rdoc.rdoc_dir = 'rdoc' rdoc.title = "cap_gun #{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 |
---|---|
cap_gun-0.2.4 | Rakefile |