Sha256: f6613f39ac4bd8fc57cbff3c0daf47c4a6e51e9e58c9d6a8fc654de7ff3bd05d

Contents?: true

Size: 1.36 KB

Versions: 7

Compression:

Stored size: 1.36 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rdoc/task'

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('RELEASE_NOTES_3.2.pre1.rdoc')
  rdoc.rdoc_files.include('CHANGELOG')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'git'
  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_dependency "kaminari", ">= 0.13.0"
    # 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

7 entries across 7 versions & 1 rubygems

Version Path
wice_grid-3.2.1.pre3 Rakefile
wice_grid-3.2.1.pre2 Rakefile
wice_grid-3.2.1.pre1 Rakefile
wice_grid-3.2.0 Rakefile
wice_grid-3.2.0.pre4 Rakefile
wice_grid-3.2.0.pre3 Rakefile
wice_grid-3.2.0.pre2 Rakefile