cucumber 0.9.4 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/Gemfile +1 -1
  2. data/History.txt +16 -0
  3. data/bin/cucumber +7 -1
  4. data/cucumber.gemspec +5 -4
  5. data/cucumber.yml +1 -1
  6. data/examples/sinatra/features/support/env.rb +1 -4
  7. data/features/background.feature +284 -95
  8. data/features/custom_formatter.feature +3 -73
  9. data/features/execute_with_tag_filter.feature +63 -0
  10. data/features/{negative_tagged_hooks.feature → hooks.feature} +5 -6
  11. data/features/json_formatter.feature +161 -245
  12. data/features/stats_formatters.feature +70 -0
  13. data/features/step_definitions/cucumber_steps.rb +5 -163
  14. data/features/support/env.rb +23 -149
  15. data/features/{tag_logic.feature → tagged_hooks.feature} +11 -52
  16. data/gem_tasks/{features.rake → cucumber.rake} +6 -1
  17. data/{features → legacy_features}/announce.feature +0 -0
  18. data/{features → legacy_features}/api/list_step_defs_as_json.feature +0 -0
  19. data/{features → legacy_features}/api/run_cli_main_with_existing_runtime.feature +0 -0
  20. data/{features → legacy_features}/around_hooks.feature +0 -0
  21. data/{features → legacy_features}/bug_371.feature +0 -0
  22. data/{features → legacy_features}/bug_464.feature +0 -0
  23. data/{features → legacy_features}/bug_475.feature +0 -0
  24. data/{features → legacy_features}/bug_585_tab_indentation.feature +0 -0
  25. data/{features → legacy_features}/bug_600.feature +0 -0
  26. data/{features → legacy_features}/call_steps_from_stepdefs.feature +0 -0
  27. data/{features → legacy_features}/cucumber_cli.feature +9 -9
  28. data/{features → legacy_features}/cucumber_cli_outlines.feature +0 -0
  29. data/{features → legacy_features}/default_snippets.feature +0 -0
  30. data/{features → legacy_features}/diffing.feature +0 -0
  31. data/{features → legacy_features}/drb_server_integration.feature +0 -0
  32. data/{features → legacy_features}/exception_in_after_block.feature +0 -0
  33. data/{features → legacy_features}/exception_in_after_step_block.feature +0 -0
  34. data/{features → legacy_features}/exception_in_before_block.feature +0 -0
  35. data/{features → legacy_features}/exclude_files.feature +0 -0
  36. data/{features → legacy_features}/expand.feature +0 -0
  37. data/{features → legacy_features}/html_formatter.feature +0 -0
  38. data/{features → legacy_features}/html_formatter/a.html +0 -0
  39. data/{features → legacy_features}/junit_formatter.feature +0 -0
  40. data/{features → legacy_features}/language_from_header.feature +0 -0
  41. data/{features → legacy_features}/language_help.feature +0 -0
  42. data/{features → legacy_features}/listener_debugger_formatter.feature +0 -0
  43. data/legacy_features/multiline_names.feature +44 -0
  44. data/{features → legacy_features}/post_configuration_hook.feature +0 -0
  45. data/{features → legacy_features}/profiles.feature +0 -0
  46. data/{features → legacy_features}/rake_task.feature +0 -0
  47. data/{features → legacy_features}/report_called_undefined_steps.feature +0 -0
  48. data/{features → legacy_features}/rerun_formatter.feature +0 -0
  49. data/{features → legacy_features}/simplest.feature +0 -0
  50. data/{features → legacy_features}/snippet.feature +0 -0
  51. data/{features → legacy_features}/snippets_when_using_star_keyword.feature +0 -0
  52. data/legacy_features/step_definitions/cucumber_steps.rb +168 -0
  53. data/{features → legacy_features}/step_definitions/extra_steps.rb +0 -0
  54. data/{features → legacy_features}/step_definitions/simplest_steps.rb +0 -0
  55. data/{features → legacy_features}/step_definitions/wire_steps.rb +1 -0
  56. data/legacy_features/support/env.rb +157 -0
  57. data/{features → legacy_features}/support/env.rb.simplest +0 -0
  58. data/{features → legacy_features}/support/fake_wire_server.rb +0 -0
  59. data/{features → legacy_features}/table_diffing.feature +0 -0
  60. data/{features → legacy_features}/table_mapping.feature +0 -0
  61. data/{features → legacy_features}/transform.feature +0 -0
  62. data/{features → legacy_features}/unicode_table.feature +0 -0
  63. data/{features → legacy_features}/wire_protocol.feature +1 -1
  64. data/{features → legacy_features}/wire_protocol_table_diffing.feature +0 -0
  65. data/{features → legacy_features}/wire_protocol_tags.feature +0 -0
  66. data/{features → legacy_features}/wire_protocol_timeouts.feature +0 -0
  67. data/{features → legacy_features}/work_in_progress.feature +0 -0
  68. data/lib/cucumber/ast/examples.rb +5 -0
  69. data/lib/cucumber/ast/feature.rb +5 -0
  70. data/lib/cucumber/ast/feature_element.rb +5 -0
  71. data/lib/cucumber/ast/scenario_outline.rb +9 -4
  72. data/lib/cucumber/ast/step.rb +5 -0
  73. data/lib/cucumber/ast/step_invocation.rb +4 -0
  74. data/lib/cucumber/ast/table.rb +3 -3
  75. data/lib/cucumber/ast/tree_walker.rb +1 -39
  76. data/lib/cucumber/cli/main.rb +1 -6
  77. data/lib/cucumber/cli/options.rb +1 -2
  78. data/lib/cucumber/formatter/ansicolor.rb +2 -4
  79. data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +84 -0
  80. data/lib/cucumber/formatter/gpretty.rb +24 -0
  81. data/lib/cucumber/formatter/html.rb +1 -1
  82. data/lib/cucumber/formatter/io.rb +2 -4
  83. data/lib/cucumber/formatter/json.rb +15 -152
  84. data/lib/cucumber/formatter/json_pretty.rb +5 -6
  85. data/lib/cucumber/formatter/unicode.rb +41 -20
  86. data/lib/cucumber/parser/gherkin_builder.rb +7 -1
  87. data/lib/cucumber/platform.rb +1 -1
  88. data/lib/cucumber/step_match.rb +5 -1
  89. data/spec/cucumber/ast/scenario_outline_spec.rb +11 -8
  90. data/spec/cucumber/ast/table_spec.rb +6 -1
  91. data/spec/cucumber/cli/main_spec.rb +4 -1
  92. metadata +105 -132
  93. data/features/multiline_names.feature +0 -44
  94. data/features/usage_and_stepdefs_formatter.feature +0 -169
  95. data/fixtures/json/features/pystring.feature +0 -8
  96. data/fixtures/self_test/features/background/background_tagged_before_on_outline.feature +0 -12
  97. data/fixtures/self_test/features/background/background_with_name.feature +0 -7
  98. data/fixtures/self_test/features/background/failing_background.feature +0 -12
  99. data/fixtures/self_test/features/background/failing_background_after_success.feature +0 -11
  100. data/fixtures/self_test/features/background/multiline_args_background.feature +0 -32
  101. data/fixtures/self_test/features/background/passing_background.feature +0 -10
  102. data/fixtures/self_test/features/background/pending_background.feature +0 -10
  103. data/fixtures/self_test/features/background/scenario_outline_failing_background.feature +0 -16
  104. data/fixtures/self_test/features/background/scenario_outline_passing_background.feature +0 -16
  105. data/lib/cucumber/formatter/color_io.rb +0 -23
  106. data/lib/cucumber/formatter/tag_cloud.rb +0 -35
  107. data/spec/cucumber/formatter/color_io_spec.rb +0 -29
