Commit Graph

123 Commits

Author SHA1 Message Date
John Bintz
306e5cd275 Merge pull request #30 from pdf/dont_mess_with_chunk_endcoded
Don't force iterating chunked (streamed) responses
2013-03-19 06:31:40 -07: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
John Bintz
c1415c32cb Merge pull request #28 from aptx4869/master
Escape ampersands in the generated URL
2013-03-18 03:25:24 -07:00
aptx4869
c9e096f77a escap & to & 2013-03-17 08:57:39 +08:00
John Bintz
9aae5fa5fa Merge pull request #25 from davidmiani/master
Added an option to change the port used by rack-livereload
2013-02-03 06:07:38 -08: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
John Bintz
fbbea710d7 bump version, prep for release 2012-12-17 13:45:18 -05:00
John Bintz
b3bd9fa9a4 Merge pull request #21 from matthewlehner/head_tag_only
Fixes for head tag regex
2012-12-14 06:28:52 -08:00
Matthew Lehner
0c5d9bc06b add specs for regex 2012-12-13 16:27:16 -08:00
Matthew Lehner
706d158328 extract head_tag_regex to constant 2012-12-13 16:27:06 -08:00
John Bintz
6f9576215a Merge pull request #19 from matthewlehner/head_tag_only
Fix for "head" and "header" tag confusion
2012-12-13 16:08:58 -08:00
John Bintz
13c50ca118 Merge pull request #20 from matthewlehner/master
Correct deprecated methods and requires in test suite
2012-12-13 16:08:23 -08:00
Matthew Lehner
657157fcf6 fix deprecated require for mocha 2012-12-13 14:49:31 -08:00
Matthew Lehner
a69cdf1103 remove deprecated rspec option from guardfile 2012-12-13 14:49:15 -08:00
Matthew Lehner
cc1ad71a62 don't insert into <header> tags. 2012-12-13 14:41:30 -08:00
John Bintz
ebeb331f0f bump version and update readme for new behavior 2012-12-05 09:04:42 -05: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
d1b9a6ef7b Merge pull request #16 from teamon/patch-1
Rack::Lock undefined for threadsafe Rails apps
2012-11-01 05:50:43 -07:00
Tymon Tobolski
6661507d83 Updated README for rails
Changed rails install guide so it will work for threadsafe apps too
2012-11-01 13:46:19 +01:00
John Bintz
7115365877 add license, fixes #14 2012-10-12 18:42:22 -04:00
John Bintz
2988401306 bump version 2012-09-18 17:23:39 -04:00
John Bintz
e998fab430 make sure things inserted into the body are actually strings 2012-09-18 17:22:19 -04:00
John Bintz
8c83b90015 Merge branch 'master' of github.com:johnbintz/rack-livereload 2012-07-10 17:51:10 -04:00
John Bintz
0d82995d8c update livereload.js 2012-07-10 17:50:52 -04:00
John Bintz
e51b347653 Merge pull request #11 from artemk/master
integration with travis ci
2012-06-05 06:41:31 -07:00
John Bintz
2ebc246b61 Merge pull request #10 from artemk/f235eab4421a2fb19e53a18ff6e7f33c0c25768f
no sense to add anything that is not 200.
2012-06-05 03:50:03 -07:00
Artem Kramarenko
926f052122 add travis icon to readme 2012-06-05 12:19:48 +03:00
Artem Kramarenko
859558622a touch 2012-05-30 19:51:24 +03:00
Artem Kramarenko
2f23626fe2 Appraisals and travis 2012-05-30 19:47:31 +03:00
Artem Kramarenko
f235eab442 no sense to add anything that is not 200. 2012-05-30 18:45:36 +03:00
John Bintz
e59329ed38 bump version 2012-03-06 14:38:50 -05:00
John Bintz
82279dee94 try another change 2012-03-05 14:14:41 -05:00
John Bintz
0a30019d22 try closing the original body, see if that helps 2012-03-05 13:48:03 -05:00
John Bintz
3180a3d3dd fix tests 2012-03-04 13:27:31 -05:00
John Bintz
075b92e7f4 duplicate the middleware to potentially solve threading conflicts 2012-03-04 13:25:45 -05:00
John Bintz
2e9828645a bump version 2012-03-03 09:59:44 -05:00
John Bintz
7733963658 merge 2012-03-02 09:27:12 -05:00
John Bintz
00a9eb9062 ensure you're actually working with real lines, not assuming the return value is an array you can mutate, fixes #6 2012-03-02 09:25:48 -05:00
John Bintz
4caf4d9263 bump version for release 2012-01-24 08:55:43 -05:00
John Bintz
1c030a942c Merge pull request #5 from enriclluelles/do_not_fail_without_content_type
Do not fail without content type
2012-01-23 15:13:12 -08:00
Enric Lluelles
90b9a75b35 Check that the content-type header is there first 2012-01-23 20:51:59 +01:00
Enric Lluelles
ab4e7256bb Added failing test 2012-01-23 20:51:08 +01:00
John Bintz
9e75660e10 Merge pull request #4 from enriclluelles/correct_content_length
Content-Length is supposed to be bytes, not chars
2012-01-23 10:56:58 -08:00
Enric Lluelles
6501c039b2 Content-Length is supposed to be bytes, not chars 2012-01-23 19:42:25 +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
67d07df724 bump version 2011-12-02 06:58:46 -05:00
John Bintz
5166ae2c26 fix bug when path was nil 2011-12-02 06:58:06 -05:00