Sha256: 2e214808c502c2a1e5e096d2175213aa8a7cc0a8426b80dcbd298d7bc5b39c36

Contents?: true

Size: 1.24 KB

Versions: 8

Compression:

Stored size: 1.24 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.pre2"])
    gem.add_dependency("authlogic", ["2.1.6"])
  end
rescue
  puts "Jeweler or one of its dependencies is not installed."
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
casein-3.1.8 Rakefile
casein-3.1.7 Rakefile
casein-3.1.6 Rakefile
casein-3.1.5 Rakefile
casein-3.1.4 Rakefile
casein-3.1.3 Rakefile
casein-3.1.2 Rakefile
casein-3.1.1 Rakefile