Rakefile 479 B

12345678910111213141516171819202122
  1. # encoding: utf-8
  2. require 'bundler'
  3. Bundler::GemHelper.install_tasks
  4. require 'rspec/core'
  5. require 'rspec/core/rake_task'
  6. RSpec::Core::RakeTask.new(:spec) do |spec|
  7. spec.pattern = FileList['spec/**/*_spec.rb']
  8. end
  9. task :default => :spec
  10. require 'rake/rdoctask'
  11. Rake::RDocTask.new do |rdoc|
  12. require 'kaminari/version'
  13. rdoc.rdoc_dir = 'rdoc'
  14. rdoc.title = "kaminari #{Kaminari::VERSION}"
  15. rdoc.rdoc_files.include('README*')
  16. rdoc.rdoc_files.include('lib/**/*.rb')
  17. end