cucumber 0.6.4 → 0.7.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +11 -0
- data/Rakefile +3 -5
- data/VERSION.yml +3 -3
- data/cucumber.gemspec +35 -55
- data/cucumber.yml +3 -2
- data/examples/i18n/Rakefile +1 -0
- data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +1 -1
- data/examples/i18n/eo/.gitignore +1 -0
- data/examples/i18n/eo/Rakefile +6 -0
- data/examples/i18n/eo/features/adicio.feature +17 -0
- data/examples/i18n/eo/features/divido.feature +10 -0
- data/examples/i18n/eo/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/eo/lib/calculator.rb +14 -0
- data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +1 -1
- data/examples/i18n/ru/features/division.feature +1 -1
- data/examples/i18n/uk/Rakefile +6 -0
- data/examples/i18n/uk/features/addition.feature +11 -0
- data/examples/i18n/uk/features/consecutive_calculations.feature +17 -0
- data/examples/i18n/uk/features/division.feature +16 -0
- data/examples/i18n/uk/features/step_definitons/calculator_steps.rb +19 -0
- data/examples/i18n/uk/features/support/env.rb +5 -0
- data/examples/i18n/uk/features/support/world.rb +8 -0
- data/examples/i18n/uk/lib/calculator.rb +24 -0
- data/examples/i18n/uz/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/sinatra/features/add.feature +1 -1
- data/examples/sinatra/features/step_definitions/add_steps.rb +1 -1
- data/examples/sinatra/features/support/env.rb +2 -19
- data/examples/sinatra/views/add.erb +7 -5
- data/features/announce.feature +46 -39
- data/features/background.feature +3 -0
- data/features/call_many_steps.feature +1 -1
- data/features/cucumber_cli_outlines.feature +12 -0
- data/features/drb_server_integration.feature +1 -1
- data/features/exception_in_after_block.feature +3 -0
- data/features/exception_in_after_step_block.feature +3 -0
- data/features/html_formatter/a.html +29 -29
- data/features/language_help.feature +57 -52
- data/features/multiline_names.feature +1 -0
- data/features/step_definitions/cucumber_steps.rb +2 -1
- data/features/usage_and_stepdefs_formatter.feature +30 -30
- data/features/wire_protocol.feature +12 -9
- data/features/wire_protocol_table_diffing.feature +8 -6
- data/features/wire_protocol_timeouts.feature +5 -4
- data/gem_tasks/treetop.rake +13 -0
- data/lib/autotest/cucumber_mixin.rb +1 -1
- data/lib/cucumber/ast.rb +1 -0
- data/lib/cucumber/ast/background.rb +14 -4
- data/lib/cucumber/ast/examples.rb +2 -0
- data/lib/cucumber/ast/feature.rb +26 -5
- data/lib/cucumber/ast/feature_element.rb +18 -9
- data/lib/cucumber/ast/outline_table.rb +13 -1
- data/lib/cucumber/ast/py_string.rb +26 -9
- data/lib/cucumber/ast/scenario.rb +13 -7
- data/lib/cucumber/ast/scenario_outline.rb +18 -6
- data/lib/cucumber/ast/step.rb +4 -4
- data/lib/cucumber/ast/step_invocation.rb +5 -2
- data/lib/cucumber/ast/table.rb +26 -1
- data/lib/cucumber/ast/tags.rb +3 -1
- data/lib/cucumber/ast/tree_walker.rb +2 -18
- data/lib/cucumber/cli/configuration.rb +2 -2
- data/lib/cucumber/cli/options.rb +16 -21
- data/lib/cucumber/feature_file.rb +25 -7
- data/lib/cucumber/formatter/ansicolor.rb +6 -1
- data/lib/cucumber/formatter/console.rb +4 -3
- data/lib/cucumber/formatter/html.rb +8 -5
- data/lib/cucumber/formatter/junit.rb +5 -4
- data/lib/cucumber/formatter/pdf.rb +2 -3
- data/lib/cucumber/formatter/pretty.rb +5 -5
- data/lib/cucumber/formatter/usage.rb +2 -2
- data/lib/cucumber/parser.rb +0 -6
- data/lib/cucumber/parser/gherkin_builder.rb +142 -0
- data/lib/cucumber/platform.rb +0 -2
- data/lib/cucumber/rb_support/rb_language.rb +7 -12
- data/lib/cucumber/step_mother.rb +4 -26
- data/spec/cucumber/ast/background_spec.rb +0 -1
- data/spec/cucumber/ast/feature_factory.rb +2 -4
- data/spec/cucumber/ast/feature_spec.rb +0 -2
- data/spec/cucumber/ast/py_string_spec.rb +2 -13
- data/spec/cucumber/ast/scenario_outline_spec.rb +0 -1
- data/spec/cucumber/ast/scenario_spec.rb +0 -1
- data/spec/cucumber/ast/step_spec.rb +1 -1
- data/spec/cucumber/ast/table_spec.rb +2 -2
- data/spec/cucumber/cli/main_spec.rb +1 -1
- data/spec/cucumber/cli/options_spec.rb +2 -2
- data/spec/cucumber/formatter/html_spec.rb +20 -1
- data/spec/cucumber/formatter/junit_spec.rb +1 -0
- data/spec/cucumber/formatter/spec_helper.rb +7 -5
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +0 -1
- data/spec/cucumber/step_mother_spec.rb +2 -2
- data/spec/spec_helper.rb +0 -1
- metadata +67 -93
- data/lib/cucumber/cli/language_help_formatter.rb +0 -72
- data/lib/cucumber/filter.rb +0 -43
- data/lib/cucumber/languages.yml +0 -536
- data/lib/cucumber/parser/common.rb +0 -182
- data/lib/cucumber/parser/common.tt +0 -21
- data/lib/cucumber/parser/feature.rb +0 -1591
- data/lib/cucumber/parser/feature.tt +0 -287
- data/lib/cucumber/parser/i18n.tt +0 -35
- data/lib/cucumber/parser/natural_language.rb +0 -118
- data/lib/cucumber/parser/py_string.rb +0 -285
- data/lib/cucumber/parser/py_string.tt +0 -45
- data/lib/cucumber/parser/table.rb +0 -314
- data/lib/cucumber/parser/table.tt +0 -60
- data/lib/cucumber/parser/treetop_ext.rb +0 -54
- data/lib/cucumber/tag_expression.rb +0 -41
- data/spec/cucumber/ast/feature_element_spec.rb +0 -41
- data/spec/cucumber/ast/step_collection_spec.rb +0 -17
- data/spec/cucumber/parser/feature_parser_spec.rb +0 -400
- data/spec/cucumber/parser/table_parser_spec.rb +0 -52
- data/spec/cucumber/tag_expression_spec.rb +0 -125
- data/spec/cucumber/treetop_parser/empty_feature.feature +0 -4
- data/spec/cucumber/treetop_parser/empty_scenario.feature +0 -9
- data/spec/cucumber/treetop_parser/empty_scenario_outline.feature +0 -3
- data/spec/cucumber/treetop_parser/fit_scenario.feature +0 -8
- data/spec/cucumber/treetop_parser/given_scenario.feature +0 -9
- data/spec/cucumber/treetop_parser/invalid_scenario_outlines.feature +0 -7
- data/spec/cucumber/treetop_parser/multiline_steps.feature +0 -17
- data/spec/cucumber/treetop_parser/multiple_tables.feature +0 -27
- data/spec/cucumber/treetop_parser/scenario_outline.feature +0 -16
- data/spec/cucumber/treetop_parser/spaces.feature +0 -12
- data/spec/cucumber/treetop_parser/test_dos.feature +0 -25
- data/spec/cucumber/treetop_parser/with_comments.feature +0 -23
- data/spec/cucumber/treetop_parser/with_tags.feature +0 -18
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
|
7
|
+
- 7
|
8
|
+
- 0
|
9
|
+
- beta
|
10
|
+
- 1
|
11
|
+
version: 0.7.0.beta.1
|
10
12
|
platform: ruby
|
11
13
|
authors:
|
12
14
|
- "Aslak Helles\xC3\xB8y"
|
@@ -14,25 +16,25 @@ autorequire:
|
|
14
16
|
bindir: bin
|
15
17
|
cert_chain: []
|
16
18
|
|
17
|
-
date: 2010-
|
19
|
+
date: 2010-04-20 00:00:00 +02:00
|
18
20
|
default_executable: cucumber
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
23
|
+
name: gherkin
|
22
24
|
prerelease: false
|
23
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
26
|
requirements:
|
25
|
-
- - "
|
27
|
+
- - "="
|
26
28
|
- !ruby/object:Gem::Version
|
27
29
|
segments:
|
28
30
|
- 1
|
29
31
|
- 0
|
30
|
-
-
|
31
|
-
version: 1.0.
|
32
|
+
- 16
|
33
|
+
version: 1.0.16
|
32
34
|
type: :runtime
|
33
35
|
version_requirements: *id001
|
34
36
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
37
|
+
name: term-ansicolor
|
36
38
|
prerelease: false
|
37
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
40
|
requirements:
|
@@ -40,29 +42,15 @@ dependencies:
|
|
40
42
|
- !ruby/object:Gem::Version
|
41
43
|
segments:
|
42
44
|
- 1
|
45
|
+
- 0
|
43
46
|
- 4
|
44
|
-
|
45
|
-
version: 1.4.2
|
47
|
+
version: 1.0.4
|
46
48
|
type: :runtime
|
47
49
|
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: polyglot
|
50
|
-
prerelease: false
|
51
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 0
|
57
|
-
- 2
|
58
|
-
- 9
|
59
|
-
version: 0.2.9
|
60
|
-
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
50
|
- !ruby/object:Gem::Dependency
|
63
51
|
name: builder
|
64
52
|
prerelease: false
|
65
|
-
requirement: &
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
66
54
|
requirements:
|
67
55
|
- - ">="
|
68
56
|
- !ruby/object:Gem::Version
|
@@ -72,11 +60,11 @@ dependencies:
|
|
72
60
|
- 2
|
73
61
|
version: 2.1.2
|
74
62
|
type: :runtime
|
75
|
-
version_requirements: *
|
63
|
+
version_requirements: *id003
|
76
64
|
- !ruby/object:Gem::Dependency
|
77
65
|
name: diff-lcs
|
78
66
|
prerelease: false
|
79
|
-
requirement: &
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
80
68
|
requirements:
|
81
69
|
- - ">="
|
82
70
|
- !ruby/object:Gem::Version
|
@@ -86,25 +74,25 @@ dependencies:
|
|
86
74
|
- 2
|
87
75
|
version: 1.1.2
|
88
76
|
type: :runtime
|
89
|
-
version_requirements: *
|
77
|
+
version_requirements: *id004
|
90
78
|
- !ruby/object:Gem::Dependency
|
91
79
|
name: json_pure
|
92
80
|
prerelease: false
|
93
|
-
requirement: &
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
94
82
|
requirements:
|
95
83
|
- - ">="
|
96
84
|
- !ruby/object:Gem::Version
|
97
85
|
segments:
|
98
86
|
- 1
|
99
87
|
- 2
|
100
|
-
-
|
101
|
-
version: 1.2.
|
88
|
+
- 4
|
89
|
+
version: 1.2.4
|
102
90
|
type: :runtime
|
103
|
-
version_requirements: *
|
91
|
+
version_requirements: *id005
|
104
92
|
- !ruby/object:Gem::Dependency
|
105
93
|
name: nokogiri
|
106
94
|
prerelease: false
|
107
|
-
requirement: &
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
108
96
|
requirements:
|
109
97
|
- - ">="
|
110
98
|
- !ruby/object:Gem::Version
|
@@ -114,11 +102,11 @@ dependencies:
|
|
114
102
|
- 1
|
115
103
|
version: 1.4.1
|
116
104
|
type: :development
|
117
|
-
version_requirements: *
|
105
|
+
version_requirements: *id006
|
118
106
|
- !ruby/object:Gem::Dependency
|
119
107
|
name: prawn
|
120
108
|
prerelease: false
|
121
|
-
requirement: &
|
109
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
122
110
|
requirements:
|
123
111
|
- - "="
|
124
112
|
- !ruby/object:Gem::Version
|
@@ -128,11 +116,11 @@ dependencies:
|
|
128
116
|
- 3
|
129
117
|
version: 0.6.3
|
130
118
|
type: :development
|
131
|
-
version_requirements: *
|
119
|
+
version_requirements: *id007
|
132
120
|
- !ruby/object:Gem::Dependency
|
133
121
|
name: prawn-format
|
134
122
|
prerelease: false
|
135
|
-
requirement: &
|
123
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
136
124
|
requirements:
|
137
125
|
- - "="
|
138
126
|
- !ruby/object:Gem::Version
|
@@ -142,25 +130,25 @@ dependencies:
|
|
142
130
|
- 3
|
143
131
|
version: 0.2.3
|
144
132
|
type: :development
|
145
|
-
version_requirements: *
|
133
|
+
version_requirements: *id008
|
146
134
|
- !ruby/object:Gem::Dependency
|
147
135
|
name: htmlentities
|
148
136
|
prerelease: false
|
149
|
-
requirement: &
|
137
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
150
138
|
requirements:
|
151
139
|
- - ">="
|
152
140
|
- !ruby/object:Gem::Version
|
153
141
|
segments:
|
154
142
|
- 4
|
155
143
|
- 2
|
156
|
-
-
|
157
|
-
version: 4.2.
|
144
|
+
- 1
|
145
|
+
version: 4.2.1
|
158
146
|
type: :development
|
159
|
-
version_requirements: *
|
147
|
+
version_requirements: *id009
|
160
148
|
- !ruby/object:Gem::Dependency
|
161
149
|
name: rspec
|
162
150
|
prerelease: false
|
163
|
-
requirement: &
|
151
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
164
152
|
requirements:
|
165
153
|
- - ">="
|
166
154
|
- !ruby/object:Gem::Version
|
@@ -170,11 +158,11 @@ dependencies:
|
|
170
158
|
- 0
|
171
159
|
version: 1.3.0
|
172
160
|
type: :development
|
173
|
-
version_requirements: *
|
161
|
+
version_requirements: *id010
|
174
162
|
- !ruby/object:Gem::Dependency
|
175
163
|
name: syntax
|
176
164
|
prerelease: false
|
177
|
-
requirement: &
|
165
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
178
166
|
requirements:
|
179
167
|
- - ">="
|
180
168
|
- !ruby/object:Gem::Version
|
@@ -184,11 +172,11 @@ dependencies:
|
|
184
172
|
- 0
|
185
173
|
version: 1.0.0
|
186
174
|
type: :development
|
187
|
-
version_requirements: *
|
175
|
+
version_requirements: *id011
|
188
176
|
- !ruby/object:Gem::Dependency
|
189
177
|
name: spork
|
190
178
|
prerelease: false
|
191
|
-
requirement: &
|
179
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
192
180
|
requirements:
|
193
181
|
- - ">="
|
194
182
|
- !ruby/object:Gem::Version
|
@@ -198,7 +186,7 @@ dependencies:
|
|
198
186
|
- 5
|
199
187
|
version: 0.7.5
|
200
188
|
type: :development
|
201
|
-
version_requirements: *
|
189
|
+
version_requirements: *id012
|
202
190
|
description: A BDD tool written in Ruby
|
203
191
|
email: cukes@googlegroups.com
|
204
192
|
executables:
|
@@ -262,6 +250,12 @@ files:
|
|
262
250
|
- examples/i18n/en/features/division.feature
|
263
251
|
- examples/i18n/en/features/step_definitons/calculator_steps.rb
|
264
252
|
- examples/i18n/en/lib/calculator.rb
|
253
|
+
- examples/i18n/eo/.gitignore
|
254
|
+
- examples/i18n/eo/Rakefile
|
255
|
+
- examples/i18n/eo/features/adicio.feature
|
256
|
+
- examples/i18n/eo/features/divido.feature
|
257
|
+
- examples/i18n/eo/features/step_definitons/calculator_steps.rb
|
258
|
+
- examples/i18n/eo/lib/calculator.rb
|
265
259
|
- examples/i18n/es/Rakefile
|
266
260
|
- examples/i18n/es/features/adicion.feature
|
267
261
|
- examples/i18n/es/features/step_definitons/calculador_steps.rb
|
@@ -382,6 +376,14 @@ files:
|
|
382
376
|
- examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb
|
383
377
|
- examples/i18n/tr/features/toplama.feature
|
384
378
|
- examples/i18n/tr/lib/hesap_makinesi.rb
|
379
|
+
- examples/i18n/uk/Rakefile
|
380
|
+
- examples/i18n/uk/features/addition.feature
|
381
|
+
- examples/i18n/uk/features/consecutive_calculations.feature
|
382
|
+
- examples/i18n/uk/features/division.feature
|
383
|
+
- examples/i18n/uk/features/step_definitons/calculator_steps.rb
|
384
|
+
- examples/i18n/uk/features/support/env.rb
|
385
|
+
- examples/i18n/uk/features/support/world.rb
|
386
|
+
- examples/i18n/uk/lib/calculator.rb
|
385
387
|
- examples/i18n/uz/Rakefile
|
386
388
|
- examples/i18n/uz/features/addition.feature
|
387
389
|
- examples/i18n/uz/features/consecutive_calculations.feature
|
@@ -577,6 +579,7 @@ files:
|
|
577
579
|
- gem_tasks/rspec.rake
|
578
580
|
- gem_tasks/sass.rake
|
579
581
|
- gem_tasks/sdoc.rake
|
582
|
+
- gem_tasks/treetop.rake
|
580
583
|
- lib/README.rdoc
|
581
584
|
- lib/autotest/cucumber.rb
|
582
585
|
- lib/autotest/cucumber_mixin.rb
|
@@ -608,7 +611,6 @@ files:
|
|
608
611
|
- lib/cucumber/broadcaster.rb
|
609
612
|
- lib/cucumber/cli/configuration.rb
|
610
613
|
- lib/cucumber/cli/drb_client.rb
|
611
|
-
- lib/cucumber/cli/language_help_formatter.rb
|
612
614
|
- lib/cucumber/cli/main.rb
|
613
615
|
- lib/cucumber/cli/options.rb
|
614
616
|
- lib/cucumber/cli/profile_loader.rb
|
@@ -617,7 +619,6 @@ files:
|
|
617
619
|
- lib/cucumber/core_ext/proc.rb
|
618
620
|
- lib/cucumber/core_ext/string.rb
|
619
621
|
- lib/cucumber/feature_file.rb
|
620
|
-
- lib/cucumber/filter.rb
|
621
622
|
- lib/cucumber/formatter/ansicolor.rb
|
622
623
|
- lib/cucumber/formatter/color_io.rb
|
623
624
|
- lib/cucumber/formatter/console.rb
|
@@ -641,19 +642,8 @@ files:
|
|
641
642
|
- lib/cucumber/formatter/usage.rb
|
642
643
|
- lib/cucumber/language_support.rb
|
643
644
|
- lib/cucumber/language_support/language_methods.rb
|
644
|
-
- lib/cucumber/languages.yml
|
645
645
|
- lib/cucumber/parser.rb
|
646
|
-
- lib/cucumber/parser/
|
647
|
-
- lib/cucumber/parser/common.tt
|
648
|
-
- lib/cucumber/parser/feature.rb
|
649
|
-
- lib/cucumber/parser/feature.tt
|
650
|
-
- lib/cucumber/parser/i18n.tt
|
651
|
-
- lib/cucumber/parser/natural_language.rb
|
652
|
-
- lib/cucumber/parser/py_string.rb
|
653
|
-
- lib/cucumber/parser/py_string.tt
|
654
|
-
- lib/cucumber/parser/table.rb
|
655
|
-
- lib/cucumber/parser/table.tt
|
656
|
-
- lib/cucumber/parser/treetop_ext.rb
|
646
|
+
- lib/cucumber/parser/gherkin_builder.rb
|
657
647
|
- lib/cucumber/platform.rb
|
658
648
|
- lib/cucumber/py_support/py_dsl.py
|
659
649
|
- lib/cucumber/py_support/py_language.py
|
@@ -671,7 +661,6 @@ files:
|
|
671
661
|
- lib/cucumber/step_definition_light.rb
|
672
662
|
- lib/cucumber/step_match.rb
|
673
663
|
- lib/cucumber/step_mother.rb
|
674
|
-
- lib/cucumber/tag_expression.rb
|
675
664
|
- lib/cucumber/wire_support/configuration.rb
|
676
665
|
- lib/cucumber/wire_support/connection.rb
|
677
666
|
- lib/cucumber/wire_support/request_handler.rb
|
@@ -682,14 +671,12 @@ files:
|
|
682
671
|
- lib/cucumber/wire_support/wire_protocol/requests.rb
|
683
672
|
- lib/cucumber/wire_support/wire_step_definition.rb
|
684
673
|
- spec/cucumber/ast/background_spec.rb
|
685
|
-
- spec/cucumber/ast/feature_element_spec.rb
|
686
674
|
- spec/cucumber/ast/feature_factory.rb
|
687
675
|
- spec/cucumber/ast/feature_spec.rb
|
688
676
|
- spec/cucumber/ast/outline_table_spec.rb
|
689
677
|
- spec/cucumber/ast/py_string_spec.rb
|
690
678
|
- spec/cucumber/ast/scenario_outline_spec.rb
|
691
679
|
- spec/cucumber/ast/scenario_spec.rb
|
692
|
-
- spec/cucumber/ast/step_collection_spec.rb
|
693
680
|
- spec/cucumber/ast/step_spec.rb
|
694
681
|
- spec/cucumber/ast/table_spec.rb
|
695
682
|
- spec/cucumber/ast/tree_walker_spec.rb
|
@@ -707,27 +694,11 @@ files:
|
|
707
694
|
- spec/cucumber/formatter/junit_spec.rb
|
708
695
|
- spec/cucumber/formatter/progress_spec.rb
|
709
696
|
- spec/cucumber/formatter/spec_helper.rb
|
710
|
-
- spec/cucumber/parser/feature_parser_spec.rb
|
711
|
-
- spec/cucumber/parser/table_parser_spec.rb
|
712
697
|
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
713
698
|
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
714
699
|
- spec/cucumber/sell_cucumbers.feature
|
715
700
|
- spec/cucumber/step_match_spec.rb
|
716
701
|
- spec/cucumber/step_mother_spec.rb
|
717
|
-
- spec/cucumber/tag_expression_spec.rb
|
718
|
-
- spec/cucumber/treetop_parser/empty_feature.feature
|
719
|
-
- spec/cucumber/treetop_parser/empty_scenario.feature
|
720
|
-
- spec/cucumber/treetop_parser/empty_scenario_outline.feature
|
721
|
-
- spec/cucumber/treetop_parser/fit_scenario.feature
|
722
|
-
- spec/cucumber/treetop_parser/given_scenario.feature
|
723
|
-
- spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
|
724
|
-
- spec/cucumber/treetop_parser/multiline_steps.feature
|
725
|
-
- spec/cucumber/treetop_parser/multiple_tables.feature
|
726
|
-
- spec/cucumber/treetop_parser/scenario_outline.feature
|
727
|
-
- spec/cucumber/treetop_parser/spaces.feature
|
728
|
-
- spec/cucumber/treetop_parser/test_dos.feature
|
729
|
-
- spec/cucumber/treetop_parser/with_comments.feature
|
730
|
-
- spec/cucumber/treetop_parser/with_tags.feature
|
731
702
|
- spec/cucumber/wire_support/configuration_spec.rb
|
732
703
|
- spec/cucumber/wire_support/connection_spec.rb
|
733
704
|
- spec/cucumber/wire_support/wire_exception_spec.rb
|
@@ -747,7 +718,7 @@ post_install_message: |+
|
|
747
718
|
|
748
719
|
(::) U P G R A D I N G (::)
|
749
720
|
|
750
|
-
Thank you for installing cucumber-0.
|
721
|
+
Thank you for installing cucumber-0.7.0.beta.1.
|
751
722
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
|
752
723
|
for important information about this release. Happy cuking!
|
753
724
|
|
@@ -766,28 +737,28 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
766
737
|
version: "0"
|
767
738
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
768
739
|
requirements:
|
769
|
-
- - "
|
740
|
+
- - ">"
|
770
741
|
- !ruby/object:Gem::Version
|
771
742
|
segments:
|
772
|
-
-
|
773
|
-
|
743
|
+
- 1
|
744
|
+
- 3
|
745
|
+
- 1
|
746
|
+
version: 1.3.1
|
774
747
|
requirements: []
|
775
748
|
|
776
|
-
rubyforge_project:
|
749
|
+
rubyforge_project:
|
777
750
|
rubygems_version: 1.3.6
|
778
751
|
signing_key:
|
779
752
|
specification_version: 3
|
780
753
|
summary: Behaviour Driven Development with elegance and joy
|
781
754
|
test_files:
|
782
755
|
- spec/cucumber/ast/background_spec.rb
|
783
|
-
- spec/cucumber/ast/feature_element_spec.rb
|
784
756
|
- spec/cucumber/ast/feature_factory.rb
|
785
757
|
- spec/cucumber/ast/feature_spec.rb
|
786
758
|
- spec/cucumber/ast/outline_table_spec.rb
|
787
759
|
- spec/cucumber/ast/py_string_spec.rb
|
788
760
|
- spec/cucumber/ast/scenario_outline_spec.rb
|
789
761
|
- spec/cucumber/ast/scenario_spec.rb
|
790
|
-
- spec/cucumber/ast/step_collection_spec.rb
|
791
762
|
- spec/cucumber/ast/step_spec.rb
|
792
763
|
- spec/cucumber/ast/table_spec.rb
|
793
764
|
- spec/cucumber/ast/tree_walker_spec.rb
|
@@ -805,13 +776,10 @@ test_files:
|
|
805
776
|
- spec/cucumber/formatter/junit_spec.rb
|
806
777
|
- spec/cucumber/formatter/progress_spec.rb
|
807
778
|
- spec/cucumber/formatter/spec_helper.rb
|
808
|
-
- spec/cucumber/parser/feature_parser_spec.rb
|
809
|
-
- spec/cucumber/parser/table_parser_spec.rb
|
810
779
|
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
811
780
|
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
812
781
|
- spec/cucumber/step_match_spec.rb
|
813
782
|
- spec/cucumber/step_mother_spec.rb
|
814
|
-
- spec/cucumber/tag_expression_spec.rb
|
815
783
|
- spec/cucumber/wire_support/configuration_spec.rb
|
816
784
|
- spec/cucumber/wire_support/connection_spec.rb
|
817
785
|
- spec/cucumber/wire_support/wire_exception_spec.rb
|
@@ -838,6 +806,8 @@ test_files:
|
|
838
806
|
- examples/i18n/en-lol/features/support/env.rb
|
839
807
|
- examples/i18n/en-lol/lib/basket.rb
|
840
808
|
- examples/i18n/en-lol/lib/belly.rb
|
809
|
+
- examples/i18n/eo/features/step_definitons/calculator_steps.rb
|
810
|
+
- examples/i18n/eo/lib/calculator.rb
|
841
811
|
- examples/i18n/es/features/step_definitons/calculador_steps.rb
|
842
812
|
- examples/i18n/es/lib/calculador.rb
|
843
813
|
- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
|
@@ -890,6 +860,10 @@ test_files:
|
|
890
860
|
- examples/i18n/sv/lib/kalkulator.rb
|
891
861
|
- examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb
|
892
862
|
- examples/i18n/tr/lib/hesap_makinesi.rb
|
863
|
+
- examples/i18n/uk/features/step_definitons/calculator_steps.rb
|
864
|
+
- examples/i18n/uk/features/support/env.rb
|
865
|
+
- examples/i18n/uk/features/support/world.rb
|
866
|
+
- examples/i18n/uk/lib/calculator.rb
|
893
867
|
- examples/i18n/uz/features/step_definitons/calculator_steps.rb
|
894
868
|
- examples/i18n/uz/features/support/env.rb
|
895
869
|
- examples/i18n/uz/features/support/world.rb
|
@@ -1,72 +0,0 @@
|
|
1
|
-
require 'cucumber/formatter/pretty'
|
2
|
-
require 'cucumber/parser/natural_language'
|
3
|
-
require 'cucumber/formatter/unicode'
|
4
|
-
|
5
|
-
module Cucumber
|
6
|
-
module Cli
|
7
|
-
class LanguageHelpFormatter < Formatter::Pretty
|
8
|
-
INCOMPLETE = %{
|
9
|
-
The Cucumber grammar has evolved since this translation was written.
|
10
|
-
Please help us complete the translation by translating the missing words in
|
11
|
-
|
12
|
-
#{Cucumber::LANGUAGE_FILE}
|
13
|
-
|
14
|
-
Then contribute back to the Cucumber project. Details here:
|
15
|
-
http://wiki.github.com/aslakhellesoy/cucumber/spoken-languages
|
16
|
-
}
|
17
|
-
|
18
|
-
class << self
|
19
|
-
def list_languages(io)
|
20
|
-
raw = Cucumber::LANGUAGES.keys.sort.map do |lang|
|
21
|
-
[
|
22
|
-
lang,
|
23
|
-
Cucumber::LANGUAGES[lang]['name'],
|
24
|
-
Cucumber::LANGUAGES[lang]['native']
|
25
|
-
]
|
26
|
-
end
|
27
|
-
|
28
|
-
print_table io, raw, :check_lang => true
|
29
|
-
end
|
30
|
-
|
31
|
-
def list_keywords(io, lang)
|
32
|
-
language = Parser::NaturalLanguage.get(nil, lang)
|
33
|
-
raw = Parser::NaturalLanguage::KEYWORD_KEYS.map do |key|
|
34
|
-
[key, language.keywords(key).join(" / ")]
|
35
|
-
end
|
36
|
-
|
37
|
-
print_table io, raw, :incomplete => language.incomplete?
|
38
|
-
end
|
39
|
-
|
40
|
-
private
|
41
|
-
def print_table(io, raw, options)
|
42
|
-
table = Ast::Table.new(raw)
|
43
|
-
formatter = new(nil, io, options)
|
44
|
-
Ast::TreeWalker.new(nil, [formatter]).visit_multiline_arg(table)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
def before_visit_multiline_arg(table)
|
49
|
-
if @options[:incomplete]
|
50
|
-
@io.puts(format_string(INCOMPLETE, :failed))
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
def before_visit_table_row(table_row)
|
55
|
-
@col = 1
|
56
|
-
end
|
57
|
-
|
58
|
-
def before_visit_table_cell_value(value, status)
|
59
|
-
if @col == 1
|
60
|
-
if(@options[:check_lang])
|
61
|
-
@incomplete = Parser::NaturalLanguage.get(nil, value).incomplete?
|
62
|
-
end
|
63
|
-
status = :comment
|
64
|
-
elsif @incomplete
|
65
|
-
status = :undefined
|
66
|
-
end
|
67
|
-
|
68
|
-
@col += 1
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|