Skip to content
This repository

Apr 16, 2008

  1. Sinatra 0.2.1 Release

    Blake Mizerany authored
  2. Freezing Rack into package to take care of upload issue

    Blake Mizerany authored

Apr 15, 2008

  1. Revert "refactored content_type to use to_params"

    This reverts commit f9e6b88.
    Blake Mizerany authored
  2. Blake Mizerany

    refactored content_type to use to_params

    bmizerany authored
  3. Blake Mizerany

    Merge branch 'master' of git://github.com/rtomayko/sinatra into rtoma…

    …yko/master
    bmizerany authored

Apr 14, 2008

  1. Blake Mizerany

    pick a server, any server!

    bmizerany authored

Apr 13, 2008

  1. Ryan Tomayko

    entity_tag response helper / conditional GET support

    ResponseHelpers#entity_tag sets the ETag response header and
    (potentially) halts execution if an If-None-Match request header
    is present matches the value given.
    
    More information on HTTP's ETag header and conditional requests
    available in RFC 2616:
    
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19
    rtomayko authored
  2. Ryan Tomayko

    last_modified response helper / conditional GET support

    ResponseHelpers#last_modified sets the Last-Modified response header
    and (potentially) halts execution if an If-Modified-Since request
    header is present and matches the time given.
    rtomayko authored
  3. Ryan Tomayko

    content_type response helper with mime type lookup and parameter supp…

    …ort.
    
    ResponseHelpers#content_type takes a media type and parameters and sets
    the Content-Type response header accordingly.
    rtomayko authored
  4. Ryan Tomayko

    document and further spec out ResponseHelpers

    rtomayko authored

Apr 11, 2008

  1. Deal correctly with paths that contain spaces

    Markus Prinz authored Blake Mizerany committed

Apr 10, 2008

  1. RESTful testing

    To be used in one of two ways:
    
      post_it '/', :foo => 'bar', :env => { :agent => 'Mac Intel' }
    
      or
    
      post_it '/', '<myxml></myxml>', :agent => 'Mac Intel'
    
    to receive this in your EventContext
    
      For query params:
    
      post '/' do
        params.inspect
      end
    
      For XML/JSON/etc.. :
    
      post '/' do
        request.body.string
      end
    Blake Mizerany authored

Apr 09, 2008

  1. Merge branch 'cypher/master'

    Blake Mizerany authored
  2. set_option for those quickies

    Blake Mizerany authored
  3. Merge branch 'master' of git://github.com/cypher/sinatra into cypher/…

    …master
    
    Conflicts:
    
    	lib/sinatra.rb
    Blake Mizerany authored
  4. Merge branch 'master' of git://github.com/nmeans/sinatra into nmeans/…

    …master
    Blake Mizerany authored
  5. Nickolas Means

    Modified sass method to allow :views_directory option and disable ren…

    …dering of layouts.
    nmeans authored

Apr 08, 2008

  1. Symbol params back in thanks to Jeremy Evans

    Blake Mizerany authored
  2. Nickolas Means

    Added Sass module and 'sass' method for rendering Sass stylesheets.

    nmeans authored

Apr 07, 2008

  1. Make session return an empty hash when Session support is turned off

    Markus Prinz authored
  2. Make sure build_application actually returns the application

    Markus Prinz authored
  3. Make logging an option. Logging is turned on by default.

    Markus Prinz authored
  4. It's options.sessions, not options[:sessions]

    Markus Prinz authored
  5. Add session support, which is off by default. Enable by calling set_o…

    …ption(:sessions => true).
    
    The TODO-List-Example now works again.
    Markus Prinz authored
  6. Fix spelling of dslify_writer

    Markus Prinz authored
  7. Blake Mizerany

    don't need these

    bmizerany authored

Apr 02, 2008

  1. filter on host

    Blake Mizerany authored

Apr 01, 2008

  1. FIX: options need to be reloaded when custom options are given

    Blake Mizerany authored
  2. raise errors from error

    This allows us to test custom errors easier
    Blake Mizerany authored
  3. bringing back the string.

    Symbols are not garbage collected and I don't want to use the large (but cool) HashWithIndifferentAccess.  I could use OpenStruct ala camping but that seems unnecessary.
    
    Long live the string.
    Blake Mizerany authored
  4. merge in env to test methods

    Blake Mizerany authored
  5. explain'n

    Blake Mizerany authored

Mar 28, 2008

  1. tests for use_in_file_templates! and a little refactoring

    Blake Mizerany authored

Mar 27, 2008

  1. Blake Mizerany

    easy access to options

    bmizerany authored
  2. Blake Mizerany

    inline templates!

    bmizerany authored
Something went wrong with that request. Please try again.