Sha256: 690cd69ad08d466d56e85e5a6c56e5f2ef5e41c8ee006ab49be98c63c170a4e7

Contents?: true

Size: 702 Bytes

Versions: 13

Compression:

Stored size: 702 Bytes

Contents

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

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

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

desc 'Generate RDoc documentation for the will_paginate plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  files = ['README', 'LICENSE', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "will_paginate"
  rdoc.template = File.exists?(t="/Users/chris/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb"
  rdoc.rdoc_dir = 'doc' # rdoc output folder
  rdoc.options << '--inline-source'
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
cehoffman-acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/Rakefile
jkraemer-acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/Rakefile
watson-acts_as_ferret-0.4.8.2 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.5.2 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.8.2 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.8.1 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.5.1 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.5 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.8.rails3 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.8 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.7 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.6 doc/demo/vendor/plugins/will_paginate/Rakefile
acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/Rakefile