Sha256: 309d2759a2e1c84d3e66965366c2bc73759179e72489a7728511313eedb1293a

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

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

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the query_memcached plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the query_memcached plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'QueryMemcached'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "query_memcached"
    gem.summary = "A replacement for ActiveRecord query_cache that a adds a Memcache layer for persistence of the query's cache"
    gem.email = ["ferblape@gmail.com"]
    gem.homepage = "http://github.com/ferblape/query_memcached"
    gem.authors = ["Fernando Blat"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ferblape-query_memcached-2.2.2 Rakefile