guard-zeus 2.0.0.pre.alpha.pre.74 → 2.0.0.pre.alpha.pre.76
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/guard/zeus/runner.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWNkNGI4NzE5ZTBjZWI3N2U4MGI2ODI1YjM1OWQ2NmM0MWNmYmMxZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzgyODgxYzUzNzllZGQ4YjhmMmFkMTlkNzVmMTI3N2UyM2QwM2QxNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDk5NjUzY2M0Y2NhYjA3NjM4OGJhMmIxYTkzOGUyOTU5OTIzZmQwMjYzY2Y5
|
10
|
+
N2UzNmQ0NDJiOTA0OTA1NzgwMmQwMzJjMmMyN2E4OTRhMDE5NDFhNTZjODA0
|
11
|
+
ZmM1OTQ5MDExYTY2NzFkZDM3ZTNmZWRjNDM1MjgyNzcwNjNlMmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWNjZjcwODg4MzBmNzczMzQ4ZTI4OTA4OWYyYmRjYjI3YTkxZDZiOGE2OGMz
|
14
|
+
NTBmZjlhN2Y3ZmI2MmU2OWU2ZDg5Y2RkZmNmMTVkMGU4MTgyMzc3YjM4MTg5
|
15
|
+
ZTE5OTJhNTUxOWEyOTZkYzQ2NjA3ODNiZWNmZWM1MTk0ODlmNGI=
|
data/lib/guard/zeus/runner.rb
CHANGED
@@ -25,9 +25,13 @@ module Guard
|
|
25
25
|
|
26
26
|
# check for a current .zeus.sock
|
27
27
|
if File.exist? sockfile
|
28
|
+
Compat::UI.info 'Guard::Zeus found an existing .zeus.sock'
|
28
29
|
|
29
30
|
# if it's active, use it
|
30
|
-
|
31
|
+
if can_connect_to_socket?
|
32
|
+
Compat::UI.info 'Guard::Zeus is re-using an existing .zeus.sock'
|
33
|
+
return
|
34
|
+
end
|
31
35
|
|
32
36
|
# just delete it
|
33
37
|
delete_sockfile
|
@@ -64,6 +68,7 @@ module Guard
|
|
64
68
|
end
|
65
69
|
|
66
70
|
def delete_sockfile
|
71
|
+
Compat::UI.info 'Guard::Zeus is deleting an unusable .zeus.sock'
|
67
72
|
File.delete(sockfile)
|
68
73
|
end
|
69
74
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-zeus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.alpha.pre.
|
4
|
+
version: 2.0.0.pre.alpha.pre.76
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jonathangreenberg
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: guard
|