cucumber 1.1.9 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/.travis.yml +9 -0
  2. data/History.md +20 -3
  3. data/README.md +1 -2
  4. data/cucumber.gemspec +10 -13
  5. data/cucumber.yml +2 -2
  6. data/features/.cucumber/stepdefs.json +13 -391
  7. data/features/backtraces.feature +36 -0
  8. data/features/{issue_117.feature → drb_server_integration.feature} +3 -3
  9. data/features/formatter_step_file_colon_line.feature +46 -0
  10. data/features/{issue_57.feature → rerun_formatter.feature} +2 -2
  11. data/features/run_specific_scenarios.feature +47 -0
  12. data/gem_tasks/cucumber.rake +15 -8
  13. data/legacy_features/cucumber_cli.feature +0 -7
  14. data/legacy_features/junit_formatter.feature +60 -10
  15. data/legacy_features/language_help.feature +1 -0
  16. data/lib/cucumber.rb +2 -1
  17. data/lib/cucumber/ast/step.rb +1 -1
  18. data/lib/cucumber/ast/step_invocation.rb +2 -15
  19. data/lib/cucumber/ast/table.rb +16 -6
  20. data/lib/cucumber/ast/tree_walker.rb +5 -5
  21. data/lib/cucumber/cli/options.rb +5 -8
  22. data/lib/cucumber/formatter/ansicolor.rb +7 -12
  23. data/lib/cucumber/formatter/cucumber.css +7 -1
  24. data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +1 -1
  25. data/lib/cucumber/formatter/html.rb +5 -5
  26. data/lib/cucumber/formatter/interceptor.rb +62 -0
  27. data/lib/cucumber/formatter/junit.rb +30 -14
  28. data/lib/cucumber/formatter/pretty.rb +3 -3
  29. data/lib/cucumber/formatter/progress.rb +1 -1
  30. data/lib/cucumber/formatter/rerun.rb +1 -1
  31. data/lib/cucumber/formatter/usage.rb +1 -1
  32. data/lib/cucumber/js_support/js_snippets.rb +1 -1
  33. data/lib/cucumber/platform.rb +1 -1
  34. data/lib/cucumber/rb_support/rb_dsl.rb +15 -8
  35. data/lib/cucumber/rb_support/rb_language.rb +3 -3
  36. data/lib/cucumber/rb_support/rb_step_definition.rb +17 -5
  37. data/lib/cucumber/term/ansicolor.rb +118 -0
  38. data/spec/cucumber/ast/table_spec.rb +9 -0
  39. data/spec/cucumber/cli/configuration_spec.rb +12 -6
  40. data/spec/cucumber/cli/options_spec.rb +9 -3
  41. data/spec/cucumber/constantize_spec.rb +5 -1
  42. data/spec/cucumber/formatter/ansicolor_spec.rb +1 -1
  43. data/spec/cucumber/formatter/interceptor_spec.rb +111 -0
  44. data/spec/cucumber/formatter/junit_spec.rb +36 -20
  45. data/spec/cucumber/formatter/progress_spec.rb +2 -2
  46. data/spec/cucumber/rb_support/rb_language_spec.rb +5 -5
  47. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +17 -1
  48. data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +6 -2
  49. data/spec/cucumber/step_match_spec.rb +8 -4
  50. data/spec/spec_helper.rb +15 -1
  51. metadata +215 -82
  52. data/.gitmodules +0 -3
  53. data/lib/cucumber/formatter/pdf.rb +0 -244
@@ -8,28 +8,28 @@ module Cucumber::Formatter
8
8
  describe Junit do
9
9
  extend SpecHelperDsl
10
10
  include SpecHelper
11
-
11
+
12
12
  class TestDoubleJunitFormatter < Junit
13
13
  attr_reader :written_files
14
-
14
+
15
15
  def write_file(feature_filename, data)
16
16
  @written_files ||= {}
17
17
  @written_files[feature_filename] = data
18
18
  end
19
19
  end
20
-
20
+
21
21
  before(:each) do
22
22
  File.stub!(:directory?).and_return(true)
23
23
  @formatter = TestDoubleJunitFormatter.new(step_mother, '', {})
24
24
  end
25
-
25
+
26
26
  describe "a feature with no name" do
27
27
  define_feature <<-FEATURE
28
28
  Feature:
29
29
  Scenario: Passing
30
30
  Given a passing scenario
31
31
  FEATURE
32
-
32
+
33
33
  it "should raise an exception" do
