guard-rails 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/VERSION +1 -1
- data/lib/guard/rails/runner.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 247ef8037daba00fafc81c1b6de3e9b247be6c9e
|
4
|
+
data.tar.gz: 225ef5091fbc35e9747db31f79c8f168dc9a3d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99a0d2e6660d9d7beeff5863110f99126325ef6bc9d7f8c9e78bbe84b81ed43505a357d08b12c1eb21f9eae3513d7f09983784db649fd23ea61aaf4693340d3c
|
7
|
+
data.tar.gz: ba7c3110203d8c87e9751c16c3e6e9cfaa9b3714ca9263598fd10264b81a4b31bb6f1fa533f3cee29cc0484b3c944c8702ef50bf7ef8700ce0b67d72b963e5f8
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/lib/guard/rails/runner.rb
CHANGED
@@ -24,7 +24,7 @@ module Guard
|
|
24
24
|
wait_for_no_pid if $?.exitstatus == 0
|
25
25
|
|
26
26
|
# If you lost your pid_file, you are already died.
|
27
|
-
system "kill -KILL #{pid} >&2 2
|
27
|
+
system "kill -KILL #{pid} >&2 2>#{::Guard::DEV_NULL}"
|
28
28
|
FileUtils.rm pid_file, :force => true
|
29
29
|
end
|
30
30
|
end
|
@@ -38,7 +38,7 @@ module Guard
|
|
38
38
|
command = build_cli_command if options[:CLI]
|
39
39
|
command ||= build_zeus_command if options[:zeus]
|
40
40
|
command ||= build_rails_command
|
41
|
-
"
|
41
|
+
"#{environment.collect {|k,v| "#{k}=#{v} "}.join} cd \"#{@root}\" && #{command}"
|
42
42
|
end
|
43
43
|
|
44
44
|
def environment
|
@@ -96,7 +96,7 @@ module Guard
|
|
96
96
|
end
|
97
97
|
|
98
98
|
def run_rails_command!
|
99
|
-
system "
|
99
|
+
system "sh -c 'cd \"#{@root}\" && #{build_command} &'"
|
100
100
|
end
|
101
101
|
|
102
102
|
def has_pid?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bintz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|