sinatra.git
16 years agoErrors when testingmaster
Blake Mizerany [Thu, 17 Jan 2008 20:09:19 +0000 (17 12:09 -0800)]
Errors when testing

16 years agoSetting the env in test
Blake Mizerany [Thu, 17 Jan 2008 02:16:41 +0000 (16 18:16 -0800)]
Setting the env in test

16 years agosimple options
Blake Mizerany [Wed, 16 Jan 2008 01:30:54 +0000 (15 17:30 -0800)]
simple options

16 years agoBetter testing
Blake Mizerany [Tue, 15 Jan 2008 23:00:40 +0000 (15 15:00 -0800)]
Better testing

16 years agoagent testing!
Blake Mizerany [Tue, 15 Jan 2008 22:30:41 +0000 (15 14:30 -0800)]
agent testing!

16 years ago* Splat works
Blake Mizerany [Sat, 12 Jan 2008 01:01:00 +0000 (11 17:01 -0800)]
* Splat works
* Filter by agent

16 years agonot needednew2origin/new2
Blake Mizerany [Mon, 3 Dec 2007 00:03:03 +0000 (2 16:03 -0800)]
not needed

16 years agoFIX: Tests passing
Blake Mizerany [Sun, 2 Dec 2007 23:48:45 +0000 (2 15:48 -0800)]
FIX:  Tests passing

16 years agotests
Blake Mizerany [Sun, 2 Dec 2007 23:41:58 +0000 (2 15:41 -0800)]
tests

16 years agostatic files
Blake Mizerany [Sun, 2 Dec 2007 08:29:08 +0000 (2 00:29 -0800)]
static files

16 years agoalias configure
Blake Mizerany [Fri, 30 Nov 2007 03:40:25 +0000 (29 19:40 -0800)]
alias configure

16 years ago* Default error messages
Blake Mizerany [Fri, 30 Nov 2007 02:35:06 +0000 (29 18:35 -0800)]
* Default error messages
* Use SINATRA_ENV var if set

16 years agoNotify user of error if DSL error
Blake Mizerany [Fri, 30 Nov 2007 01:57:07 +0000 (29 17:57 -0800)]
Notify user of error if DSL error

16 years agoCustom 500's
Blake Mizerany [Fri, 30 Nov 2007 01:56:18 +0000 (29 17:56 -0800)]
Custom 500's

16 years agoCustom 404
Blake Mizerany [Fri, 30 Nov 2007 01:44:59 +0000 (29 17:44 -0800)]
Custom 404

16 years agoFIX: maintain default_options through resets
Blake Mizerany [Thu, 29 Nov 2007 08:35:04 +0000 (29 00:35 -0800)]
FIX:  maintain default_options through resets

16 years agooptions
Blake Mizerany [Thu, 29 Nov 2007 08:15:46 +0000 (29 00:15 -0800)]
options

16 years agonow running
Blake Mizerany [Thu, 29 Nov 2007 07:46:58 +0000 (28 23:46 -0800)]
now running

16 years agothis should be stop and body= should go to @response
Blake Mizerany [Thu, 29 Nov 2007 05:28:59 +0000 (28 21:28 -0800)]
this should be stop and body= should go to @response

16 years agocleanup
Blake Mizerany [Thu, 29 Nov 2007 05:16:47 +0000 (28 21:16 -0800)]
cleanup

16 years agolayouts and templates from files
Blake Mizerany [Thu, 29 Nov 2007 05:13:51 +0000 (28 21:13 -0800)]
layouts and templates from files

16 years agolooking for layouts in files if not inline
Blake Mizerany [Thu, 29 Nov 2007 05:00:25 +0000 (28 21:00 -0800)]
looking for layouts in files if not inline

16 years agobroke out render evaluation for plugin-gems to override
Blake Mizerany [Thu, 29 Nov 2007 04:14:11 +0000 (28 20:14 -0800)]
broke out render evaluation for plugin-gems to override

16 years agonamed partials
Blake Mizerany [Thu, 29 Nov 2007 03:53:36 +0000 (28 19:53 -0800)]
named partials

16 years agosimple layouts
Blake Mizerany [Thu, 29 Nov 2007 02:32:49 +0000 (28 18:32 -0800)]
simple layouts

16 years agolayouts
Blake Mizerany [Thu, 29 Nov 2007 02:21:04 +0000 (28 18:21 -0800)]
layouts