34
34
  lambda { run_defined_feature }.should raise_error(Junit::UnNamedFeatureError)
35
35
  end
@@ -40,7 +40,7 @@ module Cucumber::Formatter
40
40
  run_defined_feature
41
41
  @doc = Nokogiri.XML(@formatter.written_files.values.first)
42
42
  end
43
-
43
+
44
44
  describe "with a single scenario" do
45
45
  define_feature <<-FEATURE
46
46
  Feature: One passing scenario, one failing scenario
@@ -48,8 +48,24 @@ module Cucumber::Formatter
48
48
  Scenario: Passing
49
49
  Given a passing scenario
50
50
  FEATURE
51
-
51
+
52
52
  it { @doc.to_s.should =~ /One passing scenario, one failing scenario/ }
53
+
54
+ it 'should have a root system-out node' do
55
+ @doc.xpath('//testsuite/system-out').size.should == 1
56
+ end
57
+
58
+ it 'should have a root system-err node' do
59
+ @doc.xpath('//testsuite/system-err').size.should == 1
60
+ end
61
+
62
+ it 'should have a system-out node under <testcase/>' do
63
+ @doc.xpath('//testcase/system-out').size.should == 1
64
+ end
65
+
66
+ it 'should have a system-err node under <testcase/>' do
67
+ @doc.xpath('//testcase/system-err').size.should == 1
68
+ end
53
69
  end
54
70
 
55
71
  describe "with a scenario in a subdirectory" do
@@ -64,12 +80,12 @@ module Cucumber::Formatter
64
80
  @formatter.written_files.keys.first.should == File.join('', 'TEST-features-some-path-spec.xml')
65
81
  end
66
82
  end
67
-
83
+
68
84
  describe "with a scenario outline table" do
69
85
  define_steps do
70
86
  Given(/.*/) { }
71
87
  end
72
-
88
+
73
89
  define_feature <<-FEATURE
74
90
  Feature: Eat things when hungry
75
91
 
@@ -78,7 +94,7 @@ module Cucumber::Formatter
78
94
  And stuff:
79
95
  | foo |
80
96
  | bar |
81
-
97
+
82
98
  Examples: Good
83
99
  | Things |
84
100
  | Cucumber |
@@ -87,7 +103,7 @@ module Cucumber::Formatter
87
103
  | Things |
88
104
  | Big Mac |
89
105
  FEATURE
90
-
106
+
91
107
  it { @doc.to_s.should =~ /Eat things when hungry/ }
92
108
  it { @doc.to_s.should =~ /Cucumber/ }
93
109
  it { @doc.to_s.should =~ /Whisky/ }
@@ -96,25 +112,25 @@ module Cucumber::Formatter
96
112
  it { @doc.to_s.should_not =~ /Good|Evil/ }
97
113
  it { @doc.to_s.should_not =~ /type="skipped"/}
98
114
  end
99
-
115
+
100
116
  describe "with a regular data table scenario" do
101
117
  define_steps do
102
- Given(/the following items on a shortlist/) { |table| }
118
+ Given(/the following items on a shortlist/) { |table| }
103
119
  When(/I go.*/) { }
104
- Then(/I should have visited at least/) { |table| }
120
+ Then(/I should have visited at least/) { |table| }
105
121
  end
106
-
122
+
107
123
  define_feature <<-FEATURE
108
124
  Feature: Shortlist
109
125
 
110
- Scenario: Procure items
126
+ Scenario: Procure items
111
127
  Given the following items on a shortlist:
112
- | item |
113
- | milk |
128
+ | item |
129
+ | milk |
114
130
  | cookies |
115
131
  When I get some..
116
132
  Then I'll eat 'em
117
-
133
+
118
134
  FEATURE
119
135
  # these type of tables shouldn't crash (or generate test cases)
120
136
  it { @doc.to_s.should_not =~ /milk/ }
@@ -122,4 +138,4 @@ module Cucumber::Formatter
122
138
  end
123
139
  end
124
140
  end
125
- end
141
+ end
@@ -6,7 +6,7 @@ module Cucumber
6
6
  describe Progress do
7
7
 
8
8
  before(:each) do
9
- Term::ANSIColor.coloring = false
9
+ Cucumber::Term::ANSIColor.coloring = false
10
10
  @out = StringIO.new
11
11
  progress = Cucumber::Formatter::Progress.new(mock("step mother"), @out, {})
12
12
  @visitor = Cucumber::Ast::TreeWalker.new(nil, [progress])
@@ -14,7 +14,7 @@ module Cucumber
14
14
 
15
15
  describe "visiting a table cell value without a status" do
16
16
  it "should take the status from the last run step" do
17
- @visitor.visit_step_result('', '', nil, :failed, nil, 10, nil)
17
+ @visitor.visit_step_result('', '', nil, :failed, nil, 10, nil, nil)
18
18
  outline_table = mock()
19
19
  outline_table.should_receive(:accept) do |visitor|
20
20
  visitor.visit_table_cell_value('value', nil)
@@ -31,7 +31,7 @@ module Cucumber
31
31
 
32
32
  it "should recognise a mix of ints, strings and why not a table too" do
33
33
  rb.snippet_text('Given', 'I have 9 "awesome" cukes in 37 "boxes"', Cucumber::Ast::Table).should == unindented(%{
34
- Given /^I have (\\d+) "([^"]*)" cukes in (\\d+) "([^"]*)"$/ do |arg1, arg2, arg3, arg4, table|
34
+ Given /^I have (\\d+) "(.*?)" cukes in (\\d+) "(.*?)"$/ do |arg1, arg2, arg3, arg4, table|
35
35
  # table is a Cucumber::Ast::Table
36
36
  pending # express the regexp above with the code you wish you had
37
37
  end
@@ -40,7 +40,7 @@ module Cucumber
40
40
 
41
41
  it "should recognise quotes in name and make according regexp" do
42
42
  rb.snippet_text('Given', 'A "first" arg', nil).should == unindented(%{
43
- Given /^A "([^"]*)" arg$/ do |arg1|
43
+ Given /^A "(.*?)" arg$/ do |arg1|
44
44
  pending # express the regexp above with the code you wish you had
45
45
  end
46
46
  })
@@ -48,7 +48,7 @@ module Cucumber
48
48
 
49
49
  it "should recognise several quoted words in name and make according regexp and args" do
50
50
  rb.snippet_text('Given', 'A "first" and "second" arg', nil).should == unindented(%{
51
- Given /^A "([^"]*)" and "([^"]*)" arg$/ do |arg1, arg2|
51
+ Given /^A "(.*?)" and "(.*?)" arg$/ do |arg1, arg2|
52
52
  pending # express the regexp above with the code you wish you had
53
53
  end
54
54
  })
@@ -64,7 +64,7 @@ module Cucumber
64
64
 
65
65
  it "should be helpful with tables" do
66
66
  rb.snippet_text('Given', 'A "first" arg', Cucumber::Ast::Table).should == unindented(%{
67
- Given /^A "([^"]*)" arg$/ do |arg1, table|
67
+ Given /^A "(.*?)" arg$/ do |arg1, table|
68
68
  # table is a Cucumber::Ast::Table
69
69
  pending # express the regexp above with the code you wish you had
70
70
  end
@@ -279,4 +279,4 @@ or http://wiki.github.com/cucumber/cucumber/a-whole-new-world.
279
279
 
280
280
  end
281
281
  end
282
- end
282
+ end
@@ -44,6 +44,22 @@ module Cucumber
44
44
  $inside.should == 'inside'
45
45
  end
46
46
 
47
+ it "should call a method on the world when specified with a symbol" do
48
+ rb.current_world.should_receive(:with_symbol)
49
+ dsl.Given /With symbol/, :with_symbol
50
+
51
+ support_code.step_match("With symbol").invoke(nil)
52
+ end
53
+
54
+ it "should call a method on a specified object" do
55
+ target = double('target')
56
+ target.should_receive(:with_symbol)
57
+ rb.current_world.stub!(:target).and_return(target)
58
+ dsl.Given /With symbol on block/, :with_symbol, :on => lambda { target }
59
+
60
+ support_code.step_match("With symbol on block").invoke(nil)
61
+ end
62
+
47
63
  it "should raise Undefined when inside step is not defined" do
48
64
  dsl.Given /Outside/ do
49
65
  step 'Inside'
@@ -91,7 +107,7 @@ module Cucumber
91
107
  end
92
108
 
93
109
  it "should have a JSON representation of the signature" do
94
- RbStepDefinition.new(rb, /I CAN HAZ (\d+) CUKES/i, lambda{}).to_hash.should == {'source' => "I CAN HAZ (\\d+) CUKES", 'flags' => 'i'}
110
+ RbStepDefinition.new(rb, /I CAN HAZ (\d+) CUKES/i, lambda{}, {}).to_hash.should == {'source' => "I CAN HAZ (\\d+) CUKES", 'flags' => 'i'}
95
111
  end
