Sha256: 0f56d052feb1420f36f25bf65066f3d9dc436107060d0a6692f577d0deb38e75

Contents?: true

Size: 1.31 KB

Versions: 9

Compression:

Stored size: 1.31 KB

Contents

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

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

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

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "wice_grid"
    gem.summary = %Q{Rails Grid Plugin}
    gem.description = %Q{A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters }
    gem.email = "yuri.leikind@gmail.com"
    gem.homepage = "http://github.com/lekind/wice_grid"
    gem.authors = ["Yuri Leikind"]
    gem.add_development_dependency "will_paginate", ">= 3.0.pre2"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wice_grid-3.0.4 Rakefile
wice_grid-3.0.3 Rakefile
wice_grid-3.0.2 Rakefile
wice_grid-3.0.1 Rakefile
wice_grid-3.0.0 Rakefile
wice_grid-3.0.0.pre4 Rakefile
wice_grid-3.0.0.pre3 Rakefile
wice_grid-3.0.0.pre2 Rakefile
wice_grid-3.0.0.pre1 Rakefile