Commit Graph

33 Commits

Author SHA1 Message Date
Konstantin Haase 284b4b6d72 let Sinatra::RespondWith use Sinatra::JSON 2011-05-09 08:03:34 +02:00
Konstantin Haase e06d6417bf add Sinatra::JSON 2011-05-09 07:52:36 +02:00
Konstantin Haase a104ee3649 add initial CSRF protection implementation 2011-04-26 22:19:57 +02:00
Konstantin Haase 5e1375a5cc fixes for Tilt 1.3 2011-04-26 22:19:03 +02:00
Konstantin Haase 14a1613013 play nice if yield_content or content_for is called from outside a template 2011-04-26 11:05:14 +02:00
Gabriel Andretta 27715feb98 the reloader should be aware of removed files 2011-04-16 16:30:16 -03:00
Gabriel Andretta db00fb8c19 simplify reloader test helpers 2011-04-16 15:38:00 -03:00
Gabriel Andretta 152632cc85 make the reloader specs work on rubinius 2011-04-16 15:06:30 -03:00
Gabriel Andretta a0487d8515 add reloader docs 2011-04-14 13:00:09 -03:00
Gabriel Andretta 8a26f5bb57 fix bug when reloading inline templates 2011-04-13 22:16:22 -03:00
Gabriel Andretta 449c85918f enable reloader (by default) only in development 2011-04-13 21:24:40 -03:00
Gabriel Andretta 7c9156ff0c every application should have its reloading policy 2011-04-13 15:51:46 -03:00
Gabriel Andretta a852f357d7 add specs for .dont_reload and .also_reload 2011-04-13 15:38:35 -03:00
Gabriel Andretta 0b1496e889 use a new application for each reloader example 2011-04-12 21:03:52 -03:00
Gabriel Andretta 05755545bc start reimplementation of sinatra-reloader 2011-04-10 23:57:22 -03:00
Konstantin Haase 825c7e2412 add template support to namespaces 2011-03-29 10:08:05 +02:00
Konstantin Haase 5360a0d930 add tests for calling yield_content more than once 2011-03-28 17:12:43 +02:00
Konstantin Haase e417ccc1e7 add slim support to content_for 2011-03-28 16:57:39 +02:00
Konstantin Haase ee59224a99 add support for erubis to content-for 2011-03-28 16:23:34 +02:00
Konstantin Haase 7e72a34a3a don't rely on template engine internals to capture a block, makes yield_content usage consistent in erb and haml, allows combining the two 2011-03-28 16:06:17 +02:00
Konstantin Haase 7fa95253e3 move content-for tests to rspec 2011-03-28 10:11:57 +02:00
Konstantin Haase 676d217a3b add test for raising and error when trying to change app global settings from a namespace 2011-03-26 00:40:58 +01:00
Konstantin Haase fb488b9867 trigger route_added hooks for namespace-only extensions 2011-03-26 00:39:16 +01:00
Konstantin Haase 31cdac9d0e make respond-with play nice with namespace 2011-03-26 00:22:19 +01:00
Konstantin Haase 503250fd67 add tests for Sinatra::RespondWith#respond_to 2011-03-26 00:16:40 +01:00
Konstantin Haase 18e379f1cf add reimplementation of sinatra-extension 2011-03-26 00:13:26 +01:00
Konstantin Haase e6f15a2888 add sinatra-respond-with 2011-03-26 00:02:03 +01:00
Konstantin Haase ec248a8b5a add reimplemenation of sinatra-config-file 2011-03-24 10:25:00 +01:00
Konstantin Haase 99029a0b41 implement namespace local error handling 2011-03-24 08:57:36 +01:00
Konstantin Haase aee11b812f start reimplementation of sinatra-namespace 2011-03-24 08:47:56 +01:00
Konstantin Haase 074aedc187 new extensions: sinatra-link-helper 2011-03-24 08:46:55 +01:00
Konstantin Haase 0aa2cc7308 rewrite sinatra-test-helpers 2011-03-24 08:45:57 +01:00
Konstantin Haase f5e015894d import sinatra-decompile 2011-03-24 08:45:29 +01:00