adsf-live 1.4.1 → 1.4.6
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 +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24a1fbca011078c3835e07bb63fd635d8bb5b858032d25e1c47211651b9c981
|
4
|
+
data.tar.gz: a31ed69c0c0dc93f0339de04f3eb50a76bdf00a3295bc4a92a2bbc8f9aad3ed8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80141646f9f72ff23e1b3ca1793e7f192b065db266312b22f97dedb586c78138f2679c4496a309103ab5c83005f697f10b608f1a2e9e24dd0155b5c8480ba5d4
|
7
|
+
data.tar.gz: 2ffc42fc64f9942495e5fe483f99cbafcbc7cadb16910543e9ca70e1fc66c01529eaa9a2da7e02c9de8fab0387b9f2677368df9bea837eee54de958fd0ef213a
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adsf
|
@@ -96,24 +96,23 @@ homepage: http://github.com/ddfreyne/adsf/
|
|
96
96
|
licenses:
|
97
97
|
- MIT
|
98
98
|
metadata: {}
|
99
|
-
post_install_message:
|
99
|
+
post_install_message:
|
100
100
|
rdoc_options: []
|
101
101
|
require_paths:
|
102
102
|
- lib
|
103
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- - "
|
105
|
+
- - ">="
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: '2.
|
107
|
+
version: '2.5'
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
|
-
|
115
|
-
|
116
|
-
signing_key:
|
114
|
+
rubygems_version: 3.2.17
|
115
|
+
signing_key:
|
117
116
|
specification_version: 4
|
118
117
|
summary: livereload support for adsf
|
119
118
|
test_files: []
|