Sha256: 9cb45c25fe13f12f846e32bbd24a2ec72d28186463b9f9a3033118de3766e990

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "action_tree"
    gem.summary = %Q{Versatile routing dry enough to kill cacti.}
    gem.description = %Q{ActionTree is a router. It provides a compact DSL for defining routes that map paths to actions. It was designed as a router for modern ruby mini-frameworks.}
    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 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)


task :spec => :check_dependencies
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

2 entries across 2 versions & 1 rubygems

Version Path
action_tree-0.1.1 Rakefile
action_tree-0.1.0 Rakefile