fuubar-cucumber 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fuubar-cucumber.gemspec +2 -2
- data/lib/fuubar-cucumber.rb +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/fuubar-cucumber.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fuubar-cucumber}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marcin Ciunelis"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-12-04}
|
13
13
|
s.description = %q{the instafailing Cucumber progress bar formatter}
|
14
14
|
s.email = %q{marcin.ciunelis@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/fuubar-cucumber.rb
CHANGED
@@ -61,13 +61,13 @@ module Cucumber
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def before_table_row(table_row)
|
64
|
-
if @is_example && table_row.scenario_outline
|
64
|
+
if @is_example && table_row.is_a?(Cucumber::Ast::OutlineTable::ExampleRow) && table_row.scenario_outline
|
65
65
|
progress(:passed, table_row.scenario_outline.instance_variable_get("@background").instance_variable_get("@steps").count)
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
69
|
def after_table_row(table_row)
|
70
|
-
if @is_example && table_row.scenario_outline
|
70
|
+
if @is_example && table_row.is_a?(Cucumber::Ast::OutlineTable::ExampleRow) && table_row.scenario_outline
|
71
71
|
progress(:passed, table_row.scenario_outline.instance_variable_get("@steps").count)
|
72
72
|
end
|
73
73
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuubar-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marcin Ciunelis
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-04 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|