16 years agorender defaults to body or returned body
Blake Mizerany [Wed, 28 Nov 2007 21:36:19 +0000 (28 13:36 -0800)]
render defaults to body or returned body

16 years agoUsing :halt to set body
Blake Mizerany [Wed, 28 Nov 2007 21:25:14 +0000 (28 13:25 -0800)]
Using :halt to set body

16 years agothrow :halt
Blake Mizerany [Wed, 28 Nov 2007 10:55:19 +0000 (28 02:55 -0800)]
throw :halt

16 years agoreturning
Blake Mizerany [Wed, 28 Nov 2007 08:10:12 +0000 (28 00:10 -0800)]
returning

16 years agoin context
Blake Mizerany [Wed, 28 Nov 2007 07:47:48 +0000 (27 23:47 -0800)]
in context

16 years agoevaluate in context
Blake Mizerany [Wed, 28 Nov 2007 07:24:13 +0000 (27 23:24 -0800)]
evaluate in context

16 years agoserving simple events
Blake Mizerany [Wed, 28 Nov 2007 06:52:52 +0000 (27 22:52 -0800)]
serving simple events

16 years agoinvoke results with a block; not the body
Blake Mizerany [Wed, 28 Nov 2007 06:31:31 +0000 (27 22:31 -0800)]
invoke results with a block; not the body

16 years agomore tests
Blake Mizerany [Wed, 28 Nov 2007 05:55:05 +0000 (27 21:55 -0800)]
more tests

16 years agorefactored
Blake Mizerany [Wed, 28 Nov 2007 04:26:48 +0000 (27 20:26 -0800)]
refactored

16 years agosimple event lookup
Blake Mizerany [Wed, 28 Nov 2007 04:16:12 +0000 (27 20:16 -0800)]
simple event lookup

16 years agostarting
Blake Mizerany [Wed, 28 Nov 2007 03:12:06 +0000 (27 19:12 -0800)]
starting

16 years agobreaking out into separate files
Blake Mizerany [Tue, 27 Nov 2007 05:42:20 +0000 (26 21:42 -0800)]
breaking out into separate files

16 years agoquick irb
Blake Mizerany [Tue, 27 Nov 2007 03:26:01 +0000 (26 19:26 -0800)]
quick irb

16 years agogrouping for other verbs
Blake Mizerany [Mon, 26 Nov 2007 02:27:38 +0000 (25 18:27 -0800)]
grouping for other verbs

16 years agoquick fix
Blake Mizerany [Mon, 26 Nov 2007 02:25:50 +0000 (25 18:25 -0800)]
quick fix

16 years agorefactored
Blake Mizerany [Mon, 26 Nov 2007 02:24:27 +0000 (25 18:24 -0800)]
refactored

16 years agoafters working
Blake Mizerany [Mon, 26 Nov 2007 02:15:58 +0000 (25 18:15 -0800)]
afters working

16 years ago* fixed reloading and warnings.
Blake Mizerany [Mon, 26 Nov 2007 01:20:20 +0000 (25 17:20 -0800)]
* fixed reloading and warnings.
* still get warnings when running tests with rake.  need to fix this

16 years ago* reset! for tests
Blake Mizerany [Mon, 26 Nov 2007 00:29:11 +0000 (25 16:29 -0800)]
* reset! for tests
* logging

16 years agologging started
Blake Mizerany [Sun, 25 Nov 2007 04:03:56 +0000 (24 20:03 -0800)]
logging started

16 years agoFIX: Needs to end in _test
Blake Mizerany [Sun, 25 Nov 2007 03:55:34 +0000 (24 19:55 -0800)]
FIX:  Needs to end in _test

16 years agoreloading
Blake Mizerany [Sun, 25 Nov 2007 02:40:52 +0000 (24 18:40 -0800)]
reloading

16 years agopulling send file out for now
Blake Mizerany [Sun, 25 Nov 2007 02:36:41 +0000 (24 18:36 -0800)]
pulling send file out for now

16 years agoquick fix
Blake Mizerany [Sun, 25 Nov 2007 01:42:33 +0000 (24 17:42 -0800)]
quick fix

16 years agoup and running
Blake Mizerany [Sun, 25 Nov 2007 01:40:10 +0000 (24 17:40 -0800)]
up and running

16 years agothrow :halt within requests
Blake Mizerany [Sun, 25 Nov 2007 01:12:07 +0000 (24 17:12 -0800)]
throw :halt within requests