96
112
  end
97
113
  end
@@ -4,14 +4,18 @@ require 'cucumber/rb_support/regexp_argument_matcher'
4
4
  module Cucumber
5
5
  module RbSupport
6
6
  describe RegexpArgumentMatcher do
7
+ include RSpec::WorkInProgress
8
+
7
9
  it "should create 2 arguments" do
8
10
  arguments = RegexpArgumentMatcher.arguments_from(/I (\w+) (\w+)/, "I like fish")
9
11
  arguments.map{|argument| [argument.val, argument.offset]}.should == [["like", 2], ["fish", 7]]
10
12
  end
11
13
 
12
14
  it "should create 2 arguments when first group is optional" do
13
- arguments = RegexpArgumentMatcher.arguments_from(/should( not)? be flashed '([^']*?)'$/, "I should be flashed 'Login failed.'")
14
- arguments.map{|argument| [argument.val, argument.offset]}.should == [[nil, nil], ["Login failed.", 21]]
15
+ pending_under :java, "requires cucumber/gherkin >= ac42f51" do
16
+ arguments = RegexpArgumentMatcher.arguments_from(/should( not)? be flashed '([^']*?)'$/, "I should be flashed 'Login failed.'")
17
+ arguments.map{|argument| [argument.val, argument.offset]}.should == [[nil, nil], ["Login failed.", 21]]
18
+ end
15
19
  end
16
20
  end
17
21
  end
@@ -5,6 +5,8 @@ require 'cucumber/rb_support/rb_language'
5
5
 
6
6
  module Cucumber
7
7
  describe StepMatch do
8
+ include RSpec::WorkInProgress
9
+
8
10
  WORD = Cucumber::RUBY_1_9 ? '[[:word:]]' : '\w'
9
11
 
10
12
  before do
@@ -12,7 +14,7 @@ module Cucumber
12
14
  end
13
15
 
14
16
  def stepdef(regexp)
15
- RbSupport::RbStepDefinition.new(@rb_language, regexp, lambda{})
17
+ RbSupport::RbStepDefinition.new(@rb_language, regexp, lambda{}, {})
16
18
  end
17
19
 
18
20
  def step_match(regexp, name)
@@ -57,8 +59,10 @@ module Cucumber
57
59
  end
58
60
 
59
61
  it "should format groups even when first group is optional and not matched" do
60
- m = step_match(/should( not)? be flashed '([^']*?)'$/, "I should be flashed 'Login failed.'")
61
- m.format_args("<span>%s</span>").should == "I should be flashed '<span>Login failed.</span>'"
62
+ pending_under :java, "requires cucumber/gherkin >= ac42f51" do
63
+ m = step_match(/should( not)? be flashed '([^']*?)'$/, "I should be flashed 'Login failed.'")
64
+ m.format_args("<span>%s</span>").should == "I should be flashed '<span>Login failed.</span>'"
65
+ end
62
66
  end
63
67
 
64
68
  it "should format embedded groups" do
@@ -66,4 +70,4 @@ module Cucumber
66
70
  m.format_args("<span>%s</span>").should == "running<span> 5 times</span> <span>10</span> meters"
67
71
  end
68
72
  end
69
- end
73
+ end
@@ -17,6 +17,20 @@ $KCODE='u' unless Cucumber::RUBY_1_9
17
17
 
18
18
  RSpec.configure do |c|
19
19
  c.before do
20
- ::Term::ANSIColor.coloring = true
20
+ ::Cucumber::Term::ANSIColor.coloring = true
21
21
  end
22
22
  end
23
+
24
+ module RSpec
25
+ module WorkInProgress
26
+ def pending_under platforms, reason, &block
27
+ if [platforms].flatten.map(&:to_s).include? RUBY_PLATFORM
28
+ pending "pending under #{platforms.inspect} because: #{reason}", &block
29
+ else
30
+ yield
31
+ end
32
+ end
33
+ end
34
+ end
35
+
36
+
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: 1.1.9
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-22 00:00:00.000000000 Z
12
+ date: 2012-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gherkin
16
- requirement: &19337100 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.9.0
21
+ version: 2.10.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19337100
25
- - !ruby/object:Gem::Dependency
26
- name: term-ansicolor
27
- requirement: &19300500 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
28
25
  none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ~>
31
28
  - !ruby/object:Gem::Version
