Commit Graph

27 Commits

Author SHA1 Message Date
Nathan Hoel 3c58d4b0c0 Only injects code into the first occurrence of <head> tags 2014-12-08 15:00:58 -05:00
Stefan Wrobel 117f251ff7 Skip processing for non-GET requests 2013-08-20 13:55:47 -07:00
John Bintz 8cd7e10604 skipping the testing of a method bit me. d'oh 2013-04-26 10:47:41 -04:00
John Bintz 730a595be2 big refactoring 2013-04-23 16:28:23 -04:00
ssendev 698ae43650 pass images through 2013-04-21 15:48:32 +02:00
Adam McCrea 45d5868aa6 Handle Rails apps running on relative root 2013-04-02 10:13:37 -04:00
John Bintz 20f03cbe7c ...and fix the test for that 2013-03-27 17:50:58 -04:00
Peter Fern 6b93954231 While we're at not messing with stuff, don't mess with inlined content 2013-03-19 17:32:46 +11:00
Peter Fern 75c50f7e92 Don't force iterating chunked (streamed) responses 2013-03-19 17:11:45 +11:00
David Miani 206ce04e77 Adds the live_reload_port option.
This allows the javascript to work with a non default value for the
livereload port (specified with the port option in the guard command).

For example, in config/environments/development.rb in rails:
  config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload, :live_reload_port => 22351)
works with the following in the Guardfile:
  guard 'livereload', port: '22351' do
    ...
  end

This allows multiple guard livereload processes to operate at the same time without
conflicts.
2013-02-03 22:46:38 +11:00
John Bintz 85855cb25a don't try to close text/event-stream bodies, should fix #24 2013-01-24 10:22:54 -05:00
Matthew Lehner 0c5d9bc06b add specs for regex 2012-12-13 16:27:16 -08:00
Matthew Lehner cc1ad71a62 don't insert into <header> tags. 2012-12-13 14:41:30 -08:00
John Bintz 394af20be2 put the javascript at the start of the head block 2012-12-04 14:12:53 -05:00
John Bintz 7a6a51cb62 potential fix for turbolinks load order problem 2012-12-03 14:00:45 -05:00
John Bintz 3180a3d3dd fix tests 2012-03-04 13:27:31 -05:00
Enric Lluelles ab4e7256bb Added failing test 2012-01-23 20:51:08 +01:00
John Bintz e223e1ddbf a little cleanup, add cucumber, add support for ignoring particular browsers 2012-01-03 08:58:51 -05:00
John Bintz 5166ae2c26 fix bug when path was nil 2011-12-02 06:58:06 -05:00
John Bintz 20ef5cc1f3 add the ability to ignore certain urls that may match 2011-12-01 07:25:02 -05:00
John Bintz d4c8e8cf96 ensure some sort of host for rack::mockrequests that don't provide one 2011-11-28 10:42:39 -05:00
John Bintz 47faab2457 add support for web-sockets-js 2011-11-17 15:44:48 -05:00
John Bintz 92479fdaff detection and use of local livereload if available 2011-11-08 09:48:34 -05:00
John Bintz eccebca01f override the host. now it is complete. no more changes ever need to be made to this. ever. 2011-11-07 09:11:27 -05:00
John Bintz ccf888dd30 set options when adding the middleware to the stack 2011-11-07 09:06:40 -05:00
John Bintz ec2a2e3115 haha, fix a dumb bug: 2011-11-04 11:57:41 -04:00
John Bintz 2115047ab1 initial commit 2011-11-04 11:51:22 -04:00