Sha256: f64fa7fb3825262d6b764f7c5e7259664dffc381a438c469e5f0ffe147d560c4

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

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

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

desc 'Test the risosu-san plugin.'
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 risosu-san plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Risosu-san'
  rdoc.options << '--line-numbers' << '--inline-source' << '--charset=utf8'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('LICENSE')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name     = "matsimitsu-risosu-san"
    s.homepage = "http://github.com/Matsimitsu/risosu-san"
    s.email    = "robert@matsimitsu.nl"
    s.authors  = ["Eloy Duran", "Robert Beekman"]
    s.summary  = s.description = "RisosuSan is a Rails plugin that assists in situations where a resource controller is nested under another resource."
  end
end

Jeweler::GemcutterTasks.new

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
matsimitsu-risosu-san-0.1.2 Rakefile
matsimitsu-risosu-san-0.1.1 Rakefile
matsimitsu-risosu-san-0.1.0 Rakefile