32
- version: 1.0.6
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *19300500
29
+ version: 2.10.0
36
30
  - !ruby/object:Gem::Dependency
37
31
  name: builder
38
- requirement: &19298600 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
34
  requirements:
41
35
  - - ! '>='
@@ -43,21 +37,31 @@ dependencies:
43
37
  version: 2.1.2
44
38
  type: :runtime
45
39
  prerelease: false
46
- version_requirements: *19298600
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.2
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: diff-lcs
49
- requirement: &19297840 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
50
49
  none: false
51
50
  requirements:
52
51
  - - ! '>='
53
52
  - !ruby/object:Gem::Version
54
- version: 1.1.2
53
+ version: 1.1.3
55
54
  type: :runtime
56
55
  prerelease: false
57
- version_requirements: *19297840
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.3
58
62
  - !ruby/object:Gem::Dependency
59
63
  name: json
60
- requirement: &19296760 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
61
65
  none: false
62
66
  requirements:
63
67
  - - ! '>='
@@ -65,10 +69,15 @@ dependencies:
65
69
  version: 1.4.6
66
70
  type: :runtime
67
71
  prerelease: false
68
- version_requirements: *19296760
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.4.6
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: aruba
71
- requirement: &19296040 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
72
81
  none: false
73
82
  requirements:
74
83
  - - ~>
@@ -76,10 +85,15 @@ dependencies:
76
85
  version: 0.4.11
77
86
  type: :development
78
87
  prerelease: false
79
- version_requirements: *19296040
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.4.11
80
94
  - !ruby/object:Gem::Dependency
81
95
  name: rake
82
- requirement: &19295480 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
83
97
  none: false
84
98
  requirements:
85
99
  - - ! '>='
@@ -87,98 +101,111 @@ dependencies:
87
101
  version: 0.9.2
88
102
  type: :development
89
103
  prerelease: false
90
- version_requirements: *19295480
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.9.2
91
110
  - !ruby/object:Gem::Dependency
92
111
  name: rspec
93
- requirement: &19294960 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
94
113
  none: false
95
114
  requirements:
96
115
  - - ~>
97
116
  - !ruby/object:Gem::Version
98
- version: 2.7.0
117
+ version: 2.9.0
99
118
  type: :development
100
119
  prerelease: false
101
- version_requirements: *19294960
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 2.9.0
102
126
  - !ruby/object:Gem::Dependency
103
127
  name: nokogiri
104
- requirement: &19294340 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
105
129
  none: false
106
130
  requirements:
107
131
  - - ! '>='
108
132
  - !ruby/object:Gem::Version
109
- version: 1.5.0
133
+ version: 1.5.2
110
134
  type: :development
111
135
  prerelease: false
112
- version_requirements: *19294340
113
- - !ruby/object:Gem::Dependency
114
- name: prawn
115
- requirement: &19293820 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
116
137
  none: false
117
138
  requirements:
118
- - - ~>
139
+ - - ! '>='
119
140
  - !ruby/object:Gem::Version
120
- version: 0.8.4
121
- type: :development
122
- prerelease: false
123
- version_requirements: *19293820
141
+ version: 1.5.2
124
142
  - !ruby/object:Gem::Dependency
125
- name: prawn-layout
126
- requirement: &19293240 !ruby/object:Gem::Requirement
143
+ name: syntax
144
+ requirement: !ruby/object:Gem::Requirement
127
145
  none: false
128
146
  requirements:
129
- - - ~>
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
- version: 0.8.4
149
+ version: 1.0.0
132
150
  type: :development
133
151
  prerelease: false
134
- version_requirements: *19293240
135
- - !ruby/object:Gem::Dependency
136
- name: syntax
137
- requirement: &19292660 !ruby/object:Gem::Requirement
152
+ version_requirements: !ruby/object:Gem::Requirement
138
153
  none: false
139
154
  requirements:
140
155
  - - ! '>='
141
156
  - !ruby/object:Gem::Version
142
157
  version: 1.0.0
143
- type: :development
144
- prerelease: false
145
- version_requirements: *19292660
146
158
  - !ruby/object:Gem::Dependency
147
159
  name: spork
148
- requirement: &19279180 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
149
161
  none: false
150
162
  requirements:
151
163
  - - ! '>='
152
164
  - !ruby/object:Gem::Version
153
- version: 0.9.0.rc9
165
+ version: 1.0.0.rc2
154
166
  type: :development
155
167
  prerelease: false
