Commit Graph

107 Commits

Author SHA1 Message Date
Payam Moghaddam
9a4316ce37 Update middleware order to resolve flash.keep issue and unnecessary logging 2014-10-11 22:09:22 -07:00
John Bintz
952ea670dd Merge pull request #52 from johnkchow/master
Catch an IOError that happens on Ruby 2.0
2014-07-18 07:32:13 -04:00
John Bintz
5cdf2368e8 Merge pull request #56 from hirak/patch-1
explicitly state MIT License in gemspec
2014-06-10 14:37:48 -04:00
Hiraku NAKANO
5b5d62925f explicitly state MIT License in gemspec 2014-06-10 20:41:05 +09:00
John Chow
d67df1bb77 Catch an IOError that happens on Ruby 2.0
Would get a #<IOError: closed stream> error on Ruby 2.0
2014-03-01 13:12:48 -08:00
John Bintz
13ac1c85f3 Merge pull request #46 from zorab47/issue-45-clarify-readme-example
Clarify README's installation instructions
2013-09-16 07:17:21 -07:00
Charles Maresh
165f057cd3 Clarify README's installation instructions
Add detail to the Rails installation sections and show default
configuration options. Also simplify example's usage and add link to find
more information on Rails middlewares.
2013-09-13 13:55:17 -05:00
John Bintz
40a2ab41fb Merge pull request #44 from aspiers/patch-1
fix README reference to changing port
2013-09-06 13:51:00 -07:00
Adam Spiers
cd592e9c41 fix README reference to changing port
#25 forgot to update README.md to reference the new
`live_reload_port` option.
2013-09-06 16:17:07 +01:00
John Bintz
81a14b4357 Merge pull request #43 from swrobel/master
Fix typo in .travis.yml to prevent Rails 4 building on Ruby < 1.9.3
2013-08-22 18:36:05 -07:00
Stefan Wrobel
89b4a710e8 Fix typo in .travis.yml to prevent Rails 4 building on Ruby < 1.9.3 2013-08-21 23:57:55 -07:00
John Bintz
ab8fe2944a Merge pull request #42 from swrobel/only-get
Skip processing for non-GET requests
2013-08-20 16:02:07 -07:00
Stefan Wrobel
707d2955e0 Test on Ruby 2 && Rails 4 2013-08-20 15:56:47 -07:00
Stefan Wrobel
e9f4417307 Set max Nokogiri version for development on Ruby 1.8 2013-08-20 14:46:09 -07:00
Stefan Wrobel
a0ed81e1b4 Remove appraisal lock files to fix travis 2013-08-20 14:30:18 -07:00
Stefan Wrobel
117f251ff7 Skip processing for non-GET requests 2013-08-20 13:55:47 -07:00
John Bintz
81fb8384cb bump version 2013-05-24 08:32:50 -04:00
John Bintz
85a27e6bec Merge pull request #38 from sourcery/master
Reference the top-level Timeout, to avoid conflicts with Rack::Timeout
2013-05-24 05:31:54 -07:00
Ben Woosley
1891dbb920 Reference the top-level Timeout, to avoid conflicts with Rack::Timeout
Otherwise we get: #<NameError: uninitialized constant Rack::Timeout::Error>
2013-05-23 21:30:11 -07:00
John Bintz
e43835bdbf bump version for release 2013-05-15 10:58:30 -04:00
John Bintz
25a5d217f5 Merge pull request #37 from theo-bittencourt/dont-skip-processing-when-code-isnt-200
don't skip processing when response's status code isn't 200
2013-05-13 11:56:11 -07:00
Theo Bittencourt
d665d6e3f0 don't skip processing when response's status code isn't 200 2013-05-13 13:43:23 -03:00
John Bintz
176ce40003 a little more code shuffling to clean up the body processor class a bit 2013-05-06 09:36:15 -04:00
John Bintz
13e09428f3 add code climate badge, since we're starting to be more awesome in that regard 2013-04-30 10:07:23 -04: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
John Bintz
2eae7fd1bb Merge pull request #33 from ssendev/image-passthru
pass images through
2013-04-21 08:59:55 -07:00
ssendev
698ae43650 pass images through 2013-04-21 15:48:32 +02:00
John Bintz
03ea0608cd Merge pull request #27 from neo/master
Handle Rails apps running on relative root
2013-04-02 08:22:50 -07:00
Adam McCrea
45d5868aa6 Handle Rails apps running on relative root 2013-04-02 10:13:37 -04:00
John Bintz
1a6424b2bf bump version 2013-04-01 09:17:03 -04:00
John Bintz
20f03cbe7c ...and fix the test for that 2013-03-27 17:50:58 -04:00
John Bintz
2327695365 make sure rack livereload port gets set when swf is disabled 2013-03-27 17:50:06 -04:00
John Bintz
7c432f4438 bump version 2013-03-19 15:17:11 -04:00
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 &amp; 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