gherkin 2.6.7-x86-mswin32 → 2.6.8-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +6 -0
- data/README.md +1 -1
- data/cucumber.yml +1 -1
- data/features/.cucumber/stepdefs.json +228 -0
- data/gherkin.gemspec +2 -2
- data/lib/1.8/gherkin_lexer_ar.so +0 -0
- data/lib/1.8/gherkin_lexer_bg.so +0 -0
- data/lib/1.8/gherkin_lexer_ca.so +0 -0
- data/lib/1.8/gherkin_lexer_cs.so +0 -0
- data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
- data/lib/1.8/gherkin_lexer_da.so +0 -0
- data/lib/1.8/gherkin_lexer_de.so +0 -0
- data/lib/1.8/gherkin_lexer_en.so +0 -0
- data/lib/1.8/gherkin_lexer_en_au.so +0 -0
- data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
- data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
- data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
- data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
- data/lib/1.8/gherkin_lexer_eo.so +0 -0
- data/lib/1.8/gherkin_lexer_es.so +0 -0
- data/lib/1.8/gherkin_lexer_et.so +0 -0
- data/lib/1.8/gherkin_lexer_fi.so +0 -0
- data/lib/1.8/gherkin_lexer_fr.so +0 -0
- data/lib/1.8/gherkin_lexer_he.so +0 -0
- data/lib/1.8/gherkin_lexer_hr.so +0 -0
- data/lib/1.8/gherkin_lexer_hu.so +0 -0
- data/lib/1.8/gherkin_lexer_id.so +0 -0
- data/lib/1.8/gherkin_lexer_is.so +0 -0
- data/lib/1.8/gherkin_lexer_it.so +0 -0
- data/lib/1.8/gherkin_lexer_ja.so +0 -0
- data/lib/1.8/gherkin_lexer_ko.so +0 -0
- data/lib/1.8/gherkin_lexer_lt.so +0 -0
- data/lib/1.8/gherkin_lexer_lu.so +0 -0
- data/lib/1.8/gherkin_lexer_lv.so +0 -0
- data/lib/1.8/gherkin_lexer_nl.so +0 -0
- data/lib/1.8/gherkin_lexer_no.so +0 -0
- data/lib/1.8/gherkin_lexer_pl.so +0 -0
- data/lib/1.8/gherkin_lexer_pt.so +0 -0
- data/lib/1.8/gherkin_lexer_ro.so +0 -0
- data/lib/1.8/gherkin_lexer_ru.so +0 -0
- data/lib/1.8/gherkin_lexer_sk.so +0 -0
- data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
- data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
- data/lib/1.8/gherkin_lexer_sv.so +0 -0
- data/lib/1.8/gherkin_lexer_tr.so +0 -0
- data/lib/1.8/gherkin_lexer_uk.so +0 -0
- data/lib/1.8/gherkin_lexer_uz.so +0 -0
- data/lib/1.8/gherkin_lexer_vi.so +0 -0
- data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
- data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
- data/lib/1.9/gherkin_lexer_ar.so +0 -0
- data/lib/1.9/gherkin_lexer_bg.so +0 -0
- data/lib/1.9/gherkin_lexer_ca.so +0 -0
- data/lib/1.9/gherkin_lexer_cs.so +0 -0
- data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
- data/lib/1.9/gherkin_lexer_da.so +0 -0
- data/lib/1.9/gherkin_lexer_de.so +0 -0
- data/lib/1.9/gherkin_lexer_en.so +0 -0
- data/lib/1.9/gherkin_lexer_en_au.so +0 -0
- data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
- data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
- data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
- data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
- data/lib/1.9/gherkin_lexer_eo.so +0 -0
- data/lib/1.9/gherkin_lexer_es.so +0 -0
- data/lib/1.9/gherkin_lexer_et.so +0 -0
- data/lib/1.9/gherkin_lexer_fi.so +0 -0
- data/lib/1.9/gherkin_lexer_fr.so +0 -0
- data/lib/1.9/gherkin_lexer_he.so +0 -0
- data/lib/1.9/gherkin_lexer_hr.so +0 -0
- data/lib/1.9/gherkin_lexer_hu.so +0 -0
- data/lib/1.9/gherkin_lexer_id.so +0 -0
- data/lib/1.9/gherkin_lexer_is.so +0 -0
- data/lib/1.9/gherkin_lexer_it.so +0 -0
- data/lib/1.9/gherkin_lexer_ja.so +0 -0
- data/lib/1.9/gherkin_lexer_ko.so +0 -0
- data/lib/1.9/gherkin_lexer_lt.so +0 -0
- data/lib/1.9/gherkin_lexer_lu.so +0 -0
- data/lib/1.9/gherkin_lexer_lv.so +0 -0
- data/lib/1.9/gherkin_lexer_nl.so +0 -0
- data/lib/1.9/gherkin_lexer_no.so +0 -0
- data/lib/1.9/gherkin_lexer_pl.so +0 -0
- data/lib/1.9/gherkin_lexer_pt.so +0 -0
- data/lib/1.9/gherkin_lexer_ro.so +0 -0
- data/lib/1.9/gherkin_lexer_ru.so +0 -0
- data/lib/1.9/gherkin_lexer_sk.so +0 -0
- data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
- data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
- data/lib/1.9/gherkin_lexer_sv.so +0 -0
- data/lib/1.9/gherkin_lexer_tr.so +0 -0
- data/lib/1.9/gherkin_lexer_uk.so +0 -0
- data/lib/1.9/gherkin_lexer_uz.so +0 -0
- data/lib/1.9/gherkin_lexer_vi.so +0 -0
- data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
- data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
- data/ragel/lexer_common.rl.erb +1 -1
- data/spec/gherkin/shared/lexer_group.rb +8 -0
- data/tasks/ikvm.rake +1 -1
- metadata +27 -26
data/History.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [2.6.8](https://github.com/cucumber/gherkin/compare/v2.6.7...v2.6.8)
|
2
|
+
|
3
|
+
### Changed Features
|
4
|
+
|
5
|
+
* Steps can be empty. The main reason for this is to allow Cukepatch to show an autocomplete right after a keyword. ([#149](https://github.com/cucumber/gherkin/issues/149) Aslak Hellesøy)
|
6
|
+
|
1
7
|
## [2.6.7](https://github.com/cucumber/gherkin/compare/v2.6.6...v2.6.7)
|
2
8
|
|
3
9
|
### Bugfixes
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ The jar file is in the central Maven repo.
|
|
54
54
|
<dependency>
|
55
55
|
<groupId>info.cukes</groupId>
|
56
56
|
<artifactId>gherkin</artifactId>
|
57
|
-
<version>2.6.
|
57
|
+
<version>2.6.8</version>
|
58
58
|
</dependency>
|
59
59
|
|
60
60
|
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
|
data/cucumber.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
default: --format pretty --tags ~@pending,~@wip --strict --color features
|
1
|
+
default: --format pretty --tags ~@pending,~@wip --strict --color --dotcucumber features/.cucumber features
|
2
2
|
wip: --format pretty --tags @wip --wip features
|
3
3
|
pending: --format pretty --tags @pending,~@native_lexer
|
4
4
|
travis: --format pretty --tags ~@cucumber-source-available
|
@@ -0,0 +1,228 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"flags": "",
|
4
|
+
"source": "^they have arrived$",
|
5
|
+
"steps": [
|
6
|
+
{
|
7
|
+
"args": [
|
8
|
+
|
9
|
+
],
|
10
|
+
"name": "they have arrived"
|
11
|
+
}
|
12
|
+
]
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"flags": "",
|
16
|
+
"source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
|
17
|
+
"steps": [
|
18
|
+
|
19
|
+
]
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"flags": "",
|
23
|
+
"source": "^the\\ following\\ text\\ is\\ parsed:$",
|
24
|
+
"steps": [
|
25
|
+
{
|
26
|
+
"args": [
|
27
|
+
|
28
|
+
],
|
29
|
+
"name": "the following text is parsed:"
|
30
|
+
}
|
31
|
+
]
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"flags": "",
|
35
|
+
"source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
|
36
|
+
"steps": [
|
37
|
+
{
|
38
|
+
"args": [
|
39
|
+
|
40
|
+
],
|
41
|
+
"name": "there should be no parse errors"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"flags": "",
|
47
|
+
"source": "^there should be a parse error on (line \\d+)$",
|
48
|
+
"steps": [
|
49
|
+
{
|
50
|
+
"args": [
|
51
|
+
{
|
52
|
+
"offset": 33,
|
53
|
+
"val": "line 1"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"name": "there should be a parse error on line 1"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"flags": "",
|
62
|
+
"source": "^there should be parse errors on (lines .*)$",
|
63
|
+
"steps": [
|
64
|
+
{
|
65
|
+
"args": [
|
66
|
+
{
|
67
|
+
"offset": 32,
|
68
|
+
"val": "lines 1 and 2"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"name": "there should be parse errors on lines 1 and 2"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"args": [
|
75
|
+
{
|
76
|
+
"offset": 32,
|
77
|
+
"val": "lines 1 through 3"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"name": "there should be parse errors on lines 1 through 3"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"args": [
|
84
|
+
{
|
85
|
+
"offset": 32,
|
86
|
+
"val": "lines 10 and 17"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "there should be parse errors on lines 10 and 17"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"args": [
|
93
|
+
{
|
94
|
+
"offset": 32,
|
95
|
+
"val": "lines 3 and 5"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"name": "there should be parse errors on lines 3 and 5"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"args": [
|
102
|
+
{
|
103
|
+
"offset": 32,
|
104
|
+
"val": "lines 5, 10 and 12"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"name": "there should be parse errors on lines 5, 10 and 12"
|
108
|
+
}
|
109
|
+
]
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"flags": "",
|
113
|
+
"source": "^a JSON formatter$",
|
114
|
+
"steps": [
|
115
|
+
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"flags": "",
|
120
|
+
"source": "^the outputted JSON should be:$",
|
121
|
+
"steps": [
|
122
|
+
{
|
123
|
+
"args": [
|
124
|
+
|
125
|
+
],
|
126
|
+
"name": "the outputted JSON should be:"
|
127
|
+
}
|
128
|
+
]
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"flags": "",
|
132
|
+
"source": "^a PrettyFormatter$",
|
133
|
+
"steps": [
|
134
|
+
|
135
|
+
]
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"flags": "",
|
139
|
+
"source": "^a JSON lexer$",
|
140
|
+
"steps": [
|
141
|
+
|
142
|
+
]
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"flags": "",
|
146
|
+
"source": "^the following JSON is parsed:$",
|
147
|
+
"steps": [
|
148
|
+
{
|
149
|
+
"args": [
|
150
|
+
|
151
|
+
],
|
152
|
+
"name": "the following JSON is parsed:"
|
153
|
+
}
|
154
|
+
]
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"flags": "",
|
158
|
+
"source": "^the outputted text should be:$",
|
159
|
+
"steps": [
|
160
|
+
{
|
161
|
+
"args": [
|
162
|
+
|
163
|
+
],
|
164
|
+
"name": "the outputted text should be:"
|
165
|
+
}
|
166
|
+
]
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"flags": "",
|
170
|
+
"source": "^I have Cucumber's source code next to Gherkin's$",
|
171
|
+
"steps": [
|
172
|
+
{
|
173
|
+
"args": [
|
174
|
+
|
175
|
+
],
|
176
|
+
"name": "I have Cucumber's source code next to Gherkin's"
|
177
|
+
}
|
178
|
+
]
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"flags": "",
|
182
|
+
"source": "^I find all of the \\.feature files$",
|
183
|
+
"steps": [
|
184
|
+
{
|
185
|
+
"args": [
|
186
|
+
|
187
|
+
],
|
188
|
+
"name": "I find all of the .feature files"
|
189
|
+
}
|
190
|
+
]
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"flags": "",
|
194
|
+
"source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
|
195
|
+
"steps": [
|
196
|
+
{
|
197
|
+
"args": [
|
198
|
+
{
|
199
|
+
"offset": 45,
|
200
|
+
"val": "json"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"name": "I send each prettified original through the \"json\" machinery"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"args": [
|
207
|
+
{
|
208
|
+
"offset": 45,
|
209
|
+
"val": "pretty"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"name": "I send each prettified original through the \"pretty\" machinery"
|
213
|
+
}
|
214
|
+
]
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"flags": "",
|
218
|
+
"source": "^the machinery output should be identical to the prettified original$",
|
219
|
+
"steps": [
|
220
|
+
{
|
221
|
+
"args": [
|
222
|
+
|
223
|
+
],
|
224
|
+
"name": "the machinery output should be identical to the prettified original"
|
225
|
+
}
|
226
|
+
]
|
227
|
+
}
|
228
|
+
]
|
data/gherkin.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gherkin"
|
5
5
|
# If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
|
6
|
-
s.version = "2.6.
|
6
|
+
s.version = "2.6.8"
|
7
7
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
8
8
|
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
|
9
9
|
s.summary = "#{s.name}-#{s.version}"
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
|
47
47
|
s.add_runtime_dependency('json', '>= 1.4.6')
|
48
48
|
|
49
|
-
s.add_development_dependency('cucumber', '>= 1.1.
|
49
|
+
s.add_development_dependency('cucumber', '>= 1.1.3')
|
50
50
|
s.add_development_dependency('rake', '>= 0.9.2')
|
51
51
|
s.add_development_dependency('bundler', '>= 1.0.21')
|
52
52
|
s.add_development_dependency('rspec', '>= 2.7.0')
|
data/lib/1.8/gherkin_lexer_ar.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_bg.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_ca.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_cs.so
CHANGED
Binary file
|
Binary file
|
data/lib/1.8/gherkin_lexer_da.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_de.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_en.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/1.8/gherkin_lexer_eo.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_es.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_et.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_fi.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_fr.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_he.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_hr.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_hu.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_id.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_is.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_it.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_ja.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_ko.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_lt.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_lu.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_lv.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_nl.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_no.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_pl.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_pt.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_ro.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_ru.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_sk.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/1.8/gherkin_lexer_sv.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_tr.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_uk.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_uz.so
CHANGED
Binary file
|
data/lib/1.8/gherkin_lexer_vi.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/1.9/gherkin_lexer_ar.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_bg.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_ca.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_cs.so
CHANGED
Binary file
|
Binary file
|
data/lib/1.9/gherkin_lexer_da.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_de.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_en.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/1.9/gherkin_lexer_eo.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_es.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_et.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_fi.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_fr.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_he.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_hr.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_hu.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_id.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_is.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_it.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_ja.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_ko.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_lt.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_lu.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_lv.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_nl.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_no.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_pl.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_pt.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_ro.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_ru.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_sk.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/1.9/gherkin_lexer_sv.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_tr.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_uk.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_uz.so
CHANGED
Binary file
|
data/lib/1.9/gherkin_lexer_vi.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/ragel/lexer_common.rl.erb
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
ScenarioOutlineHeading = space* I18N_ScenarioOutline %begin_content ^ScenarioOutlineHeadingEnd* :>> ScenarioOutlineHeadingEnd @store_scenario_outline_content;
|
29
29
|
ExamplesHeading = space* I18N_Examples %begin_content ^ExamplesHeadingEnd* :>> ExamplesHeadingEnd @store_examples_content;
|
30
30
|
|
31
|
-
Step = space* I18N_Step %begin_content ^EOL
|
31
|
+
Step = space* I18N_Step %begin_content ^EOL* %store_step_content :> EOL+;
|
32
32
|
Comment = space* '#' >begin_content ^EOL* %store_comment_content :> EOL+;
|
33
33
|
|
34
34
|
Tag = ( ('@' [^@\r\n\t ]+) >begin_content ) %store_tag_content;
|
@@ -290,6 +290,14 @@ f'real
|
|
290
290
|
[:eof]
|
291
291
|
]
|
292
292
|
end
|
293
|
+
|
294
|
+
it "should parse steps with an empty name" do
|
295
|
+
scan("Given ")
|
296
|
+
@listener.to_sexp.should == [
|
297
|
+
[:step, "Given ", "", 1],
|
298
|
+
[:eof]
|
299
|
+
]
|
300
|
+
end
|
293
301
|
end
|
294
302
|
|
295
303
|
describe "A single feature, single scenario, single step" do
|
data/tasks/ikvm.rake
CHANGED
@@ -76,7 +76,7 @@ namespace :ikvm do
|
|
76
76
|
<owners>Mike Sassak, Gregory Hnatiuk, Aslak Hellesøy</owners>
|
77
77
|
<projectUrl>https://github.com/cucumber/gherkin</projectUrl>
|
78
78
|
<licenseUrl>https://github.com/cucumber/gherkin/blob/master/LICENSE</licenseUrl>
|
79
|
-
<iconUrl>https://github.com/cucumber/cukes.info/raw/master/templates/images/gherkin/
|
79
|
+
<iconUrl>https://github.com/cucumber/cukes.info/raw/master/templates/images/gherkin/gherkin_128x128.png</iconUrl>
|
80
80
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
81
81
|
<description>A fast lexer and parser for the Gherkin language based on Ragel</description>
|
82
82
|
<copyright>Copyright (c) 2009-2011 Mike Sassak, Gregory Hnatiuk, Aslak Hellesøy</copyright>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.8
|
5
5
|
prerelease:
|
6
6
|
platform: x86-mswin32
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-11-
|
14
|
+
date: 2011-11-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
18
|
-
requirement: &
|
18
|
+
requirement: &2157348640 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,21 +23,21 @@ dependencies:
|
|
23
23
|
version: 1.4.6
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2157348640
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cucumber
|
29
|
-
requirement: &
|
29
|
+
requirement: &2157348140 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.1.
|
34
|
+
version: 1.1.3
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2157348140
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &2157347680 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: 0.9.2
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2157347680
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
|
-
requirement: &
|
51
|
+
requirement: &2157347220 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 1.0.21
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2157347220
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rspec
|
62
|
-
requirement: &
|
62
|
+
requirement: &2157346700 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 2.7.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2157346700
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rubyzip
|
73
|
-
requirement: &
|
73
|
+
requirement: &2157373320 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ! '>='
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 0.9.4
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2157373320
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: therubyracer
|
84
|
-
requirement: &
|
84
|
+
requirement: &2157372460 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 0.9.9
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2157372460
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: yard
|
95
|
-
requirement: &
|
95
|
+
requirement: &2157371140 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: 0.7.3
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2157371140
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: rdiscount
|
106
|
-
requirement: &
|
106
|
+
requirement: &2157370380 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 1.6.8
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2157370380
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: term-ansicolor
|
117
|
-
requirement: &
|
117
|
+
requirement: &2157369520 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ! '>='
|
@@ -122,10 +122,10 @@ dependencies:
|
|
122
122
|
version: 1.0.6
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2157369520
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: builder
|
128
|
-
requirement: &
|
128
|
+
requirement: &2157368460 !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ! '>='
|
@@ -133,7 +133,7 @@ dependencies:
|
|
133
133
|
version: 2.1.2
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
|
-
version_requirements: *
|
136
|
+
version_requirements: *2157368460
|
137
137
|
description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
|
138
138
|
email: cukes@googlegroups.com
|
139
139
|
executables: []
|
@@ -155,6 +155,7 @@ files:
|
|
155
155
|
- build_native_gems.sh
|
156
156
|
- cucumber.yml
|
157
157
|
- examples/parse_and_output_json.rb
|
158
|
+
- features/.cucumber/stepdefs.json
|
158
159
|
- features/escaped_pipes.feature
|
159
160
|
- features/feature_parser.feature
|
160
161
|
- features/json_formatter.feature
|
@@ -388,7 +389,7 @@ rubyforge_project:
|
|
388
389
|
rubygems_version: 1.8.10
|
389
390
|
signing_key:
|
390
391
|
specification_version: 3
|
391
|
-
summary: gherkin-2.6.
|
392
|
+
summary: gherkin-2.6.8
|
392
393
|
test_files:
|
393
394
|
- features/escaped_pipes.feature
|
394
395
|
- features/feature_parser.feature
|