Sha256: c87a08e20e1804a9580b4e943ed75beb487e47007b4ce4379783af7b6391a660

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Run tests for Easy HTTP Cache.'
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for Easy HTTP Cache.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Easy HTTP Cache'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('MIT-LICENSE')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "easy_http_cache"
    s.version = "2.2"
    s.summary = "Allows Rails applications to use HTTP cache specifications easily."
    s.email = "contact@plataformatec.com.br"
    s.homepage = "http://github.com/josevalim/easy_http_cache"
    s.description = "Allows Rails applications to use HTTP cache specifications easily."
    s.authors = ['José Valim']
    s.files =  FileList["[A-Z]*", "lib/**/*", "init.rb"]
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy_http_cache-2.2 Rakefile