Sha256: 7124447e7c65aff1372cfa9c313a70ffa4a1e9fdb6370a591dce4ee537cfe249
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "squall" gem.summary = %Q{A Ruby library for working with the OnApp REST API} gem.description = %Q{A Ruby library for working with the OnApp REST API} gem.email = "jmazzi@site5.com" gem.homepage = "http://www.site5.com" gem.authors = ["Justin Mazzi"] gem.add_dependency 'rest-client' gem.add_dependency 'json' gem.add_development_dependency 'fakeweb' gem.add_development_dependency 'redgreen' 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 = "squall #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squall-0.0.3 | Rakefile |
squall-0.0.2 | Rakefile |