nyan-cat-formatter 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nyan_cat_formatter/rspec3.rb +7 -3
- data/nyan-cat-formatter.gemspec +1 -1
- metadata +2 -2
@@ -11,8 +11,8 @@ class RSpec3 < RSpec::Core::Formatters::BaseTextFormatter
|
|
11
11
|
|
12
12
|
def initialize(output)
|
13
13
|
super(output)
|
14
|
-
@failure_count = 0
|
15
|
-
@pending_count = 0
|
14
|
+
# @failure_count = 0
|
15
|
+
# @pending_count = 0
|
16
16
|
end
|
17
17
|
|
18
18
|
def start(notification)
|
@@ -23,8 +23,10 @@ class RSpec3 < RSpec::Core::Formatters::BaseTextFormatter
|
|
23
23
|
super(notification)
|
24
24
|
end
|
25
25
|
|
26
|
-
@current = @color_index = @passing_count = 0
|
26
|
+
@current = @color_index = @passing_count = @failure_count = @pending_count = 0
|
27
27
|
@example_results = []
|
28
|
+
@failed_examples = []
|
29
|
+
@pending_examples = []
|
28
30
|
end
|
29
31
|
|
30
32
|
def example_started(notification)
|
@@ -39,11 +41,13 @@ class RSpec3 < RSpec::Core::Formatters::BaseTextFormatter
|
|
39
41
|
end
|
40
42
|
|
41
43
|
def example_pending(notification)
|
44
|
+
@pending_examples << notification
|
42
45
|
@pending_count += 1
|
43
46
|
tick PENDING
|
44
47
|
end
|
45
48
|
|
46
49
|
def example_failed(notification)
|
50
|
+
@failed_examples << notification
|
47
51
|
@failure_count += 1
|
48
52
|
tick FAIL
|
49
53
|
end
|
data/nyan-cat-formatter.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "nyan-cat-formatter"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.10.0"
|
6
6
|
s.authors = ["Matt Sears"]
|
7
7
|
s.email = ["matt@mattsears.com"]
|
8
8
|
s.homepage = "https://github.com/mattsears/nyan-cat-formatter"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyan-cat-formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|