1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

18 commits

Author SHA1 Message Date
Konstantin Haase
1d9034ff80 use new! rather than new for tests testing instance method
that way we ensure not to have any middleware in front of the Sinatra instance
2011-03-12 15:52:43 +01:00
Konstantin Haase
af2de4ee51 Only run error handlers if show_excetions is set to :after_handler, not when it is set to true. 2010-10-12 22:27:56 +02:00
pangel
732bc75d57 Bugfix. show_exceptions used to override app-specified exceptions (error do ... end blocks).
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-10-11 08:49:54 +02:00
Konstantin Haase
ea1426f38b Proper encoding test. 2010-09-10 18:21:30 +02:00
Konstantin Haase
7289cd905c Better handling of encodings in Ruby 1.9, defaults to UTF-8. Fixes GH #27, GH #38 and params issue that came up in IRC. 2010-09-07 09:43:31 +02:00
Konstantin Haase
33affbf264 Add class level #settings for convenience. 2010-09-02 13:58:23 +02:00
Simon Rozet
1187a86634 set accepts anything responding to each
Closes #8
2010-07-11 11:11:24 +02:00
Simon Rozet
ccb66b0f30 get rid of backtrace cleaning 2010-03-10 16:25:01 -08:00
Ryan Tomayko
12ee3ba36c raise_errors is disabled by default except in test environment 2010-03-04 05:57:26 -08:00
Ryan Tomayko
30c2ef8396 set with block and value raises ArgumentError 2010-02-05 13:45:52 -08:00
7rans
0915274b69 add test for using set with a block 2010-02-05 15:12:28 -05:00
Blake Mizerany
849a5a95fc using -b over -h option from cli for bind address
I've also renamed all occurrences of options.host
to options.bind
2010-02-04 17:16:05 -08:00
Simon Rozet
e153415527 rename methodoverride setting to method_override
for consistancy with others settings which are all snake case
2010-01-29 18:44:07 +01:00
Ryan Tomayko
afe0349688 Base enable show_exceptions, dump_errors in development 2010-01-28 08:11:19 -08:00
Ryan Tomayko
de6d6d6657 Base enables static by default if public is set and exists 2010-01-28 08:04:43 -08:00
Simon Rozet
01b5f65969 options => settings in ShowExceptions 2009-12-23 03:52:09 +01:00
Simon Rozet
b1936b6a28 Clean-up settings test 2009-12-23 03:50:43 +01:00
Simon Rozet
c6304830cb options_test.rb => settings_test.rb 2009-12-23 03:48:25 +01:00
Renamed from test/options_test.rb (Browse further)