156
- version_requirements: *19279180
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: 1.0.0.rc2
157
174
  - !ruby/object:Gem::Dependency
158
175
  name: simplecov
159
- requirement: &19278460 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
160
177
  none: false
161
178
  requirements:
162
179
  - - ! '>='
163
180
  - !ruby/object:Gem::Version
164
- version: 0.5.4
181
+ version: 0.6.2
165
182
  type: :development
166
183
  prerelease: false
167
- version_requirements: *19278460
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: 0.6.2
168
190
  - !ruby/object:Gem::Dependency
169
191
  name: yard
170
- requirement: &19276760 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
171
193
  none: false
172
194
  requirements:
173
195
  - - ~>
174
196
  - !ruby/object:Gem::Version
175
- version: 0.7.4
197
+ version: 0.8.0
176
198
  type: :development
177
199
  prerelease: false
178
- version_requirements: *19276760
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ~>
204
+ - !ruby/object:Gem::Version
205
+ version: 0.8.0
179
206
  - !ruby/object:Gem::Dependency
180
207
  name: rdiscount
181
- requirement: &19274560 !ruby/object:Gem::Requirement
208
+ requirement: !ruby/object:Gem::Requirement
182
209
  none: false
183
210
  requirements:
184
211
  - - ~>
@@ -186,10 +213,15 @@ dependencies:
186
213
  version: 1.6.8
187
214
  type: :development
188
215
  prerelease: false
189
- version_requirements: *19274560
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ~>
220
+ - !ruby/object:Gem::Version
221
+ version: 1.6.8
190
222
  - !ruby/object:Gem::Dependency
191
223
  name: bcat
192
- requirement: &19273040 !ruby/object:Gem::Requirement
224
+ requirement: !ruby/object:Gem::Requirement
193
225
  none: false
194
226
  requirements:
195
227
  - - ~>
@@ -197,10 +229,15 @@ dependencies:
197
229
  version: 0.6.2
198
230
  type: :development
199
231
  prerelease: false
200
- version_requirements: *19273040
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ~>
236
+ - !ruby/object:Gem::Version
237
+ version: 0.6.2
201
238
  - !ruby/object:Gem::Dependency
202
239
  name: ramaze
203
- requirement: &19272340 !ruby/object:Gem::Requirement
240
+ requirement: !ruby/object:Gem::Requirement
204
241
  none: false
205
242
  requirements:
206
243
  - - ! '>='
@@ -208,10 +245,15 @@ dependencies:
208
245
  version: '0'
209
246
  type: :development
210
247
  prerelease: false
211
- version_requirements: *19272340
248
+ version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
250
+ requirements:
251
+ - - ! '>='
252
+ - !ruby/object:Gem::Version
253
+ version: '0'
212
254
  - !ruby/object:Gem::Dependency
213
255
  name: rack-test
214
- requirement: &19212440 !ruby/object:Gem::Requirement
256
+ requirement: !ruby/object:Gem::Requirement
215
257
  none: false
216
258
  requirements:
217
259
  - - ! '>='
@@ -219,10 +261,15 @@ dependencies:
219
261
  version: 0.6.1
220
262
  type: :development
221
263
  prerelease: false
222
- version_requirements: *19212440
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: 0.6.1
223
270
  - !ruby/object:Gem::Dependency
224
271
  name: webrat
225
- requirement: &19211540 !ruby/object:Gem::Requirement
272
+ requirement: !ruby/object:Gem::Requirement
226
273
  none: false
227
274
  requirements:
228
275
  - - ! '>='
@@ -230,29 +277,44 @@ dependencies:
230
277
  version: 0.7.3
231
278
  type: :development
232
279
  prerelease: false
233
- version_requirements: *19211540
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ none: false
282
+ requirements:
283
+ - - ! '>='
284
+ - !ruby/object:Gem::Version
285
+ version: 0.7.3
234
286
  - !ruby/object:Gem::Dependency
235
287
  name: sinatra
236
- requirement: &19210560 !ruby/object:Gem::Requirement
288
+ requirement: !ruby/object:Gem::Requirement
237
289
  none: false
238
290
  requirements:
239
291
  - - ! '>='
240
292
  - !ruby/object:Gem::Version
241
- version: 1.3.1
293
+ version: 1.3.2
242
294
  type: :development
243
295
  prerelease: false
244
- version_requirements: *19210560
296
+ version_requirements: !ruby/object:Gem::Requirement
297
+ none: false
298
+ requirements:
299
+ - - ! '>='
300
+ - !ruby/object:Gem::Version
301
+ version: 1.3.2
245
302
  - !ruby/object:Gem::Dependency
