Skip to content
This repository

Feb 15, 2010

  1. Caio Chassot

    more robust 'rake doc:api' under different ruby environments

    In Rakefile, doc:api, fix hardcoded `hanna` call to derive the hanna
    executable name from ruby_install_name. So for ruby1.9, we get hanna1.9;
    for macruby, machanna; etc.
    Also did away with the shell line continuation backslashes, as we're
    gsubbing \s+ with ' ' anyway.
    authored February 13, 2010 rtomayko committed February 14, 2010

Jan 28, 2010

  1. Ryan Tomayko

    only define gem packaging tasks if rubygems is already loaded

    authored January 28, 2010
  2. Ryan Tomayko

    remove old rubyforge release rake tasks

    authored January 28, 2010

Jan 16, 2010

  1. Ryan Tomayko

    simplify gemspec loading, fix spec warnings under 1.9

    authored January 16, 2010

Jan 15, 2010

  1. Ryan Tomayko

    rake test puts work dir on explicitly for 1.9

    authored January 15, 2010

Oct 04, 2009

  1. added rake task for rcov

    authored September 26, 2009 rtomayko committed October 05, 2009

Jun 06, 2009

  1. Ryan Tomayko

    Remove 0.9.x compatibility specs :)

    authored June 05, 2009

Apr 26, 2009

  1. Simon Rozet

    Try to run compat tests with Rake::TestTask

    This should make the compat specs run under integrity
    installs at Heroku.
    authored April 20, 2009 rtomayko committed April 26, 2009

Apr 25, 2009

  1. Ryan Tomayko

    Fix specrb detection in rake compat task

    authored April 25, 2009

Apr 19, 2009

  1. Simon Rozet

    Update compat test task so that it works on Heroku

    authored April 19, 2009

Mar 31, 2009

  1. Ryan Tomayko

    Run normal and compat specs with default rake task

    The previous behavior was to run only the main test suite, which led
    to missed compat issues. You can get the old behavior by running
    "rake test" explicitly.
    authored March 31, 2009

Mar 24, 2009

  1. Ryan Tomayko

    Build distributables under pkg/ instead of dist/ (per blake's request)

    While here, clean up some random cruft in the Rakefile
    authored March 24, 2009

Feb 04, 2009

  1. James Tucker

    Added the dist directory to rake task clobber

    authored February 04, 2009 rtomayko committed February 04, 2009

Feb 03, 2009

  1. Ryan Tomayko

    Don't run compat specs with default rake task

    They don't run under 1.9 and bring in mocha and test-spec as
    dependencies. We should be fine with running these before releases
    at this point.
    authored January 31, 2009

Jan 26, 2009

  1. Ryan Tomayko

    Fix failing compat test due to Delegator changes

    Also, run compat tests with the default rake task.
    authored January 25, 2009

Jan 20, 2009

  1. Ryan Tomayko

    Don't require rubygems in tests; do fall back if necessary

    authored January 20, 2009
  2. Simon Rozet

    Convert tests to custom test/spec/mini [#87]

    The "spec" task has been removed and Rake's built in
    test helper is used to run specs now so we should be able to
    test with multiple installed versions of Ruby.
    authored January 20, 2009 rtomayko committed January 20, 2009

Jan 19, 2009

  1. Blake Mizerany

    remove defunct doc stuff

    authored January 18, 2009

Jan 18, 2009

  1. Ryan Tomayko "that was quick" release

    authored January 18, 2009
  2. Ryan Tomayko

    0.9.0 release

    authored January 18, 2009

Jan 07, 2009

  1. Ryan Tomayko

    Update CHANGES file with hoboken notes

    authored January 06, 2009

Dec 21, 2008

  1. Ryan Tomayko

    update sinatra.gemspec

    authored December 20, 2008
  2. 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
    * 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
    * 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
    * The "body.to_result" convention has been deprecated.
    * The ServerError exception has been deprecated. Any Exception is now
      considered a ServerError.
    authored December 13, 2008

Nov 02, 2008

  1. Ryan Tomayko

    doc/website cleanup

    authored November 02, 2008
  2. Simon Rozet

    rake tasks to build a simple website

    authored November 02, 2008 rtomayko committed November 02, 2008
  3. Karel Minarik

    rake task for generating rubyforge website; assets (logo, CSS)

    authored November 02, 2008 rtomayko committed November 02, 2008

Sep 08, 2008

  1. Ryan Tomayko

    rake tasks for publishing API and gems to rubyforge

    authored September 07, 2008
  2. Ryan Tomayko

    rake task for updating sinatra.gemspec files manifest

    authored September 07, 2008

Aug 31, 2008

  1. Ryan Tomayko

    read gemspec in simulated github environment

    authored August 31, 2008
  2. Ryan Tomayko

    rake task for generating rdoc with hanna template

    This uses the hanna command shipped with the hanna gem. The
    preferred method of using is to require 'hanna/rdoctask' in
    your Rakefile but this caused various gem depency errors (blame
    Hoe, rdoc 2.0, Echoe, and rubyforge).
    You have to install mislav's hanna gem from github:
      $ sudo gem install mislav-hanna --source=
    Run the doc task to generate rdoc under doc/api:
      $ rake doc
    See mislav's repo for more info on template usage:
    See the HAML docs for an example of the hanna template in action:
    authored May 27, 2008
  3. Ryan Tomayko

    add .gemspec; remove echoe

    authored August 31, 2008

Apr 16, 2008

  1. Freezing Rack into package to take care of upload issue

    authored April 15, 2008

Apr 15, 2008

  1. Ryan Tomayko

    Rakefile: completely remove test and doc tasks

    It turns out Echoe creates doc and test tasks that do exactly what
    we want.
    authored April 15, 2008

Apr 14, 2008

  1. Ryan Tomayko

    Fix unit tests running twice

    Echoe creates a test task that works exactly like the one explicitly specified
    in the Rakefile. Remove the explicit test task.
    authored April 13, 2008

Apr 11, 2008

  1. Sinatra 0.2.0 released

    authored April 11, 2008
Something went wrong with that request. Please try again.