cucumber_spinner 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cucumber_spinner}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tobias Kraze"]
12
- s.date = %q{2011-02-01}
12
+ s.date = %q{2011-07-08}
13
13
  s.description = %q{Formatter for cucumber like the RSpecSpinner for RSpec. Shows a progress bar on the command line, prints failing scenarios immediately and can automatically show a browser dump of the error page.}
14
14
  s.email = %q{tobias.kraze@makandra.de}
15
15
  s.extra_rdoc_files = [
@@ -26,17 +26,17 @@ Gem::Specification.new do |s|
26
26
  "lib/cucumber_spinner/curious_progress_bar_formatter.rb",
27
27
  "lib/cucumber_spinner/formatted_io.rb",
28
28
  "lib/cucumber_spinner/progress_bar_formatter.rb",
29
+ "lib/cucumber_spinner/time_judge.rb",
29
30
  "pkg/cucumber_spinner-0.1.1.gem",
30
31
  "pkg/cucumber_spinner-0.1.gem"
31
32
  ]
32
33
  s.homepage = %q{http://github.com/makandra/cucumber_spinner}
33
34
  s.rdoc_options = ["--charset=UTF-8"]
34
35
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
36
+ s.rubygems_version = %q{1.5.0}
36
37
  s.summary = %q{Progress bar formatter for cucumber, shows failing scenarios immediately.}
37
38
 
38
39
  if s.respond_to? :specification_version then
39
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
40
40
  s.specification_version = 3
41
41
 
42
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -1,4 +1,4 @@
1
1
  require 'cucumber_spinner/formatted_io'
2
2
  require 'cucumber_spinner/progress_bar_formatter'
3
3
  require 'cucumber_spinner/curious_progress_bar_formatter'
4
-
4
+ require 'cucumber_spinner/time_judge'
@@ -36,6 +36,11 @@ module CucumberSpinner
36
36
  end
37
37
  end
38
38
 
39
+ def after_table_row(row)
40
+ increment
41
+ @pretty_printer.after_table_row(row)
42
+ end
43
+
39
44
  def after_features(features)
40
45
  @io.puts
41
46
  @io.puts
@@ -56,7 +61,7 @@ module CucumberSpinner
56
61
  end
57
62
  end
58
63
  end
59
- delegate_to_pretty_printer :before_feature, :comment_line, :after_tags, :tag_name, :feature_name, :after_feature_element, :before_background, :after_background, :background_name, :before_examples_array, :examples_name, :before_outline_table, :after_outline_table, :scenario_name, :before_step, :before_step_result, :step_name, :py_string, :exception, :before_multiline_arg, :after_multiline_arg, :before_table_row, :after_table_row, :after_table_cell, :table_cell_value
64
+ delegate_to_pretty_printer :before_feature, :comment_line, :after_tags, :tag_name, :feature_name, :after_feature_element, :before_background, :after_background, :background_name, :before_examples_array, :examples_name, :before_outline_table, :after_outline_table, :scenario_name, :before_step, :before_step_result, :step_name, :py_string, :exception, :before_multiline_arg, :after_multiline_arg, :before_table_row, :after_table_cell, :table_cell_value
60
65
 
61
66
 
62
67
  private
@@ -0,0 +1,9 @@
1
+ # fix the progress bar so it does not get confused by a possibly active TimeCop
2
+
3
+ module RTUI
4
+ class Time < ::Time
5
+ def self.mock_time
6
+ nil
7
+ end
8
+ end
9
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber_spinner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Kraze
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-01 00:00:00 +01:00
18
+ date: 2011-07-08 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -53,6 +53,7 @@ files:
53
53
  - lib/cucumber_spinner/curious_progress_bar_formatter.rb
54
54
  - lib/cucumber_spinner/formatted_io.rb
55
55
  - lib/cucumber_spinner/progress_bar_formatter.rb
56
+ - lib/cucumber_spinner/time_judge.rb
56
57
  - pkg/cucumber_spinner-0.1.1.gem
57
58
  - pkg/cucumber_spinner-0.1.gem
58
59
  has_rdoc: true
@@ -85,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
86
  requirements: []
86
87
 
87
88
  rubyforge_project:
88
- rubygems_version: 1.3.7
89
+ rubygems_version: 1.5.0
89
90
  signing_key:
90
91
  specification_version: 3
91
92
  summary: Progress bar formatter for cucumber, shows failing scenarios immediately.