guard-livereload 1.2.1 → 1.3.0

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
  SHA1:
3
- metadata.gz: fe2bb74c384fe32b2fc0ab094350d71cca2175d8
4
- data.tar.gz: 4b11d5b965154a1a667a61799224775fb2b333e9
3
+ metadata.gz: 273f103eeb9c74155a3ae04c27fb5165cff1829d
4
+ data.tar.gz: c83c0fa6bd233dafa014b5d1531265a345170cdf
5
5
  SHA512:
6
- metadata.gz: 90846b933f1fc9c74f6f8cc54860a2c6f88d4f8bf34b9d80f232c9b4111b283086560b1db1ea62a226c47da7c9303b12766297a0362e6684de8f01383a29fa9b
7
- data.tar.gz: ba8b575c602c3dc223ade48a2360e78c5b9529067fa9eedc1a65e116ed5db214bf8af1d361210bbaaf72160113b6d7fa0a00219016427fd99d37fab5b3db0c10
6
+ metadata.gz: 97989289c76707051115366f03dbb33c45fc1b7bfcef3a9642afea6c28878defc2188fa92f72d4cf858cb23923f0f19a3e574bd86dcc16ca4ef25fa1e97ad263
7
+ data.tar.gz: 8951c0325e56ac2a7015fc2c18d2d16df79b482b1e10809eae4bb6ff412b577c7c4d74f7076a00aec85e12e775885b7a3bf04cd7014c055f835dad7101ce9b7b
data/README.md CHANGED
@@ -66,6 +66,7 @@ Available options:
66
66
 
67
67
  ``` ruby
68
68
  :host => '127.3.3.1' # default '0.0.0.0'
69
+ :port => '12345' # default '35729'
69
70
  :apply_css_live => false # default true
70
71
  :override_url => false # default false
71
72
  :grace_period => 0.5 # default 0 (seconds)
@@ -16,6 +16,7 @@ module Guard
16
16
  super
17
17
  @options = {
18
18
  :host => '0.0.0.0',
19
+ :port => '35729',
19
20
  :apply_css_live => true,
20
21
  :override_url => false,
21
22
  :grace_period => 0
@@ -38,7 +38,7 @@ module Guard
38
38
  EventMachine.epoll
39
39
  EventMachine.run do
40
40
  UI.info "LiveReload is waiting for a browser to connect."
41
- EventMachine.start_server(options[:host], 35729, WebSocket, {}) do |ws|
41
+ EventMachine.start_server(options[:host], options[:port], WebSocket, {}) do |ws|
42
42
  ws.onopen do
43
43
  begin
44
44
  UI.info "Browser connected."
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module LiveReloadVersion
3
- VERSION = "1.2.1"
3
+ VERSION = "1.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-livereload
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-18 00:00:00.000000000 Z
11
+ date: 2013-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard