Sha256: a4a5568382e9313c052c168bbdd8976551239f6e1e2f47224d6bc8d7bdc0c418

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'DynamicMenus'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "dynamic_menus"
  gem.homepage = "http://github.com/kaspernj/dynamic_menus"
  gem.license = "MIT"
  gem.summary = %Q{Various helpers to create dynamic menus in Rails.}
  gem.description = %Q{Various helpers to create dynamic menus in Rails.}
  gem.email = "k@spernj.org"
  gem.authors = ["kaspernj"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end


task :default => :test

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dynamic_menus-0.0.8 Rakefile
dynamic_menus-0.0.7 Rakefile
dynamic_menus-0.0.6 Rakefile
dynamic_menus-0.0.5 Rakefile
dynamic_menus-0.0.4 Rakefile
dynamic_menus-0.0.3 Rakefile
dynamic_menus-0.0.2 Rakefile