Sha256: 94a7a8982af0202b50424b65628af47953add7c11107f2fcc3663a5592236bcb
Contents?: true
Size: 848 Bytes
Versions: 62
Compression:
Stored size: 848 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' desc 'Default: run unit tests.' task :default => :test desc 'Test the restful_authentication plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the restful_authentication plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'RestfulAuthentication' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end gemspec = eval(File.read("#{File.dirname(__FILE__)}/restful-authentication.gemspec")) PKG_NAME = gemspec.name PKG_VERSION = gemspec.version Rake::GemPackageTask.new(gemspec) do |pkg| pkg.need_zip = true pkg.need_tar = true end
Version data entries
62 entries across 62 versions & 10 rubygems