cucumber 0.3.10 → 0.3.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,12 @@
1
+ == 0.3.11 2009-06-05
2
+
3
+ This release just fixes a tiny bug in the formatter to fix an incompatibility
4
+ with the latest RedMine release. It should have been included in 0.3.10, but
5
+ was forgotten.
6
+
7
+ === Bugfixes
8
+ * Formatter API was broken in 0.3.9 (Roman Chernyatchik)
9
+
1
10
  == 0.3.10 2009-06-05
2
11
 
3
12
  The Spork Release!
@@ -53,6 +53,11 @@ module Cucumber
53
53
  end
54
54
  end
55
55
 
56
+ def print_counts
57
+ STDERR.puts("The #print_counts method is deprecated and will be removed in 0.4. Use #print_stats instead")
58
+ print_stats(nil)
59
+ end
60
+
56
61
  def print_stats(features)
57
62
  @io.print dump_count(step_mother.scenarios.length, "scenario")
58
63
  print_status_counts{|status| step_mother.scenarios(status)}
@@ -60,7 +65,7 @@ module Cucumber
60
65
  @io.print dump_count(step_mother.steps.length, "step")
61
66
  print_status_counts{|status| step_mother.steps(status)}
62
67
 
63
- @io.puts(format_duration(features.duration))
68
+ @io.puts(format_duration(features.duration)) if features
64
69
 
65
70
  @io.flush
66
71
  end
@@ -2,7 +2,7 @@ module Cucumber #:nodoc:
2
2
  class VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 10
5
+ TINY = 11
6
6
  PATCH = nil # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"