@@ -1,14 +1,13 @@
1
- require "cucumber/formatter/json"
1
+ require 'cucumber/formatter/json'
2
2
 
3
3
  module Cucumber
4
4
  module Formatter
5
5
  # The formatter used for <tt>--format json_pretty</tt>
6
6
  class JsonPretty < Json
7
-
8
- def json_string
9
- JSON.pretty_generate @json
7
+ def after_features(features)
8
+ @io.write(JSON.pretty_generate(@obj))
10
9
  end
11
-
12
10
  end
13
11
  end
14
- end
12
+ end
13
+
@@ -5,14 +5,17 @@ require 'cucumber/formatter/ansicolor'
5
5
  $KCODE='u' unless Cucumber::RUBY_1_9
6
6
 
7
7
  if Cucumber::WINDOWS
8
- require 'iconv'
8
+ require 'iconv' unless Cucumber::RUBY_1_9
9
9
 
10
10
  if ENV['CUCUMBER_OUTPUT_ENCODING']
11
11
  Cucumber::CODEPAGE = ENV['CUCUMBER_OUTPUT_ENCODING']
12
- elsif Cucumber::WINDOWS_MRI
13
- Cucumber::CODEPAGE = "cp#{Win32::Console::OutputCP()}"
14
12
  elsif `cmd /c chcp` =~ /(\d+)/
