Skip to content
Commits on Apr 20, 2009
  1. @tj @rtomayko
Commits on Mar 31, 2009
  1. @sr @rtomayko

    Use contest instead of test/spec/mini

    sr committed with rtomayko Mar 26, 2009
    See <http://github.com/citrusbyte/contest> for more info. The
    contest.rb file is included under the test/ directory.
Commits on Mar 10, 2009
  1. @bmizerany

    Hook mechanizm for route_added [help from rtomayko]

    bmizerany committed Mar 9, 2009
    Example:
    
    module Sinatra
      module RouteAddedExtSample
        def self.route_added(verb, path)
          p [verb, path]
        end
      end
    
      register RouteAddedExtSample
    end
    
    post '/' do
      do_something
      'ok'
    end
    
    Output:
    
    ["POST", "/"]
    
    move superclass logic into extensions attr reader
Something went wrong with that request. Please try again.