rack-livereload 0.3.17 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d7123144df9a852f48e7d4874cd4e2fa0d23657ecf61de34d8606d2b3c1c62d
4
- data.tar.gz: a3cad0cf894c0f73b49d0e158d03d46c4677bee5fe7cccb5b6b037aabf48980d
3
+ metadata.gz: a4ada2814d4f6fa252477480b6bee9fb1a7af79786a18807fe6774b3cb06e0df
4
+ data.tar.gz: 3b88f7818d20ba7651356c4b2051306f0e4cf8911dc6a9335f8c0d7dee45590a
5
5
  SHA512:
6
- metadata.gz: 1b13c7bebc5da0079b56885f66e81260673fa6a343581e383e9e5904bc3bd9af3c6058869d2885f9d457c21294c24fb00d6133faf7b3789fce1f2d21ffa2e4a5
7
- data.tar.gz: 4da3c3b25cacc908d99e169a902b4002bfb3ba737edbb58f695b4d9eb42d054609eacd027bfa0c1e579d085068a5352de62c47dcbf714f72c33a4c1e27da4d3c
6
+ metadata.gz: dfe864b272edb851c0d28a1f15ec93240f865efe76363eea40b9e46dbafd66b7964521bac194ce1c8aab7ba3cb6f4804f1cce898915ceebcf51ee96239e63bbc
7
+ data.tar.gz: 966c5862fd1e2b9bbddbdd3c72d4cb43e9a7093aa2680a1c326030d2315b818ef6a8c6ace968e42aa19f6eb40b5b2bbebe4a451c1368896a0b694c537f256ab9
data/.gitignore CHANGED
@@ -1,7 +1,9 @@
1
1
  *.gem
2
2
  .bundle
3
3
  Gemfile.lock
4
+ .ruby-version
4
5
  gemfiles/*.lock
5
6
  pkg/*
6
7
  *.orig
7
8
  tmp/
9
+ .idea
data/.travis.yml CHANGED
@@ -1,17 +1,17 @@
1
1
  rvm:
2
- - 1.9.3
3
- - 2.0.0
4
2
  - 2.5.1
3
+ - 2.7.1
5
4
  branches:
6
5
  only:
7
6
  - master
8
7
  gemfile:
9
- - gemfiles/rails32.gemfile
10
- - gemfiles/rails40.gemfile
11
8
  - gemfiles/rails51.gemfile
9
+ - gemfiles/rails602.gemfile
12
10
  matrix:
13
11
  exclude:
14
- - rvm: 1.9.3
12
+ - rvm: 2.5.1
15
13
  gemfile: gemfiles/rails51.gemfile
16
- - rvm: 2.0.0
17
- gemfile: gemfiles/rails51.gemfile
14
+ - rvm: 2.7.1
15
+ gemfile: gemfiles/rails602.gemfile
16
+ - rvm: 3.2.2
17
+ gemfile: gemfiles/rails7.gemfile
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # Rack::LiveReload
1
+ ** LOOKING FOR MAINTAINER ** Please contact me if interested.
2
2
 
3
- <a href="http://travis-ci.org/onesupercoder/rack-livereload"><img src="https://secure.travis-ci.org/onesupercoder/rack-livereload.png" /></a>
4
- [![Code Climate](https://codeclimate.com/github/onesupercoder/rack-livereload.png)](https://codeclimate.com/github/onesupercoder/rack-livereload)
3
+
4
+ # Rack::LiveReload [![Build Status](https://travis-ci.org/onesupercoder/rack-livereload.svg?branch=master)](https://travis-ci.org/onesupercoder/rack-livereload) [![Maintainability](https://api.codeclimate.com/v1/badges/6b3cafaf0d8752d0ac55/maintainability)](https://codeclimate.com/github/onesupercoder/rack-livereload/maintainability)
5
5
 
6
6
  Hey, you've got [LiveReload](http://livereload.com/) in my [Rack](http://rack.rubyforge.org/)!
7
7
  No need for browser extensions anymore! Just plug it in your middleware stack and go!
@@ -30,6 +30,9 @@ MyApp::Application.configure do
30
30
 
31
31
  # or, if you're using better_errors:
32
32
  config.middleware.insert_before Rack::Lock, Rack::LiveReload
33
+
34
+ # or, if you're using better_errors with rails 6.
35
+ config.middleware.insert_before Rack::Runtime, Rack::LiveReload
33
36
 
34
37
  # ...
35
38
  end
@@ -40,16 +43,17 @@ end
40
43
  ```ruby
41
44
  # Specifying Rack::LiveReload options.
42
45
  config.middleware.use(Rack::LiveReload,
43
- min_delay : 500, # default 1000
44
- max_delay : 10_000, # default 60_000
45
- live_reload_port : 56789, # default 35729
46
- host : 'myhost.cool.wow',
47
- ignore : [ %r{dont/modify\.html$} ]
46
+ min_delay: 500, # default 1000
47
+ max_delay: 10_000, # default 60_000
48
+ live_reload_port: 56789, # default 35729
49
+ live_reload_scheme: 'ws', # default ws, use wss for ssl
50
+ host: 'myhost.cool.wow',
51
+ ignore: [ %r{dont/modify\.html$} ]
48
52
  )
49
53
  ```
50
54
 
51
55
  In addition, Rack::LiveReload's position within middleware stack can be
52
- specified by inserting it relative to an exsiting middleware via
56
+ specified by inserting it relative to an existing middleware via
53
57
  `insert_before` or `insert_after`. See the [Rails on Rack: Adding a
54
58
  Middleware](http://guides.rubyonrails.org/rails_on_rack.html#adding-a-middleware)
55
59
  section for more detail.
@@ -2,6 +2,6 @@ Given /^I have a Rack app with Rack::LiveReload$/ do
2
2
  @app = Rack::Builder.new do
3
3
  use Rack::LiveReload
4
4
 
5
- run lambda { |env| [ 200, { 'Content-Type' => 'text/html' }, [ "<html><head></head><body></body></html>" ] ] }
5
+ run lambda { |env| [ 200, { 'content-type' => 'text/html' }, [ "<html><head></head><body></body></html>" ] ] }
6
6
  end
7
7
  end
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rails", "~> 6.0.2"
4
+
5
+ gemspec :path=>"../"
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rails", "~> 7.0.4.3"
4
+
5
+ gemspec :path=>"../"