Sha256: 32a35e2e5cec989be92ec64f2ac164672a1b8fd8b5f2ef9082805d029f81fd39

Contents?: true

Size: 1.19 KB

Versions: 15

Compression:

Stored size: 1.19 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 for Mongoid'
  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_mongoid"
    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 = "aleksandr.furmanov@gmail.com"
    gem.homepage = "http://github.com/afurmanov/wice_grid"
    gem.authors = ["Yuri Leikind", "Aleksandr Furmanov"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
wice_grid_mongo-6.2.4 Rakefile
wice_grid_mongoid-6.2.3 Rakefile
wice_grid_mongoid-6.2.2 Rakefile
wice_grid_mongoid-6.2.1 Rakefile
wice_grid_mongoid-6.2.0 Rakefile
wice_grid_mongoid-6.1.1 Rakefile
wice_grid_mongoid-6.1.0 Rakefile
wice_grid_mongoid-6.0.10 Rakefile
wice_grid_mongoid-6.0.9 Rakefile
wice_grid_mongoid-6.0.8 Rakefile
wice_grid_mongoid-6.0.7 Rakefile
wice_grid_mongoid-6.0.6 Rakefile
wice_grid_mongoid-6.0.5 Rakefile
wice_grid_mongoid-6.0.4 Rakefile
wice_grid_mongoid-6.0.3 Rakefile