Sha256: 3af99159426380bb710f5dd41523cbbcf93caf171ac400dad754421c07edde64

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |g|
    g.name = 'cache_flow'
    g.summary = %(Easily cache XML builder fragments)
    g.description = %(Easily cache XML builder fragments)
    g.email = 'steve.richert@gmail.com'
    g.homepage = 'http://github.com/laserlemon/cache_flow'
    g.authors = %w(laserlemon)
    g.add_development_dependency 'thoughtbot-shoulda'
    g.rubyforge_project = 'laser-lemon'
  end
  Jeweler::RubyforgeTasks.new do |r|
    r.doc_task = 'rdoc'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts 'Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com'
end

Rake::TestTask.new do |t|
  t.libs = %w(test)
  t.pattern = 'test/**/*_test.rb'
end

task :default => :test

Rake::RDocTask.new do |r|
  version = File.exist?('VERSION') ? File.read('VERSION') : nil
  r.rdoc_dir = 'rdoc'
  r.title = ['cache_flow', version].compact.join(' ')
  r.rdoc_files.include('README*')
  r.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cache_flow-0.1.1 Rakefile
cache_flow-0.1.0 Rakefile