guard-rspec 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,9 +51,10 @@ module Guard
51
51
  return @failure_exit_code_supported if defined?(@failure_exit_code_supported)
52
52
  @failure_exit_code_supported ||= begin
53
53
  cmd_parts = []
54
- cmd_parts << "bundle exec" if (bundler? && options[:bundler] != false) || (bundler? && options[:binstubs] == true)
55
- options[:binstubs] = false if options[:binstubs] # failure exit code support is independent of rspec location
54
+ cmd_parts << "bundle exec" if (bundler? && options[:bundler].is_a?(TrueClass)) || (bundler? && options[:binstubs].is_a?(TrueClass))
55
+ ( saved = true; options[:binstubs] = false ) if options[:binstubs].is_a?(TrueClass) # failure exit code support is independent of rspec location
56
56
  cmd_parts << rspec_exec(options)
57
+ options[:binstubs] = true if saved
57
58
  cmd_parts << "--help"
58
59
  `#{cmd_parts.join(' ')}`.include? "--failure-exit-code"
59
60
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RSpecVersion
3
- VERSION = "0.5.7"
3
+ VERSION = "0.5.8"
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.7
4
+ version: 0.5.8
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-25 00:00:00.000000000Z
12
+ date: 2011-11-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70342410601120 !ruby/object:Gem::Requirement
16
+ requirement: &70227459971160 !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: *70342410601120
24
+ version_requirements: *70227459971160
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70342410600640 !ruby/object:Gem::Requirement
27
+ requirement: &70227459970640 !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: *70342410600640
35
+ version_requirements: *70227459970640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70342410599980 !ruby/object:Gem::Requirement
38
+ requirement: &70227459969940 !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: *70342410599980
46
+ version_requirements: *70227459969940
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: -97410705691380049
78
+ hash: -4321082312302331503
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  none: false
81
81
  requirements: