guard-cucumber 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -189,7 +189,7 @@ incorporated into guard-cucumber:
189
189
  The [Guard Team](https://github.com/guard/guard/contributors) for giving us such a nice pice of software
190
190
  that is so easy to extend, one *has* to make a plugin for it!
191
191
 
192
- All the authors of the numerous [Guards](http://github.com/guard) avaiable for making the Guard ecosystem
192
+ All the authors of the numerous [Guards](http://github.com/guard) available for making the Guard ecosystem
193
193
  so much growing and comprehensive.
194
194
 
195
195
  ## License
@@ -44,11 +44,12 @@ module Guard
44
44
  private
45
45
 
46
46
  def notify_summary
47
- icon, messages = '', []
47
+ icon, messages = nil, []
48
48
 
49
49
  [:failed, :skipped, :undefined, :pending, :passed].reverse.each do |status|
50
50
  if step_mother.steps(status).any?
51
- icon = icon_for(status)
51
+ step_icon = icon_for(status)
52
+ icon = step_icon if step_icon
52
53
  messages << dump_count(step_mother.steps(status).length, 'step', status.to_s)
53
54
  end
54
55
  end
@@ -70,6 +71,8 @@ module Guard
70
71
  :pending
71
72
  when :failed
72
73
  :failed
74
+ else
75
+ nil
73
76
  end
74
77
  end
75
78
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module CucumberVersion
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Kessler
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-17 00:00:00 +02:00
19
- default_executable:
18
+ date: 2011-09-04 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: guard
@@ -117,7 +116,6 @@ files:
117
116
  - lib/guard/cucumber.rbc
118
117
  - LICENSE
119
118
  - README.md
120
- has_rdoc: true
121
119
  homepage: http://github.com/netzpirat/guard-cucumber
122
120
  licenses: []
123
121
 
@@ -149,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
147
  requirements: []
150
148
 
151
149
  rubyforge_project: guard-cucumber
152
- rubygems_version: 1.6.2
150
+ rubygems_version: 1.8.6
153
151
  signing_key:
154
152
  specification_version: 3
155
153
  summary: Guard gem for Cucumber