16 years agofilters test
Blake Mizerany [Sun, 25 Nov 2007 00:48:09 +0000 (24 16:48 -0800)]
filters test

16 years agofilters
Blake Mizerany [Sun, 25 Nov 2007 00:34:15 +0000 (24 16:34 -0800)]
filters

16 years agoroute test passing
Blake Mizerany [Sat, 24 Nov 2007 23:16:40 +0000 (24 15:16 -0800)]
route test passing

16 years ago* add helpers test
Blake Mizerany [Sat, 24 Nov 2007 02:22:27 +0000 (23 18:22 -0800)]
* add helpers test
* format-for-free is overridden by explicit :format in route

16 years agohelpers
Blake Mizerany [Sat, 24 Nov 2007 02:05:42 +0000 (23 18:05 -0800)]
helpers

16 years agoformat
Blake Mizerany [Sat, 24 Nov 2007 02:02:29 +0000 (23 18:02 -0800)]
format

16 years agoa little refactoring
Blake Mizerany [Sat, 24 Nov 2007 01:39:24 +0000 (23 17:39 -0800)]
a little refactoring

16 years agostatic files
Blake Mizerany [Sat, 24 Nov 2007 01:32:21 +0000 (23 17:32 -0800)]
static files

16 years agono need to set 404 in 404
Blake Mizerany [Fri, 23 Nov 2007 07:58:33 +0000 (22 23:58 -0800)]
no need to set 404 in 404

16 years agoEvents can have multiple routes
Blake Mizerany [Fri, 23 Nov 2007 07:57:36 +0000 (22 23:57 -0800)]
Events can have multiple routes

16 years agonormalize for windows users
Blake Mizerany [Thu, 22 Nov 2007 01:37:52 +0000 (21 17:37 -0800)]
normalize for windows users

16 years agoHandle multiple errors with one block
Blake Mizerany [Thu, 22 Nov 2007 01:36:35 +0000 (21 17:36 -0800)]
Handle multiple errors with one block

16 years agoErrors should know and set their error code
Blake Mizerany [Thu, 22 Nov 2007 01:24:40 +0000 (21 17:24 -0800)]
Errors should know and set their error code

16 years ago* can't find a way to test Test::Unit in isolation. Ignore tests for now.
Blake Mizerany [Wed, 21 Nov 2007 23:49:40 +0000 (21 15:49 -0800)]
* can't find a way to test Test::Unit in isolation.  Ignore tests for now.
* updated to_proc for correct __send__

16 years ago* test test
Blake Mizerany [Wed, 21 Nov 2007 23:45:38 +0000 (21 15:45 -0800)]
* test test
* test 404 status returned when 404

16 years ago* Tests for error dsl method
Blake Mizerany [Wed, 21 Nov 2007 23:38:14 +0000 (21 15:38 -0800)]
* Tests for error dsl method
* Extracted Test helpers out

16 years agouse DSL for default error events
Blake Mizerany [Wed, 21 Nov 2007 23:27:24 +0000 (21 15:27 -0800)]
use DSL for default error events

16 years agoRakefile
Blake Mizerany [Wed, 21 Nov 2007 22:56:42 +0000 (21 14:56 -0800)]
Rakefile

16 years agouse the same context when handling errors
Blake Mizerany [Wed, 21 Nov 2007 22:54:27 +0000 (21 14:54 -0800)]
use the same context when handling errors

16 years agotests refactored
Blake Mizerany [Wed, 21 Nov 2007 22:53:52 +0000 (21 14:53 -0800)]
tests refactored

16 years agoRaise errors when requested
Blake Mizerany [Wed, 21 Nov 2007 22:15:59 +0000 (21 14:15 -0800)]
Raise errors when requested

16 years agoREFACTORED: simple events
Blake Mizerany [Wed, 21 Nov 2007 20:43:52 +0000 (21 12:43 -0800)]
REFACTORED:  simple events

16 years agocustom handling
Blake Mizerany [Wed, 21 Nov 2007 10:56:02 +0000 (21 02:56 -0800)]
custom handling

16 years agocustom 404's and 500's
Blake Mizerany [Wed, 21 Nov 2007 10:50:42 +0000 (21 02:50 -0800)]
custom 404's and 500's

16 years agoroutes determined
Blake Mizerany [Wed, 21 Nov 2007 10:18:27 +0000 (21 02:18 -0800)]
routes determined