246
303
  name: capybara
247
- requirement: &19209240 !ruby/object:Gem::Requirement
304
+ requirement: !ruby/object:Gem::Requirement
248
305
  none: false
249
306
  requirements:
250
307
  - - ! '>='
251
308
  - !ruby/object:Gem::Version
252
- version: 1.1.1
309
+ version: 1.1.2
253
310
  type: :development
254
311
  prerelease: false
255
- version_requirements: *19209240
312
+ version_requirements: !ruby/object:Gem::Requirement
313
+ none: false
314
+ requirements:
315
+ - - ! '>='
316
+ - !ruby/object:Gem::Version
317
+ version: 1.1.2
256
318
  description: Behaviour Driven Development with elegance and joy
257
319
  email: cukes@googlegroups.com
258
320
  executables:
@@ -261,7 +323,6 @@ extensions: []
261
323
  extra_rdoc_files: []
262
324
  files:
263
325
  - .gitattributes
264
- - .gitmodules
265
326
  - .rspec
266
327
  - .rvmrc
267
328
  - .travis.yml
@@ -506,16 +567,19 @@ files:
506
567
  - examples/watir/features/support/screenshots.rb
507
568
  - features/.cucumber/stepdefs.json
508
569
  - features/background.feature
570
+ - features/backtraces.feature
509
571
  - features/bootstrap.feature
510
572
  - features/custom_formatter.feature
511
573
  - features/doc_strings.feature
574
+ - features/drb_server_integration.feature
512
575
  - features/execute_with_tag_filter.feature
576
+ - features/formatter_step_file_colon_line.feature
513
577
  - features/hooks.feature
514
578
  - features/iso-8859-1.feature
515
- - features/issue_117.feature
516
- - features/issue_57.feature
517
579
  - features/json_formatter.feature
518
580
  - features/nested_steps.feature
581
+ - features/rerun_formatter.feature
582
+ - features/run_specific_scenarios.feature
519
583
  - features/stats_formatters.feature
520
584
  - features/step_definitions/cucumber-features/cucumber_ruby_mappings.rb
521
585
  - features/step_definitions/cucumber_steps.rb
@@ -714,13 +778,13 @@ files:
714
778
  - lib/cucumber/formatter/gherkin_formatter_adapter.rb
715
779
  - lib/cucumber/formatter/gpretty.rb
716
780
  - lib/cucumber/formatter/html.rb
781
+ - lib/cucumber/formatter/interceptor.rb
717
782
  - lib/cucumber/formatter/io.rb
718
783
  - lib/cucumber/formatter/jquery-min.js
719
784
  - lib/cucumber/formatter/json.rb
720
785
  - lib/cucumber/formatter/json_pretty.rb
721
786
  - lib/cucumber/formatter/junit.rb
722
787
  - lib/cucumber/formatter/ordered_xml_markup.rb
723
- - lib/cucumber/formatter/pdf.rb
724
788
  - lib/cucumber/formatter/pretty.rb
725
789
  - lib/cucumber/formatter/progress.rb
726
790
  - lib/cucumber/formatter/rerun.rb
@@ -760,6 +824,7 @@ files:
760
824
  - lib/cucumber/step_definitions.rb
761
825
  - lib/cucumber/step_match.rb
762
826
  - lib/cucumber/step_mother.rb
827
+ - lib/cucumber/term/ansicolor.rb
763
828
  - lib/cucumber/wire_support/configuration.rb
764
829
  - lib/cucumber/wire_support/connection.rb
765
830
  - lib/cucumber/wire_support/request_handler.rb
@@ -790,6 +855,7 @@ files:
790
855
  - spec/cucumber/formatter/ansicolor_spec.rb
791
856
  - spec/cucumber/formatter/duration_spec.rb
792
857
  - spec/cucumber/formatter/html_spec.rb
858
+ - spec/cucumber/formatter/interceptor_spec.rb
793
859
  - spec/cucumber/formatter/junit_spec.rb
794
860
  - spec/cucumber/formatter/progress_spec.rb
795
861
  - spec/cucumber/formatter/spec_helper.rb
@@ -819,7 +885,7 @@ post_install_message: ! '
819
885
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
820
886
 
821
887
 
822
- Thank you for installing cucumber-1.1.9.
888
+ Thank you for installing cucumber-1.2.0.
823
889
 
824
890
  Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
