Sha256: aa97bb1e795b75066585718bad811ec4f372104eb5e7fc1a0aac368adbd8b972

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

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

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

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

desc 'Generate documentation for the casein gem.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Casein'
  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 = "casein"
    gem.summary = "A lightweight Ruby on Rails CMS."
    gem.description = "Casein is an open source CMS for Ruby on Rails, originally developed by Spoiled Milk."
    gem.files = Dir["Gemfile", "MIT-LICENSE", "Rakefile", "README.rdoc", "PUBLIC_VERSION.yml", "{lib}/**/*", "{app}/**/*", "{config}/**/*"]
    gem.email = "mail@russellquinn.com"
    gem.authors = ["Russell Quinn", "Spoiled Milk"]
    gem.homepage = "http://github.com/spoiledmilk/casein3"
    gem.add_dependency("will_paginate", ["3.0.0"])
    gem.add_dependency("authlogic", ["3.0.3"])
  end
rescue
  puts "Jeweler or one of its dependencies is not installed."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
casein-3.1.10 Rakefile