Sha256: 8b450859d4c48c8327477338d6472b4b2f9537f8f26cc455fb90f2959ecf6592
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "action_tree" gem.summary = %Q{Versatile and DRY controllers and routing.} gem.description = %Q{ActionTree is a DRY request router. It provides a compact DSL for defining actions and mapping requests to invoke them.} gem.email = "post@jostein.be" gem.homepage = "http://github.com/jbe/action_tree" gem.authors = ["jbe"] #gem.required_ruby_version = '>= 1.8.7' gem.add_dependency 'backports' gem.add_development_dependency 'rspec' gem.add_development_dependency 'yard' gem.add_development_dependency 'yard-rspec' # 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 require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) require 'yard' YARD::Rake::YardocTask.new do |t| #t.files = ['lib/**/*.rb', OTHER_PATHS] # optional #t.options = ['--any', '--extra', '--opts'] # optional end task :spec => :check_dependencies task :docs => :yard task :build => :docs task :default => :spec #namespace :test do # desc 'open testing shell' # task :shell => [:build, :install] do # sh 'irb -r ./test/shell.rb' # end #end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action_tree-0.2.0 | Rakefile |