cucumber_growlnotify 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -11,3 +11,7 @@ This gem notifies through growl that your cucumber tests are passing or not
11
11
  5. Check "Listen for incoming notifications" and "Allow remote application registration"
12
12
  6. Run your cucumber tests with --format Cucumber::Formatter::Growl
13
13
 
14
+ == Notes
15
+
16
+ This gem was developed using Ruby 1.9.2.
17
+ There's a gem that does the same stuff, with Autotest, but it doesn't work with Ruby 1.9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cucumber_growlnotify}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rodrigo Oliveira"]
12
- s.date = %q{2011-03-09}
12
+ s.date = %q{2011-03-10}
13
13
  s.description = %q{This gem notifies through growl that your cucumber tests are passing or not}
14
14
  s.email = %q{rodrigo.dealer@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ module Cucumber
26
26
  @delayed_announcements = []
27
27
  @passed = 0
28
28
  @failure = 0
29
+ @scenarios = 0
29
30
  end
30
31
 
31
32
  def after_features(features)
@@ -71,6 +72,7 @@ module Cucumber
71
72
  def before_feature_element(feature_element)
72
73
  @indent = 2
73
74
  @scenario_indent = 2
75
+ @scenarios += 1
74
76
  end
75
77
 
76
78
  def after_feature_element(feature_element)
@@ -240,7 +242,7 @@ module Cucumber
240
242
  print_stats(features, @options.custom_profiles)
241
243
  print_snippets(@options)
242
244
  print_passing_wip(@options)
243
- message = @passed.to_s + " steps passed \n" + @failure.to_s + " steps failed"
245
+ message = @scenarios.to_s + " scenarios \n" + @passed.to_s + " steps passed \n" + @failure.to_s + " steps failed"
244
246
  image = IMAGES[:success]
245
247
  if (@failure > 0)
246
248
  image = IMAGES[:fail]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cucumber_growlnotify
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rodrigo Oliveira
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-09 00:00:00 -03:00
13
+ date: 2011-03-10 00:00:00 -03:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- hash: 1477632336689089651
86
+ hash: 2875415526136391446
87
87
  segments:
88
88
  - 0
89
89
  version: "0"