15
- Cucumber::CODEPAGE = "cp#{$1.to_i}"
13
+ if [65000, 65001].include? $1.to_i
14
+ Cucumber::CODEPAGE = 'UTF-8'
15
+ ENV['ANSICON_API'] = 'ruby'
16
+ else
17
+ Cucumber::CODEPAGE = "cp#{$1.to_i}"
18
+ end
16
19
  else
17
20
  Cucumber::CODEPAGE = "cp1252"
18
21
  STDERR.puts("WARNING: Couldn't detect your output codepage. Assuming it is 1252. You may have to chcp 1252 or SET CUCUMBER_OUTPUT_ENCODING=cp1252.")
@@ -24,27 +27,45 @@ if Cucumber::WINDOWS
24
27
  o.instance_eval do
25
28
  alias cucumber_print print
26
29
  def print(*a)
27
- begin
28
- cucumber_print(*Iconv.iconv(Cucumber::CODEPAGE, "UTF-8", *a.map{|a|a.to_s}))
29
- rescue Iconv::InvalidEncoding => e
30
- STDERR.cucumber_puts("WARNING: #{e.message}")
31
- cucumber_print(*a)
32
- rescue Iconv::IllegalSequence => e
33
- STDERR.cucumber_puts("WARNING: #{e.message}")
34
- cucumber_print(*a)
30
+ if Cucumber::RUBY_1_9
31
+ begin
32
+ cucumber_print(*a.map{|arg| arg.to_s.encode(Encoding.default_external)})
33
+ rescue Encoding::UndefinedConversionError => e
34
+ STDERR.cucumber_puts("WARNING: #{e.message}")
35
+ cucumber_print(*a)
36
+ end
37
+ else
38
+ begin
39
+ cucumber_print(*Iconv.iconv(Cucumber::CODEPAGE, "UTF-8", *a.map{|a|a.to_s}))
40
+ rescue Iconv::InvalidEncoding => e
41
+ STDERR.cucumber_puts("WARNING: #{e.message}")
42
+ cucumber_print(*a)
43
+ rescue Iconv::IllegalSequence => e
44
+ STDERR.cucumber_puts("WARNING: #{e.message}")
45
+ cucumber_print(*a)
46
+ end
35
47
  end
36
48
  end
37
49
 
38
50
  alias cucumber_puts puts
39
51
  def puts(*a)
40
- begin
41
- cucumber_puts(*Iconv.iconv(Cucumber::CODEPAGE, "UTF-8", *a.map{|a|a.to_s}))
42
- rescue Iconv::InvalidEncoding => e
43
- STDERR.cucumber_print("WARNING: #{e.message}")
44
- cucumber_print(*a)
45
- rescue Iconv::IllegalSequence => e
46
- STDERR.cucumber_puts("WARNING: #{e.message}")
47
- cucumber_puts(*a)
52
+ if Cucumber::RUBY_1_9
53
+ begin
54
+ cucumber_puts(*a.map{|arg| arg.to_s.encode(Encoding.default_external)})
55
+ rescue Encoding::UndefinedConversionError => e
56
+ STDERR.cucumber_puts("WARNING: #{e.message}")
57
+ cucumber_puts(*a)
58
+ end
59
+ else
60
+ begin
61
+ cucumber_puts(*Iconv.iconv(Cucumber::CODEPAGE, "UTF-8", *a.map{|a|a.to_s}))
62
+ rescue Iconv::InvalidEncoding => e
63
+ STDERR.cucumber_print("WARNING: #{e.message}")
64
+ cucumber_print(*a)
65
+ rescue Iconv::IllegalSequence => e
66
+ STDERR.cucumber_puts("WARNING: #{e.message}")
67
+ cucumber_puts(*a)
68
+ end
48
69
  end
49
70
  end
50
71
  end
@@ -22,6 +22,8 @@ module Cucumber
22
22
  legacy_name_for(feature.name, feature.description),
