Konstantin Haase
|
5aa1c7cdf4
|
add session option to protection, fixes #601
|
2013-02-26 17:25:19 +11:00 |
|
Tim Felgentreff
|
37e7d43034
|
MagLev doesn't #expand __FILE__ like it should
|
2012-08-17 09:55:56 +02:00 |
|
Konstantin Haase
|
6ec5234517
|
be smarter about servers
|
2012-05-13 20:59:49 +02:00 |
|
Gabriel Andretta
|
3054dbcb9d
|
alias public_folder as public_dir
|
2012-03-11 15:00:33 -03:00 |
|
Konstantin Haase
|
de02cb427b
|
add puma
|
2012-03-08 09:11:11 +01:00 |
|
Konstantin Haase
|
1f1e58e221
|
add rack-protection, fixes #310
|
2011-09-02 14:54:49 -06:00 |
|
Tim Felgentreff
|
2f5816eb08
|
explicitely use public_method_defined instead of just method_defined
|
2011-06-16 10:31:20 +02:00 |
|
Konstantin Haase
|
d1ab58deb3
|
rename public to public_folder, fixes #301
|
2011-06-16 00:24:27 +02:00 |
|
Konstantin Haase
|
2d8971293a
|
add (failing) tests for Module#public, related to #301
|
2011-06-15 23:30:46 +02:00 |
|
Konstantin Haase
|
fd74972da1
|
do not dump 404 traces
|
2011-06-10 13:21:52 +02:00 |
|
Konstantin Haase
|
e9e3c8500a
|
refactor #set
|
2011-06-05 09:33:00 +02:00 |
|
Konstantin Haase
|
67ae9be4f2
|
refactor error handling (removes one instance_eval)
|
2011-06-04 20:02:21 +02:00 |
|
Konstantin Haase
|
e001d62669
|
adjust require lines for test helper, so it also works properly on 1.9.2
|
2011-05-11 09:44:02 +02:00 |
|
Konstantin Haase
|
db761b8b07
|
let app_file default to the file subclassing Sinatra::Base in modular apps
|
2011-05-03 20:17:02 +02:00 |
|
Konstantin Haase
|
1632f24b7d
|
detect whether a second argument was passed to #set correctly
|
2011-04-15 15:08:25 +02:00 |
|
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 |
|