Skip to content
This repository

Jun 08, 2009

  1. Simon Rozet

    Add a note about Sinatra::Base to the README

    Edited-By: Ryan Tomayko <rtomayko@gmail.com>
    sr authored rtomayko committed

May 21, 2009

  1. Scott Johnson

    fix inaccurate comment in README

    scottj97 authored rtomayko committed

May 18, 2009

  1. Ryan Tomayko

    Recommend Rack::Test in README / note Sinatra::Test deprecation

    rtomayko authored

May 12, 2009

  1. fix unclosed <tt> in README

    Mathew Cucuzella authored rtomayko committed

Apr 25, 2009

  1. Blake Mizerany

    closes #9779 Auto-require haml/erb/builder/sass

    this is causing thread-saftey issues.
    bmizerany authored

Mar 27, 2009

  1. Kematzy

    Merge app-level haml/sass options with call options [#184]

    Ensures globally set Haml/Sass configurations can be overridden on
    an individual call basis, while retaining the global values.
    
    Renamed the #haml() :options key to :haml_options for
    clarity and consistency with the #sass method.
    kematzy authored rtomayko committed

Mar 25, 2009

  1. Markus Prinz

    Note on passing template symbols vs. strings in README

    The README is very ambiguous about the difference between passing a
    symbol and a string to a template rendering method. This adds a note
    that explains the difference.
    cypher authored rtomayko committed
  2. Ryan Tomayko

    Remove support for source file reloading [#166]

    rtomayko authored

Mar 03, 2009

  1. Ryan Tomayko

    Fix broken link to testing doc in README

    rtomayko authored

Mar 02, 2009

  1. Markus Prinz

    Fix test_with_rack_env example in README

    First, there was a missing quote, and second :agent is more
    clear than HTTP_USER_AGENT.
    cypher authored rtomayko committed
  2. Ryan Tomayko

    Tidy up README a bit; link to @sinatra on Twitter

    rtomayko authored
  3. Ryan Tomayko

    Trim down Testing section in the README; link to doc site instead

    rtomayko authored

Feb 20, 2009

  1. Pete Nicholls

    Fixed broken link in README.

    Aupajo authored rtomayko committed
  2. Harry Vangberg

    fix readme for testing user agent [#156]

    vangberg authored rtomayko committed

Feb 16, 2009

  1. Blake Mizerany

    Fixed syntax error in README [Sam Roberts]

    bmizerany authored

Jan 31, 2009

  1. Brandon Dimcheff

    Added route block params in routing statements [#140]

    bdimcheff authored rtomayko committed

Jan 24, 2009

  1. Ryan Tomayko

    README: fix formatting on static file note

    rtomayko authored
  2. Ryan Tomayko

    Tweak README formatting; move community/contributing to website

    rtomayko authored

Jan 19, 2009

  1. Scott Wisely

    Minor aesthetic tweaks to URLs in README

    Syd authored rtomayko committed

Jan 18, 2009

  1. Blake Mizerany

    Updated README to point to github.com/sinatra/sinatra.git

    bmizerany authored
  2. Blake Mizerany

    In-file-templates are automaticly loaded for you.

    Sinatra will now load you in-file-templates from the file
    that required sinatra.
    
    If you need to use in-file-templates outside this you will need
    to explicitly call use_in_file_templates! in that file.
    bmizerany authored

Jan 15, 2009

  1. Karel Minarik

    Note "-s" (server) command line option in README

    karmi authored rtomayko committed

Jan 14, 2009

  1. Dylan Egan

    Bacon support

    dylanegan authored rtomayko committed
  2. Ryan Tomayko

    Test framework refactoring

    * Adds test/helper.rb and moves mock_app and other code specific
      to testing the framework out of Sinatra::Test.
    * Do not require test/unit. The sinatra/test/unit,
      sinatra/test/spec, and sinatra/test/rspec files can be used to
      choose the framework.
    * Add Sinatra::TestHarness, which should act similar to the
      Rack::Session proposal here: http://gist.github.com/41270
    * Update the README with information on using the different test
      frameworks.
    rtomayko authored

Jan 13, 2009

  1. Markus Prinz

    README and CHANGES tweaks for 0.9.0 release (#63)

    * Add support for regex routes to README
    * Use $LOAD_PATH instead of $:
    * EventContext is no longer present
    * Misc cleanup from rtomayko
    cypher authored rtomayko committed

Jan 10, 2009

  1. Blake Mizerany

    Quick fix to layout => true in README

    bmizerany authored
  2. Damian Janowski

    Updating README for :layout => true.

    djanowski authored bmizerany committed

Dec 21, 2008

  1. Ryan Tomayko

    I knew I shoulda taken that left turn at Hoboken

    This is a fairly large reworking of Sinatra's innards. Although
    most of the internal implementation has been modified, it
    provides the same basic feature set and is meant to be compatible
    with Sinatra 0.3.2.
    
    * The Event and EventContext classes have been removed. Sinatra
      applications are now defined within the class context of a
      Sinatra::Base subclass; each request is processed within a new
      instance.
    
    * Sinatra::Base can be used as a base class for multiple
      Rack applications within a single process and can be used as
      Rack middleware.
    
    * The routing and result type processing implementation has been
      simplified and enhanced a bit. There's a new route conditions
      system for things like :agent/:host matching and a request
      level #pass method has been added to allow an event handler to
      exit immediately, passing control to the next matching route.
    
    * Regular expressions may now be used in route patterns. Captures
      are available as an array from "params[:captures]".
    
    * The #body helper method now takes a block. The block is not
      evaluated until an attempt is made to read the body.
    
    * Options are now dynamically generated class attributes on the
      Sinatra::Base subclass (instead of OpenStruct); options are
      inherited by subclasses and may be overridden up the
      inheritance hierarchy. The Base.set manages all option related
      stuff.
    
    * The application file (app_file) detection heuristics are bit
      more sane now. This fixes some bugs with reloading and
      public/views directory detection. All thin / passenger issues
      of these type should be better now.
    
    * Error mappings are now split into to distinct layers: exception
      mappings and custom error pages. Exception mappings are registered
      with 'error(Exception)' and are run only when the app raises an
      exception. Custom error pages are registered with error(status_code)
      and are run any time the response has the status code specified.
      It's also possible to register an error page for a range of status
      codes: 'error(500..599)'.
    
    * The spec and unit testing extensions have been modified to take
      advantage of the ability to have multiple Sinatra applications.
      The Sinatra::Test module must be included within the TestCase
      in order to take advantage of these methods (unless the
      'sinatra/compat' library has been required).
    
    * Rebuilt specs from scratch for better coverage and
      organization. Sinatra 3.2 unit tests have been retained
      under ./compat to ensure a baseline level of compatibility with
      previous versions; use the 'rake compat' task to run these.
    
    A large number of existing Sinatra idioms have been deprecated but
    continue to be supported through the 'sinatra/compat' library.
    
    * The "set_option" and "set_options" methods have been deprecated
      due to redundancy; use "set".
    
    * The "env" option (Sinatra::Base.env) has been renamed to "environment"
      and deprecated because it's too easy to confuse with the request-level
      Rack environment Hash (Sinatra::Base#env).
    
    * The request level "stop" method has been renamed "halt" and
      deprecated. This is for consistency with `throw :halt`.
    
    * The request level "entity_tag" method has been renamed "etag" and
      deprecated. Both versions were previously supported.
    
    * The request level "headers" method has been deprecated. Use
      response['Header-Name'] to access and modify response headers.
    
    * Sinatra.application is deprecated. Use Sinatra::Application instead.
    
    * Setting Sinatra.application = nil to reset an application is
      deprecated. You shouldn't have to reset objects anymore.
    
    * The Sinatra.default_options Hash is deprecated. Modifying this object now
      results in "set(key, value)" invocations on the Sinatra::Base
      subclass.
    
    * The "body.to_result" convention has been deprecated.
    
    * The ServerError exception has been deprecated. Any Exception is now
      considered a ServerError.
    rtomayko authored

Dec 01, 2008

  1. Ben Bleything

    fix documentation of variable interpolation into templates

    bleything authored rtomayko committed

Sep 27, 2008

  1. Simon Rozet

    document testing with rspec

    sr authored

Sep 25, 2008

  1. Jon Crosby

    Fix for test/unit and test/spec docs

    jcrosby authored

Sep 09, 2008

  1. Ryan Tomayko

    misc README formatting tweaks

    rtomayko authored

Aug 31, 2008

  1. Ryan Tomayko

    remove submodule instructions since we use rack gem now

    rtomayko authored
  2. Ryan Tomayko

    minor formatting tweaks to cypher's README updates

    rtomayko authored
  3. Ryan Tomayko

    merge cypher/update-readme

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