Sha256: 32228a4291243e38ee97ce61f46beddbb72b1cb9ada28bfac3a15b5e254d9e13

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

require "rake"
require "rake/testtask"
require "rake/rdoctask"
require "jeweler"


desc "Default: run tests."
task :default => [:test]


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


desc "Generate documentation for the plugin."
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "kenny_dialoggins"
  rdoc.options << "--line-numbers --inline-source"
  rdoc.rdoc_files.include("README")
  rdoc.rdoc_files.include("lib/**/*.rb")
end


begin
  Jeweler::Tasks.new do |gemspec|
    gemspec.authors           = ["Coroutine", "Tim Lowrimore", "John Dugan"]
    gemspec.description       = "Kenny Dialoggins allows you to include scriptaculous dialogs in Rails applications using the same syntax employed for rendering partials."
    gemspec.email             = "gems@coroutine.com"
    gemspec.homepage          = "http://github.com/coroutine/kenny_dialoggins"
    gemspec.name              = "kenny_dialoggins"
    gemspec.summary           = "Dead simple, beautiful dialogs for Rails."
    
    gemspec.add_dependency("actionpack", ">=2.3.4")
    gemspec.add_development_dependency("activesupport", ">=2.3.4")
    
    gemspec.files.include("lib/**/*.rb")
    gemspec.files.include("test/**/*.rb")
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kenny_dialoggins-0.2.2 Rakefile