825
891
 
@@ -848,9 +914,76 @@ required_rubygems_version: !ruby/object:Gem::Requirement
848
914
  version: '0'
849
915
  requirements: []
850
916
  rubyforge_project:
851
- rubygems_version: 1.8.10
917
+ rubygems_version: 1.8.24
852
918
  signing_key:
853
919
  specification_version: 3
854
- summary: cucumber-1.1.9
855
- test_files: []
920
+ summary: cucumber-1.2.0
921
+ test_files:
922
+ - features/background.feature
923
+ - features/backtraces.feature
924
+ - features/bootstrap.feature
925
+ - features/custom_formatter.feature
926
+ - features/doc_strings.feature
927
+ - features/drb_server_integration.feature
928
+ - features/execute_with_tag_filter.feature
929
+ - features/formatter_step_file_colon_line.feature
930
+ - features/hooks.feature
931
+ - features/iso-8859-1.feature
932
+ - features/json_formatter.feature
933
+ - features/nested_steps.feature
934
+ - features/rerun_formatter.feature
935
+ - features/run_specific_scenarios.feature
936
+ - features/stats_formatters.feature
937
+ - features/step_definitions/cucumber-features/cucumber_ruby_mappings.rb
938
+ - features/step_definitions/cucumber_steps.rb
939
+ - features/step_definitions/drb_steps.rb
940
+ - features/step_definitions/iso-8859-1_steps.rb
941
+ - features/support/env.rb
942
+ - features/support/feature_factory.rb
943
+ - features/tagged_hooks.feature
944
+ - features/transforms.feature
945
+ - spec/cucumber/ast/background_spec.rb
946
+ - spec/cucumber/ast/doc_string_spec.rb
947
+ - spec/cucumber/ast/feature_factory.rb
948
+ - spec/cucumber/ast/feature_spec.rb
949
+ - spec/cucumber/ast/outline_table_spec.rb
950
+ - spec/cucumber/ast/scenario_outline_spec.rb
951
+ - spec/cucumber/ast/step_spec.rb
952
+ - spec/cucumber/ast/table_spec.rb
953
+ - spec/cucumber/ast/tree_walker_spec.rb
954
+ - spec/cucumber/broadcaster_spec.rb
955
+ - spec/cucumber/cli/configuration_spec.rb
956
+ - spec/cucumber/cli/drb_client_spec.rb
957
+ - spec/cucumber/cli/main_spec.rb
958
+ - spec/cucumber/cli/options_spec.rb
959
+ - spec/cucumber/cli/profile_loader_spec.rb
960
+ - spec/cucumber/configuration_spec.rb
961
+ - spec/cucumber/constantize_spec.rb
962
+ - spec/cucumber/core_ext/proc_spec.rb
963
+ - spec/cucumber/formatter/ansicolor_spec.rb
964
+ - spec/cucumber/formatter/duration_spec.rb
965
+ - spec/cucumber/formatter/html_spec.rb
966
+ - spec/cucumber/formatter/interceptor_spec.rb
967
+ - spec/cucumber/formatter/junit_spec.rb
968
+ - spec/cucumber/formatter/progress_spec.rb
969
+ - spec/cucumber/formatter/spec_helper.rb
970
+ - spec/cucumber/rake/forked_spec.rb
971
+ - spec/cucumber/rake/rcov_spec.rb
972
+ - spec/cucumber/rb_support/rb_language_spec.rb
973
+ - spec/cucumber/rb_support/rb_step_definition_spec.rb
974
+ - spec/cucumber/rb_support/rb_transform_spec.rb
975
+ - spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
976
+ - spec/cucumber/runtime/results_spec.rb
977
+ - spec/cucumber/runtime/support_code_spec.rb
978
+ - spec/cucumber/runtime_spec.rb
979
+ - spec/cucumber/sell_cucumbers.feature
980
+ - spec/cucumber/step_match_spec.rb
981
+ - spec/cucumber/wire_support/configuration_spec.rb
982
+ - spec/cucumber/wire_support/connection_spec.rb
983
+ - spec/cucumber/wire_support/wire_exception_spec.rb
984
+ - spec/cucumber/wire_support/wire_language_spec.rb
985
+ - spec/cucumber/wire_support/wire_packet_spec.rb
986
+ - spec/cucumber/wire_support/wire_step_definition_spec.rb
987
+ - spec/cucumber/world/pending_spec.rb
988
+ - spec/spec_helper.rb
856
989
  has_rdoc: