Sha256: b65700e2b4c55e64e3ca008c150d41eef1ab1a413253872517be908269b5b3ba

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

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

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

desc 'Test the kryptonite 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 kryptonite gem.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Kryptonite'
  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 = "kryptonite"
    gem.summary = "A lightweight Ruby on Rails CMS."
    gem.description = "Kryptonite is an open-source CMS for Ruby on Rails, originally developed by Spoiled Milk. Extended by Alexander Feiglstorfer."
    gem.files = Dir["Gemfile", "MIT-LICENSE", "Rakefile", "README.rdoc", "PUBLIC_VERSION.yml", "{lib}/**/*", "{app}/**/*", "{config}/**/*"]
    gem.email = "delooks@gmail.com"
    gem.authors = ["Alexander Feiglstorfer", "M2Hero"]
    gem.homepage = "http://github.com/onefriendaday/Kryptonite"
    gem.add_dependency("will_paginate", ["3.0.0"])
    gem.add_dependency("authlogic", ["3.0.3"])
    gem.add_dependency("best_in_place", ["1.0.6"])
    gem.add_dependency("paperclip", ["3.0.1"])
  end
rescue
  puts "Jeweler or one of its dependencies is not installed."
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kryptonite-0.0.3 Rakefile
kryptonite-0.0.2 Rakefile