rspec-instafail 0.1.4 → 0.1.5
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.
- data/VERSION +1 -1
- data/lib/rspec/instafail.rb +1 -1
- data/lib/rspec/instafail/rspec_2.rb +4 -1
- data/rspec-instafail.gemspec +4 -4
- data/spec/rspec_2/Gemfile +1 -1
- data/spec/rspec_2/Gemfile.lock +9 -11
- metadata +9 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/rspec/instafail.rb
CHANGED
@@ -5,7 +5,10 @@ module RSpec
|
|
5
5
|
def example_failed(example)
|
6
6
|
@counter ||= 0
|
7
7
|
@counter += 1
|
8
|
-
|
8
|
+
|
9
|
+
result = example.metadata[:execution_result]
|
10
|
+
|
11
|
+
exception = result[:exception_encountered] || result[:exception] # rspec 2.0 || rspec 2.2
|
9
12
|
short_padding = ' '
|
10
13
|
padding = ' '
|
11
14
|
output.puts
|
data/rspec-instafail.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rspec-instafail}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Grosser"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-29}
|
13
13
|
s.email = %q{grosser.michael@gmail.com}
|
14
14
|
s.files = [
|
15
15
|
"Rakefile",
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.homepage = %q{http://github.com/grosser/rspec-instafail}
|
31
31
|
s.rdoc_options = ["--charset=UTF-8"]
|
32
32
|
s.require_paths = ["lib"]
|
33
|
-
s.rubygems_version = %q{1.3.
|
33
|
+
s.rubygems_version = %q{1.3.7}
|
34
34
|
s.summary = %q{Show failing specs instantly}
|
35
35
|
s.test_files = [
|
36
36
|
"spec/rspec_1/a_test.rb",
|
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
43
|
s.specification_version = 3
|
44
44
|
|
45
|
-
if Gem::Version.new(Gem::
|
45
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
46
|
else
|
47
47
|
end
|
48
48
|
else
|
data/spec/rspec_2/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
|
-
gem 'rspec', '>=2'
|
2
|
+
gem 'rspec', '>=2.2'
|
data/spec/rspec_2/Gemfile.lock
CHANGED
@@ -2,19 +2,17 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
diff-lcs (1.1.2)
|
5
|
-
rspec (2.0
|
6
|
-
rspec-core (~> 2.
|
7
|
-
rspec-expectations (~> 2.
|
8
|
-
rspec-mocks (~> 2.
|
9
|
-
rspec-core (2.
|
10
|
-
rspec-expectations (2.0
|
11
|
-
diff-lcs (
|
12
|
-
rspec-mocks (2.0
|
13
|
-
rspec-core (~> 2.0.1)
|
14
|
-
rspec-expectations (~> 2.0.1)
|
5
|
+
rspec (2.2.0)
|
6
|
+
rspec-core (~> 2.2)
|
7
|
+
rspec-expectations (~> 2.2)
|
8
|
+
rspec-mocks (~> 2.2)
|
9
|
+
rspec-core (2.2.1)
|
10
|
+
rspec-expectations (2.2.0)
|
11
|
+
diff-lcs (~> 1.1.2)
|
12
|
+
rspec-mocks (2.2.0)
|
15
13
|
|
16
14
|
PLATFORMS
|
17
15
|
ruby
|
18
16
|
|
19
17
|
DEPENDENCIES
|
20
|
-
rspec (>= 2)
|
18
|
+
rspec (>= 2.2)
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-instafail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Michael Grosser
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-29 00:00:00 +01:00
|
18
19
|
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
@@ -51,23 +52,27 @@ rdoc_options:
|
|
51
52
|
require_paths:
|
52
53
|
- lib
|
53
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
54
56
|
requirements:
|
55
57
|
- - ">="
|
56
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
57
60
|
segments:
|
58
61
|
- 0
|
59
62
|
version: "0"
|
60
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
61
65
|
requirements:
|
62
66
|
- - ">="
|
63
67
|
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
64
69
|
segments:
|
65
70
|
- 0
|
66
71
|
version: "0"
|
67
72
|
requirements: []
|
68
73
|
|
69
74
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.3.
|
75
|
+
rubygems_version: 1.3.7
|
71
76
|
signing_key:
|
72
77
|
specification_version: 3
|
73
78
|
summary: Show failing specs instantly
|