16 years agoroutes working
Blake Mizerany [Wed, 21 Nov 2007 09:49:47 +0000 (21 01:49 -0800)]
routes working

16 years agostarting again
Blake Mizerany [Wed, 21 Nov 2007 09:47:29 +0000 (21 01:47 -0800)]
starting again

16 years agostart 2
Blake Mizerany [Wed, 21 Nov 2007 09:42:22 +0000 (21 01:42 -0800)]
start 2

16 years agoremove irrelevant warningsoldorigin/HEAD
Blake Mizerany [Sat, 27 Oct 2007 04:34:46 +0000 (26 21:34 -0700)]
remove irrelevant warnings

16 years agoUpdating rdoc
Blake Mizerany [Sat, 27 Oct 2007 02:03:22 +0000 (26 19:03 -0700)]
Updating rdoc

16 years agoAlways re-raise errors when testing
Blake Mizerany [Fri, 26 Oct 2007 23:25:23 +0000 (26 16:25 -0700)]
Always re-raise errors when testing

16 years agoShow errors and exit instead of letting the server start
Blake Mizerany [Fri, 26 Oct 2007 23:09:40 +0000 (26 16:09 -0700)]
Show errors and exit instead of letting the server start

16 years agoUpdated tests
Blake Mizerany [Fri, 26 Oct 2007 22:45:00 +0000 (26 15:45 -0700)]
Updated tests

16 years agoMUCH LOVE for testing
Blake Mizerany [Fri, 26 Oct 2007 22:37:43 +0000 (26 15:37 -0700)]
MUCH LOVE for testing

16 years agoPATCH (Benjamin Birnbaum): HAML Layouts fixed
Blake Mizerany [Fri, 26 Oct 2007 18:25:37 +0000 (26 11:25 -0700)]
PATCH (Benjamin Birnbaum):  HAML Layouts fixed

16 years agocookie helpers
Blake Mizerany [Fri, 26 Oct 2007 04:17:16 +0000 (25 21:17 -0700)]
cookie helpers

16 years agousing Rack's Response to leverage it's code
Blake Mizerany [Fri, 26 Oct 2007 04:06:05 +0000 (25 21:06 -0700)]
using Rack's Response to leverage it's code

16 years agoAllow before and after_attend events to put themselves in front of the line
Blake Mizerany [Fri, 26 Oct 2007 02:21:24 +0000 (25 19:21 -0700)]
Allow before and after_attend events to put themselves in front of the line

16 years agoFIX: Removing sessions
Blake Mizerany [Fri, 26 Oct 2007 02:26:57 +0000 (25 19:26 -0700)]
FIX:  Removing sessions

Session should be handled by a plugin of your choice.  Sinatra will not handle this for you.

16 years agoLoading vendor directories after the environment is set
Blake Mizerany [Thu, 25 Oct 2007 20:24:49 +0000 (25 13:24 -0700)]
Loading vendor directories after the environment is set

16 years agogetting ready for releasev0.1.7
Blake Mizerany [Tue, 23 Oct 2007 22:42:00 +0000 (23 15:42 -0700)]
getting ready for release

16 years agoDiscontinuing use of production/staging/test config methods because of conflict with...
Blake Mizerany [Tue, 23 Oct 2007 01:59:15 +0000 (22 18:59 -0700)]
Discontinuing use of production/staging/test config methods because of conflict with other libs such as Sequel.

Use config_for.

16 years agoFIX: StaticEvents should ignore directories during path recognition
Blake Mizerany [Tue, 23 Oct 2007 01:47:57 +0000 (22 18:47 -0700)]
FIX:  StaticEvents should ignore directories during path recognition

16 years agorequire users vendor directory on loadorigin/masterv0.1.6
Blake Mizerany [Mon, 15 Oct 2007 20:56:39 +0000 (15 13:56 -0700)]
require users vendor directory on load

16 years agoreleasing fixes with mutex and before-filter additionsv0.1.5
Blake Mizerany [Mon, 8 Oct 2007 01:36:56 +0000 (7 18:36 -0700)]
releasing fixes with mutex and before-filter additions

16 years agobefore-filters with docs
Blake Mizerany [Mon, 8 Oct 2007 01:24:32 +0000 (7 18:24 -0700)]
before-filters with docs

16 years agoOptional mutex lock
Blake Mizerany [Sun, 7 Oct 2007 23:26:05 +0000 (7 16:26 -0700)]
Optional mutex lock