# -*- ruby -*-

require 'rubygems'
require 'hoe'
require './lib/cached_supermodel.rb'

Hoe.new('CachedSupermodel', '0.1.2.1') do |p|
  p.summary = 'A library that automatically caches all ActiveRecord::Base instances in memcache using the AdoccaMemcache gem.'
  p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
  p.author = 'adocca Entertainment AB'
  p.rubyforge_name = "adocca-plugins"
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
  p.extra_deps << ['AdoccaMemcache', '>= 0.1.0']
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end

# vim: syntax=Ruby