23
23
  []
24
24
  )
25
+ @feature.gherkin_statement(feature)
26
+ @feature
25
27
  end
26
28
 
27
29
  def background(background)
@@ -35,6 +37,7 @@ module Cucumber
35
37
  @feature.background = @background
36
38
  @background.feature = @feature
37
39
  @step_container = @background
40
+ @background.gherkin_statement(background)
38
41
  end
39
42
 
40
43
  def scenario(statement)
@@ -50,6 +53,7 @@ module Cucumber
50
53
  @feature.add_feature_element(scenario)
51
54
  @background.feature_elements << scenario if @background
52
55
  @step_container = scenario
56
+ scenario.gherkin_statement(statement)
53
57
  end
54
58
 
55
59
  def scenario_outline(statement)
@@ -69,6 +73,7 @@ module Cucumber
69
73
  @background.feature_elements << scenario_outline
70
74
  end
71
75
  @step_container = scenario_outline
76
+ scenario_outline.gherkin_statement(statement)
72
77
  end
73
78
 
74
79
  def examples(examples)
@@ -79,11 +84,12 @@ module Cucumber
79
84
  legacy_name_for(examples.name, examples.description),
80
85
  matrix(examples.rows)
81
86
  ]
82
- @step_container.add_examples(examples_fields)
87
+ @step_container.add_examples(examples_fields, examples)
83
88
  end
84
89
 
85
90
  def step(step)
86
91
  @table_owner = Ast::Step.new(step.line, step.keyword, step.name)
92
+ @table_owner.gherkin_statement(step)
87
93
  multiline_arg = rubify(step.multiline_arg)
88
94
  case(multiline_arg)
89
95
  when Gherkin::Formatter::Model::PyString
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '0.9.4'
7
+ VERSION = '0.10.0'
8
8
  BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
9
9
  LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
10
10
  JRUBY = defined?(JRUBY_VERSION)
@@ -1,6 +1,6 @@
1
1
  module Cucumber
2
2
  class StepMatch #:nodoc:
3
- attr_reader :step_definition
3
+ attr_reader :step_definition, :step_arguments
4
4
 
5
5
  # Creates a new StepMatch. The +name_to_report+ argument is what's reported, unless it's is,
6
6
  # in which case +name_to_report+ is used instead.
@@ -107,5 +107,9 @@ module Cucumber
107
107
  def text_length
108
108
  @step.text_length
109
109
  end
110
+
111
+ def step_arguments
112
+ []
113
+ end
110
114
  end
111
115
  end
@@ -40,15 +40,18 @@ module Cucumber
40
40
  ],
41
41
  [
42
42
  [
43
- Comment.new("#Mmmm... cucumbers\n"),
44
- 24,
45
- 'Examples:',
46
- 'First table',
47
43
  [
48
- %w{start eat left},
49
- %w{12 5 7},
50
- %w{20 6 14}
51
- ]
44
+ Comment.new("#Mmmm... cucumbers\n"),
45
+ 24,
46
+ 'Examples:',
47
+ 'First table',
48
+ [
49
+ %w{start eat left},
50
+ %w{12 5 7},
51
+ %w{20 6 14}
52
+ ]
53
+ ],
54
+ Gherkin::Formatter::Model::Examples.new(nil, nil, nil, nil, nil, nil)
52
55
  ]
53
56
  ]
54
57
 
@@ -45,11 +45,16 @@ module Cucumber
45
45
  @table.hashes.first[:one].should == '4444'
46
46
  end
47
47
 
48
- it "should allow map'ing columns" do
48
+ it "should allow mapping columns" do
49
49
  @table.map_column!('one') { |v| v.to_i }
50
50
  @table.hashes.first['one'].should == 4444
51
51
  end
52
52
 
53
+ it "should allow mapping columns and take a symbol as the column name" do
54
+ @table.map_column!(:one) { |v| v.to_i }
55
+ @table.hashes.first['one'].should == 4444
56
+ end
57
+
53
58
  it "should pass silently if a mapped column does not exist in non-strict mode" do
