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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d13bc993a2c738ebf3a974ae90de2c7c57ace746
4
- data.tar.gz: 7b931aac58c795ab5d516219d402e2b0d6dae98a
3
+ metadata.gz: 247ef8037daba00fafc81c1b6de3e9b247be6c9e
4
+ data.tar.gz: 225ef5091fbc35e9747db31f79c8f168dc9a3d37
5
5
  SHA512:
6
- metadata.gz: ce891fc6e64ddac86c0915154297fdf63f8d5bfbc756bd9cc8bd80058eb5a03d0169df9a192efbe8c7b2f34e107cdf6ecf8ce5de09ab8ede885f1caf04d4fdf7
7
- data.tar.gz: 4fe7ceae2ee22ec7a0269dec0f45e42a8fab2c613f92789b53c8a4303b5937e41625ebf8527ecec7181b74de2d77b9bcf913e7b69bb0ce7e57168693445dda0c
6
+ metadata.gz: 99a0d2e6660d9d7beeff5863110f99126325ef6bc9d7f8c9e78bbe84b81ed43505a357d08b12c1eb21f9eae3513d7f09983784db649fd23ea61aaf4693340d3c
7
+ data.tar.gz: ba7c3110203d8c87e9751c16c3e6e9cfaa9b3714ca9263598fd10264b81a4b31bb6f1fa533f3cee29cc0484b3c944c8702ef50bf7ef8700ce0b67d72b963e5f8
data/README.md CHANGED
@@ -78,3 +78,4 @@ And I will be there as your call.
78
78
  * Darrin Holst
79
79
  * Grant Hutchins and Jonathan Mukai-Heidt
80
80
  * Michel Pavan Macedo
81
+ * cablegram
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -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>/dev/null"
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
- "sh -c 'cd \"#{@root}\" && #{command} &'"
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 "#{environment.collect {|k,v| "#{k}=#{v} "}.join} #{build_command}"
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.3
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-05-14 00:00:00.000000000 Z
12
+ date: 2013-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard