1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/lib/sinatra/test
Ryan Tomayko 38588af109 Refactor options / configures into Sinatra::Application
This is a grab-bag of minor configuration related refactorings:

  * Moved the top-level #configures into Sinatra::Application and delegate from
    top-level to the default application.

  * Modified default options loading to parse command line arguments
    the first time Application::default_options is accessed only.

  * Removed the ability to reload default_options by setting an application's
    options to nil. We can add this back in fairly easily but it seems to lead
    to the bad practice of modifying default_options and then reloading instead
    of modifying the application options directly.
2008-04-27 23:55:28 -04:00
..
methods.rb Session testing made easy 2008-04-20 18:03:41 -07:00
spec.rb now running 2007-11-28 23:46:58 -08:00
unit.rb Refactor options / configures into Sinatra::Application 2008-04-27 23:55:28 -04:00