guard-rspec 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Guard
10
10
  UI.info(message, :reset => true)
11
11
  system(rspec_command(paths, options))
12
12
 
13
- if options[:notification] != false && failure_exit_code_supported?(options) && $? && !$?.success? && $?.exitstatus != failure_exit_code
13
+ if options[:notification] != false && !drb?(options) && failure_exit_code_supported?(options) && $? && !$?.success? && $?.exitstatus != failure_exit_code
14
14
  Notifier.notify("Failed", :title => "RSpec results", :image => :failed, :priority => 2)
15
15
  end
16
16
  end
@@ -37,6 +37,10 @@ module Guard
37
37
  cmd_parts.join(' ')
38
38
  end
39
39
 
40
+ def drb?(options)
41
+ !options[:cli].nil? && options[:cli].include?('--drb')
42
+ end
43
+
40
44
  def bundler?
41
45
  @bundler ||= File.exist?("#{Dir.pwd}/Gemfile")
42
46
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RSpecVersion
3
- VERSION = "0.5.3"
3
+ VERSION = "0.5.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-11 00:00:00.000000000Z
12
+ date: 2011-11-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70109266071340 !ruby/object:Gem::Requirement
16
+ requirement: &70212535935480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70109266071340
24
+ version_requirements: *70212535935480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70109266070620 !ruby/object:Gem::Requirement
27
+ requirement: &70212535934860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70109266070620
35
+ version_requirements: *70212535934860
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70109266069960 !ruby/object:Gem::Requirement
38
+ requirement: &70212535934380 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.7'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70109266069960
46
+ version_requirements: *70212535934380
47
47
  description: Guard::RSpec automatically run your specs (much like autotest).
48
48
  email:
49
49
  - thibaud@thibaud.me
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  segments:
77
77
  - 0
78
- hash: 3258196998992283106
78
+ hash: 1789026864584824679
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  none: false
81
81
  requirements: