adsf-live 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adsf/live/version.rb +1 -1
- data/lib/adsf/live/web_socket_server.rb +3 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09e24778e1a650b027da895765588424a0a44bcb7470d75ca0a0510a752ba605'
|
4
|
+
data.tar.gz: e084dcc91b3f493b4db732ac38e5359fd11b6a339d43309a15a21f3c77b29785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ec3047d5b1e5e855320b3c9dff60b54b0a34c0f2f9f905e04f944469e3f31376a511eba3630770705571c8a20abcaafcb87e9e170fea851f9c1418a92b9232
|
7
|
+
data.tar.gz: a0dae64434248606989c10bb04a90f7e39d2393e38b683db1f3b911a91c7aaf03347bd0c4ecf1fad8ca4c1171d4a6888f7afdca3dd562890ac558e3ab45294ec
|
data/lib/adsf/live/version.rb
CHANGED
@@ -23,7 +23,7 @@ module Adsf
|
|
23
23
|
data =
|
24
24
|
JSON.dump(
|
25
25
|
command: 'reload',
|
26
|
-
path:
|
26
|
+
path: "#{Dir.pwd}#{path}",
|
27
27
|
)
|
28
28
|
|
29
29
|
@sockets.each { |ws| ws.send(data) }
|
@@ -61,8 +61,8 @@ module Adsf
|
|
61
61
|
def on_socket_connected(socket)
|
62
62
|
socket.send(
|
63
63
|
JSON.dump(
|
64
|
-
command:
|
65
|
-
protocols:
|
64
|
+
command: 'hello',
|
65
|
+
protocols: ['http://livereload.com/protocols/official-7'],
|
66
66
|
serverName: 'nanoc-view',
|
67
67
|
),
|
68
68
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adsf-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adsf
|
@@ -111,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
|
-
|
115
|
-
rubygems_version: 2.7.4
|
114
|
+
rubygems_version: 3.0.3
|
116
115
|
signing_key:
|
117
116
|
specification_version: 4
|
118
117
|
summary: livereload support for adsf
|