54
59
  lambda {
55
60
  @table.map_column!('two', false) { |v| v.to_i }
@@ -1,5 +1,7 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
2
  require 'yaml'
3
+ require 'cucumber/parser/gherkin_builder'
4
+ require 'gherkin/formatter/model'
3
5
 
4
6
  module Cucumber
5
7
  module Cli
@@ -44,7 +46,8 @@ module Cucumber
44
46
  describe "verbose mode" do
45
47
 
46
48
  before(:each) do
47
- @empty_feature = Cucumber::Ast::Feature.new(nil, Cucumber::Ast::Comment.new(''), Cucumber::Ast::Tags.new(2, []), "Feature", "Foo", [])
49
+ b = Cucumber::Parser::GherkinBuilder.new
50
+ @empty_feature = b.feature(Gherkin::Formatter::Model::Feature.new([], [], "Feature", "Foo", "", 99))
48
51
  end
49
52
 
50
53
  it "should show feature files parsed" do
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 9
8
- - 4
9
- version: 0.9.4
7
+ - 10
8
+ - 0
9
+ version: 0.10.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Aslak Helles\xC3\xB8y"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-07 00:00:00 +00:00
17
+ date: 2010-12-07 00:00:00 +00:00
18
18
  default_executable: cucumber
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -26,9 +26,9 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 2
29
+ - 3
29
30
  - 2
30
- - 9
31
- version: 2.2.9
31
+ version: 2.3.2
32
32
  type: :runtime
33
33
  prerelease: false
34
34
  version_requirements: *id001
@@ -52,7 +52,7 @@ dependencies:
52
52
  requirement: &id003 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
- - - ~>
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  segments:
58
58
  - 2
@@ -116,9 +116,9 @@ dependencies:
116
116
  - !ruby/object:Gem::Version
117
117
  segments:
118
118
  - 2
119
+ - 2
119
120
  - 0
120
- - 1
121
- version: 2.0.1
121
+ version: 2.2.0
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: *id007
@@ -197,6 +197,36 @@ dependencies:
197
197
  type: :development
198
198
  prerelease: false
199
199
  version_requirements: *id012
200
+ - !ruby/object:Gem::Dependency
201
+ name: aruba
202
+ requirement: &id013 !ruby/object:Gem::Requirement
203
+ none: false
204
+ requirements:
205
+ - - ~>
206
+ - !ruby/object:Gem::Version
207
+ segments:
208
+ - 0
209
+ - 2
210
+ - 7
211
+ version: 0.2.7
212
+ type: :development
213
+ prerelease: false
214
+ version_requirements: *id013
215
+ - !ruby/object:Gem::Dependency
216
+ name: simplecov
217
+ requirement: &id014 !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ~>
221
+ - !ruby/object:Gem::Version
222
+ segments:
223
+ - 0
224
+ - 3
225
+ - 7
226
+ version: 0.3.7
227
+ type: :development
228
+ prerelease: false
229
+ version_requirements: *id014
200
230
  description: Behaviour Driven Development with elegance and joy
201
231
  email: cukes@googlegroups.com
202
232
  executables:
@@ -467,67 +497,18 @@ files:
467
497
  - examples/watir/features/step_definitions/search_steps.rb
468
498
  - examples/watir/features/support/env.rb
469
499
  - examples/watir/features/support/screenshots.rb
470
- - features/announce.feature
471
- - features/api/list_step_defs_as_json.feature
472
- - features/api/run_cli_main_with_existing_runtime.feature
473
- - features/around_hooks.feature
474
500
  - features/background.feature
475
- - features/bug_371.feature
476
- - features/bug_464.feature
477
- - features/bug_475.feature
478
- - features/bug_585_tab_indentation.feature
479
- - features/bug_600.feature
480
- - features/call_steps_from_stepdefs.feature
481
- - features/cucumber_cli.feature
482
- - features/cucumber_cli_outlines.feature
483
501
  - features/custom_formatter.feature
484
- - features/default_snippets.feature
485
- - features/diffing.feature
486
- - features/drb_server_integration.feature
487
- - features/exception_in_after_block.feature
488
- - features/exception_in_after_step_block.feature
489
- - features/exception_in_before_block.feature
490
- - features/exclude_files.feature
491
- - features/expand.feature
492
- - features/html_formatter.feature
493
- - features/html_formatter/a.html
502
+ - features/execute_with_tag_filter.feature
503
+ - features/hooks.feature
494
504
  - features/json_formatter.feature
495
- - features/junit_formatter.feature
496
- - features/language_from_header.feature
497
- - features/language_help.feature
498
- - features/listener_debugger_formatter.feature
499
- - features/multiline_names.feature
500
- - features/negative_tagged_hooks.feature
501
- - features/post_configuration_hook.feature
502
- - features/profiles.feature
503
- - features/rake_task.feature
504
- - features/report_called_undefined_steps.feature
505
- - features/rerun_formatter.feature
506
- - features/simplest.feature
507
- - features/snippet.feature
508
- - features/snippets_when_using_star_keyword.feature
505
+ - features/stats_formatters.feature
509
506
  - features/step_definitions/cucumber_steps.rb
510
- - features/step_definitions/extra_steps.rb
511
- - features/step_definitions/simplest_steps.rb
512
- - features/step_definitions/wire_steps.rb
513
507
  - features/support/env.rb
514
- - features/support/env.rb.simplest
515
- - features/support/fake_wire_server.rb
516
- - features/table_diffing.feature
517
- - features/table_mapping.feature
518
- - features/tag_logic.feature
519
- - features/transform.feature
520
- - features/unicode_table.feature
521
- - features/usage_and_stepdefs_formatter.feature
522
- - features/wire_protocol.feature
523
- - features/wire_protocol_table_diffing.feature
524
- - features/wire_protocol_tags.feature
525
- - features/wire_protocol_timeouts.feature
526
- - features/work_in_progress.feature
508
+ - features/tagged_hooks.feature
527
509
  - fixtures/json/features/background.feature
528
510
  - fixtures/json/features/embed.feature
529
511
  - fixtures/json/features/one_passing_one_failing.feature
530
- - fixtures/json/features/pystring.feature
531
512
  - fixtures/json/features/step_definitions/steps.rb
532
513
  - fixtures/json/features/tables.feature
533
514
  - fixtures/junit/features/one_passing_one_failing.feature
@@ -536,15 +517,6 @@ files:
536
517
  - fixtures/self_test/.gitignore
537
518
  - fixtures/self_test/README.textile
538
519
  - fixtures/self_test/Rakefile
539
- - fixtures/self_test/features/background/background_tagged_before_on_outline.feature
540
- - fixtures/self_test/features/background/background_with_name.feature
541
- - fixtures/self_test/features/background/failing_background.feature
542
- - fixtures/self_test/features/background/failing_background_after_success.feature
543
- - fixtures/self_test/features/background/multiline_args_background.feature
544
- - fixtures/self_test/features/background/passing_background.feature
545
- - fixtures/self_test/features/background/pending_background.feature
546
- - fixtures/self_test/features/background/scenario_outline_failing_background.feature
547
- - fixtures/self_test/features/background/scenario_outline_passing_background.feature
548
520
  - fixtures/self_test/features/call_undefined_step_from_step_def.feature
549
521
  - fixtures/self_test/features/failing_expectation.feature
550
522
  - fixtures/self_test/features/lots_of_undefined.feature
@@ -599,14 +571,65 @@ files:
599
571
  - fixtures/tickets/features/table_diffing.feature
600
572
  - fixtures/tickets/features/tickets.feature
601
573
  - gem_tasks/contributors.rake
574
+ - gem_tasks/cucumber.rake
602
575
  - gem_tasks/environment.rake
603
576
  - gem_tasks/examples.rake
604
- - gem_tasks/features.rake
605
577
  - gem_tasks/fix_cr_lf.rake
606
578
  - gem_tasks/flog.rake
607
579
  - gem_tasks/rspec.rake
608
580
  - gem_tasks/sass.rake
609
581
  - gem_tasks/sdoc.rake
582
+ - legacy_features/announce.feature
583
+ - legacy_features/api/list_step_defs_as_json.feature
584
+ - legacy_features/api/run_cli_main_with_existing_runtime.feature
585
+ - legacy_features/around_hooks.feature
586
+ - legacy_features/bug_371.feature
587
+ - legacy_features/bug_464.feature
588
+ - legacy_features/bug_475.feature
589
+ - legacy_features/bug_585_tab_indentation.feature
590
+ - legacy_features/bug_600.feature
591
+ - legacy_features/call_steps_from_stepdefs.feature
592
+ - legacy_features/cucumber_cli.feature
593
+ - legacy_features/cucumber_cli_outlines.feature
594
+ - legacy_features/default_snippets.feature
595
+ - legacy_features/diffing.feature
596
+ - legacy_features/drb_server_integration.feature
597
+ - legacy_features/exception_in_after_block.feature
598
+ - legacy_features/exception_in_after_step_block.feature
599
+ - legacy_features/exception_in_before_block.feature
600
+ - legacy_features/exclude_files.feature
601
+ - legacy_features/expand.feature
602
+ - legacy_features/html_formatter.feature
603
+ - legacy_features/html_formatter/a.html
604
+ - legacy_features/junit_formatter.feature
605
+ - legacy_features/language_from_header.feature
606
+ - legacy_features/language_help.feature
607
+ - legacy_features/listener_debugger_formatter.feature
608
+ - legacy_features/multiline_names.feature
609
+ - legacy_features/post_configuration_hook.feature
610
+ - legacy_features/profiles.feature
611
+ - legacy_features/rake_task.feature
612
+ - legacy_features/report_called_undefined_steps.feature
613
+ - legacy_features/rerun_formatter.feature
614
+ - legacy_features/simplest.feature
615
+ - legacy_features/snippet.feature
616
+ - legacy_features/snippets_when_using_star_keyword.feature
617
+ - legacy_features/step_definitions/cucumber_steps.rb
618
+ - legacy_features/step_definitions/extra_steps.rb
619
+ - legacy_features/step_definitions/simplest_steps.rb
620
+ - legacy_features/step_definitions/wire_steps.rb
621
+ - legacy_features/support/env.rb
622
+ - legacy_features/support/env.rb.simplest
623
+ - legacy_features/support/fake_wire_server.rb
624
+ - legacy_features/table_diffing.feature
625
+ - legacy_features/table_mapping.feature
626
+ - legacy_features/transform.feature
627
+ - legacy_features/unicode_table.feature
628
+ - legacy_features/wire_protocol.feature
629
+ - legacy_features/wire_protocol_table_diffing.feature
630
+ - legacy_features/wire_protocol_tags.feature
631
+ - legacy_features/wire_protocol_timeouts.feature
632
+ - legacy_features/work_in_progress.feature
610
633
  - lib/README.rdoc
611
634
  - lib/autotest/cucumber.rb
612
635
  - lib/autotest/cucumber_mixin.rb
@@ -650,12 +673,13 @@ files:
650
673
  - lib/cucumber/errors.rb
651
674
  - lib/cucumber/feature_file.rb
652
675
  - lib/cucumber/formatter/ansicolor.rb
653
- - lib/cucumber/formatter/color_io.rb
654
676
  - lib/cucumber/formatter/console.rb
655
677
  - lib/cucumber/formatter/cucumber.css
656
678
  - lib/cucumber/formatter/cucumber.sass
657
679
  - lib/cucumber/formatter/debug.rb
658
680
  - lib/cucumber/formatter/duration.rb
681
+ - lib/cucumber/formatter/gherkin_formatter_adapter.rb
682
+ - lib/cucumber/formatter/gpretty.rb
659
683
  - lib/cucumber/formatter/html.rb
660
684
  - lib/cucumber/formatter/io.rb
661
685
  - lib/cucumber/formatter/jquery-min.js
@@ -670,7 +694,6 @@ files:
670
694
  - lib/cucumber/formatter/stepdefs.rb
671
695
  - lib/cucumber/formatter/steps.rb
672
696
  - lib/cucumber/formatter/summary.rb
673
- - lib/cucumber/formatter/tag_cloud.rb
674
697
  - lib/cucumber/formatter/unicode.rb
675
698
  - lib/cucumber/formatter/usage.rb
676
699
  - lib/cucumber/js_support/js_dsl.js
@@ -733,7 +756,6 @@ files:
733
756
  - spec/cucumber/configuration_spec.rb
734
757
  - spec/cucumber/core_ext/proc_spec.rb
735
758
  - spec/cucumber/formatter/ansicolor_spec.rb
736
- - spec/cucumber/formatter/color_io_spec.rb
737
759
  - spec/cucumber/formatter/duration_spec.rb
738
760
  - spec/cucumber/formatter/html_spec.rb
739
761
  - spec/cucumber/formatter/junit_spec.rb
@@ -760,7 +782,7 @@ licenses: []
760
782
 
761
783
  post_install_message: "\n\
762
784
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n\
763
- Thank you for installing cucumber-0.9.4.\n\
785
+ Thank you for installing cucumber-0.10.0.\n\
764
786
  Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading\n\
765
787
  for important information about this release. Happy cuking!\n\n\
766
788
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
@@ -773,7 +795,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
773
795
  requirements:
774
796
  - - ">="
775
797
  - !ruby/object:Gem::Version
776
- hash: 95980206032165697
798
+ hash: -4492259644257557500
777
799
  segments:
778
800
  - 0
779
801
  version: "0"
@@ -782,7 +804,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
782
804
  requirements:
783
805
  - - ">="
784
806
  - !ruby/object:Gem::Version
785
- hash: 95980206032165697
807
+ hash: -4492259644257557500
786
808
  segments:
787
809
  - 0
788
810
  version: "0"
@@ -792,65 +814,17 @@ rubyforge_project:
792
814
  rubygems_version: 1.3.7
793
815
  signing_key:
794
816
  specification_version: 3
795
- summary: cucumber-0.9.4
817
+ summary: cucumber-0.10.0
796
818
  test_files:
797
- - features/announce.feature
798
- - features/api/list_step_defs_as_json.feature
799
- - features/api/run_cli_main_with_existing_runtime.feature
800
- - features/around_hooks.feature
801
819
  - features/background.feature
802
- - features/bug_371.feature
803
- - features/bug_464.feature
804
- - features/bug_475.feature
805
- - features/bug_585_tab_indentation.feature
806
- - features/bug_600.feature
807
- - features/call_steps_from_stepdefs.feature
808
- - features/cucumber_cli.feature
809
- - features/cucumber_cli_outlines.feature
810
820
  - features/custom_formatter.feature
811
- - features/default_snippets.feature
812
- - features/diffing.feature
813
- - features/drb_server_integration.feature
814
- - features/exception_in_after_block.feature
815
- - features/exception_in_after_step_block.feature
816
- - features/exception_in_before_block.feature
817
- - features/exclude_files.feature
818
- - features/expand.feature
819
- - features/html_formatter.feature
820
- - features/html_formatter/a.html
821
+ - features/execute_with_tag_filter.feature
822
+ - features/hooks.feature
821
823
  - features/json_formatter.feature
822
- - features/junit_formatter.feature
823
- - features/language_from_header.feature
824
- - features/language_help.feature
825
- - features/listener_debugger_formatter.feature
826
- - features/multiline_names.feature
827
- - features/negative_tagged_hooks.feature
828
- - features/post_configuration_hook.feature
829
- - features/profiles.feature
830
- - features/rake_task.feature
831
- - features/report_called_undefined_steps.feature
832
- - features/rerun_formatter.feature
833
- - features/simplest.feature
834
- - features/snippet.feature
835
- - features/snippets_when_using_star_keyword.feature
824
+ - features/stats_formatters.feature
836
825
  - features/step_definitions/cucumber_steps.rb
837
- - features/step_definitions/extra_steps.rb
838
- - features/step_definitions/simplest_steps.rb
839
- - features/step_definitions/wire_steps.rb
840
826
  - features/support/env.rb
841
- - features/support/env.rb.simplest
842
- - features/support/fake_wire_server.rb
843
- - features/table_diffing.feature
844
- - features/table_mapping.feature
845
- - features/tag_logic.feature
846
- - features/transform.feature
847
- - features/unicode_table.feature
848
- - features/usage_and_stepdefs_formatter.feature
849
- - features/wire_protocol.feature
850
- - features/wire_protocol_table_diffing.feature
851
- - features/wire_protocol_tags.feature
852
- - features/wire_protocol_timeouts.feature
853
- - features/work_in_progress.feature
827
+ - features/tagged_hooks.feature
854
828
  - spec/cucumber/ast/background_spec.rb
855
829
  - spec/cucumber/ast/feature_factory.rb
856
830
  - spec/cucumber/ast/feature_spec.rb
@@ -870,7 +844,6 @@ test_files:
870
844
  - spec/cucumber/configuration_spec.rb
871
845
  - spec/cucumber/core_ext/proc_spec.rb
872
846
  - spec/cucumber/formatter/ansicolor_spec.rb
873
- - spec/cucumber/formatter/color_io_spec.rb
874
847
  - spec/cucumber/formatter/duration_spec.rb
875
848
  - spec/cucumber/formatter/html_spec.rb
876
849
  - spec/cucumber/formatter/junit_spec.rb