guard-shell 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/guard/shell.rb +9 -1
- data/lib/guard/shell/version.rb +1 -1
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e735b1798973a3582dd5c5febffb35cee8e34e5db7d7bf8948a22c52e2f5178d
|
4
|
+
data.tar.gz: a1dbcdf4cba42fa84431ecc0288802defc9be681e554a30595bb8b5bd1e25943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f604999127bb123d3de83d89c1df58cb1fe772ce76511a8d7146303f2069790328ad6c97d1427135c7f5ffa2edb5f882525f622822f936e45556a695db709d
|
7
|
+
data.tar.gz: 746079eb0532d05199ddaf60a3a7d590b58add8e76e85ce09079df670367937de06fb31a4807a1c6e2a427345b7e7eb7a7b9772dbb17e2f6a87c3a159104e7c6
|
data/lib/guard/shell.rb
CHANGED
@@ -15,7 +15,11 @@ module Guard
|
|
15
15
|
|
16
16
|
# Call #run_on_change for all files which match this guard.
|
17
17
|
def run_all
|
18
|
-
|
18
|
+
available_watchers.each do |watcher|
|
19
|
+
output = watcher.call_action([])
|
20
|
+
|
21
|
+
run_on_modifications(output)
|
22
|
+
end
|
19
23
|
end
|
20
24
|
|
21
25
|
# Print the result of the command(s), if there are results to be printed.
|
@@ -23,6 +27,10 @@ module Guard
|
|
23
27
|
$stdout.puts res if res
|
24
28
|
end
|
25
29
|
|
30
|
+
def available_watchers
|
31
|
+
watchers
|
32
|
+
end
|
33
|
+
|
26
34
|
end
|
27
35
|
|
28
36
|
class Dsl
|
data/lib/guard/shell/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-shell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Hawxwell
|
8
|
-
|
8
|
+
- Codruț Constantin Gușoi
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2021-04-11 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: guard
|
@@ -41,21 +42,21 @@ dependencies:
|
|
41
42
|
description: |2
|
42
43
|
Guard::Shell automatically runs shell commands when watched files are
|
43
44
|
modified.
|
44
|
-
email:
|
45
|
+
email: mail+rubygems@codrut.pro
|
45
46
|
executables: []
|
46
47
|
extensions: []
|
47
48
|
extra_rdoc_files: []
|
48
49
|
files:
|
49
|
-
- Readme.md
|
50
50
|
- LICENSE
|
51
|
+
- Readme.md
|
52
|
+
- lib/guard/shell.rb
|
51
53
|
- lib/guard/shell/templates/Guardfile
|
52
54
|
- lib/guard/shell/version.rb
|
53
|
-
|
54
|
-
homepage: http://github.com/hawx/guard-shell
|
55
|
+
homepage: http://github.com/sdwolfz/guard-shell
|
55
56
|
licenses:
|
56
57
|
- MIT
|
57
58
|
metadata: {}
|
58
|
-
post_install_message:
|
59
|
+
post_install_message:
|
59
60
|
rdoc_options: []
|
60
61
|
require_paths:
|
61
62
|
- lib
|
@@ -70,10 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
71
|
- !ruby/object:Gem::Version
|
71
72
|
version: '0'
|
72
73
|
requirements: []
|
73
|
-
|
74
|
-
|
75
|
-
signing_key:
|
74
|
+
rubygems_version: 3.2.15
|
75
|
+
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Guard gem for running shell commands
|
78
78
|
test_files: []
|
79
|
-
has_rdoc:
|