guard-rspec 0.1.8 → 0.1.9

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.
@@ -16,7 +16,8 @@ class InstafailRSpec < RSpec::Core::Formatters::ProgressFormatter
16
16
  def example_failed(example)
17
17
  @counter ||= 0
18
18
  @counter += 1
19
- exception = example.metadata[:execution_result][:exception_encountered]
19
+ result = example.metadata[:execution_result]
20
+ exception = result[:exception_encountered] || result[:exception] # rspec 2.0 || rspec 2.2
20
21
  short_padding = ' '
21
22
  padding = ' '
22
23
  output.puts
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RSpecVersion
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-rspec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thibaud Guillaume-Gentil
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-10 00:00:00 +01:00
18
+ date: 2010-11-30 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 23
29
+ hash: 19
30
30
  segments:
31
31
  - 0
32
32
  - 2
33
- - 0
34
- version: 0.2.0
33
+ - 2
34
+ version: 0.2.2
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -42,12 +42,12 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- hash: 17
45
+ hash: 25
46
46
  segments:
47
47
  - 1
48
48
  - 0
49
- - 3
50
- version: 1.0.3
49
+ - 7
50
+ version: 1.0.7
51
51
  type: :development
52
52
  version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
@@ -58,12 +58,12 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- hash: 11
61
+ hash: 7
62
62
  segments:
63
63
  - 2
64
- - 1
64
+ - 2
65
65
  - 0
66
- version: 2.1.0
66
+ version: 2.2.0
67
67
  type: :development
68
68
  version_requirements: *id003
69
69
  description: Guard::RSpec automatically run your specs (much like autotest)