Sha256: 5be79932ba25cce9e96ee5d3412db4f19ed4ab0741d27dd4e1ffd9470c261f6f

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sinatra-cache"
    gem.summary = %Q{Simple Page Caching for Sinatra [www.sinatrarb.com]}
    gem.email = "kematzy@gmail.com"
    gem.homepage = "http://github.com/kematzy/sinatra-cache"
    gem.description = "Simple Page Caching for Sinatra [www.sinatrarb.com]"
    gem.authors = ["kematzy"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'sinatra-cache'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib' << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

# begin
#   require 'rcov/rcovtask'
#   Rcov::RcovTask.new do |t|
#     t.libs << 'test'
#     t.test_files = FileList['test/**/*_test.rb']
#     t.verbose = true
#   end
# rescue LoadError
#   puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
# end
# 

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-cache-0.2.3 Rakefile