Sha256: 972844dabd4975a90103a49e779ffc0e1fb64040c28bb46d0f3d7f557264cdd1
Contents?: true
Size: 1.38 KB
Versions: 4
Compression:
Stored size: 1.38 KB
Contents
require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "menu_builder" gem.summary = %Q{ Killer solution for menus and tabs in Rails } gem.description = %Q{ helper and controller macros to define current menu item and also create the menu in view. } gem.email = "danielvlopes@gmail.com" gem.homepage = "http://github.com/danielvlopes/menu_builder" gem.authors = ["Daniel Lopes"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end desc 'Run tests for MenuBuilder.' Rake::TestTask.new(:test) do |t| t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :test => :check_dependencies task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "menu_builder #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
menu_builder-0.4.0 | Rakefile |
menu_builder-0.3.3 | Rakefile |
menu_builder-0.3.2 | Rakefile |
menu_builder-0.3.1 | Rakefile |