Commit Graph

24 Commits

Author SHA1 Message Date
stjhimy 26a7ba68d4 Add .after_reload to Sinatra::Reloader 2016-07-25 10:15:01 -03:00
stjhimy 8003802307 Migrate to rspec 3.4 2016-06-21 15:12:09 -03:00
Bo Jeanes 5e01e0db22 Limit backports usage in specs 2014-05-12 19:59:19 -07:00
Trevor Bramble a8bfd1f860 Use global rather than class vars in reloader spec
The use of class variables in the Reloader spec would trigger warnings
in Ruby 1.9.3 and (I believe) cause the Rubinius failures in same specs.

Related bug: http://bugs.ruby-lang.org/issues/3080
2012-03-13 00:18:17 -07:00
Konstantin Haase 4a1c2f8cb1 speed up reloader specs 2011-08-17 12:25:43 +02:00
Konstantin Haase 3e3f05863a typo 2011-08-17 12:16:53 +02:00
Gabriel Andretta 5a0d33abd3 error handler reloading 2011-06-25 20:39:48 -03:00
Gabriel Andretta bb59fe6b93 speed up some reloader specs 2011-06-19 13:25:48 -03:00
Gabriel Andretta e78f84e1b8 enable the reloader in subclasses automatically 2011-06-19 13:18:04 -03:00
Gabriel Andretta 4e01a613a8 extension reloading 2011-06-19 13:18:04 -03:00
Gabriel Andretta c562abc2c9 filter reloading 2011-06-19 13:18:04 -03:00
Gabriel Andretta eecfe3dc97 middleware reloading 2011-06-19 13:18:04 -03:00
Gabriel Andretta b0cb2c45a5 reorganize reloader specs 2011-06-19 13:18:04 -03:00
Konstantin Haase 5e1375a5cc fixes for Tilt 1.3 2011-04-26 22:19:03 +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