gherkin 2.5.1-x86-mswin32 → 2.5.2-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +5 -5
- data/History.md +9 -0
- data/README.md +5 -3
- data/gherkin.gemspec +4 -5
- 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/lib/gherkin/i18n.yml +5 -5
- data/spec/gherkin/fixtures/i18n_fr2.feature +8 -0
- data/spec/gherkin/i18n_spec.rb +30 -15
- metadata +27 -25
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gherkin (2.5.
|
4
|
+
gherkin (2.5.2)
|
5
5
|
json (>= 1.4.6)
|
6
6
|
|
7
7
|
GEM
|
@@ -29,8 +29,8 @@ GEM
|
|
29
29
|
rspec-expectations (2.6.0)
|
30
30
|
diff-lcs (~> 1.1.2)
|
31
31
|
rspec-mocks (2.6.0)
|
32
|
-
term-ansicolor (1.0.
|
33
|
-
therubyracer (0.9.
|
32
|
+
term-ansicolor (1.0.7)
|
33
|
+
therubyracer (0.9.8)
|
34
34
|
libv8 (~> 3.3.10)
|
35
35
|
yard (0.7.2)
|
36
36
|
|
@@ -39,7 +39,7 @@ PLATFORMS
|
|
39
39
|
|
40
40
|
DEPENDENCIES
|
41
41
|
builder (>= 2.1.2)
|
42
|
-
bundler (>= 1.0.
|
42
|
+
bundler (>= 1.0.21)
|
43
43
|
cucumber (>= 1.1.0)
|
44
44
|
gherkin!
|
45
45
|
rake (>= 0.9.2)
|
@@ -47,5 +47,5 @@ DEPENDENCIES
|
|
47
47
|
rdiscount (>= 1.6.8)
|
48
48
|
rspec (>= 2.6.0)
|
49
49
|
term-ansicolor (>= 1.0.6)
|
50
|
-
therubyracer (>= 0.9.
|
50
|
+
therubyracer (>= 0.9.8)
|
51
51
|
yard (>= 0.7.2)
|
data/History.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [2.5.2](https://github.com/cucumber/gherkin/compare/v2.5.1...v2.5.2)
|
2
|
+
|
3
|
+
### New Features
|
4
|
+
|
5
|
+
* Added synonyms for Portuguese. (Rodrigo Dumont)
|
6
|
+
* Added synonyms for Italian. (Alessandro Mencarini)
|
7
|
+
* Added synonyms for Spanish. (Nahuel Garbezza)
|
8
|
+
* Added synonyms for French. (Julein Biezemans)
|
9
|
+
|
1
10
|
## [2.5.1](https://github.com/cucumber/gherkin/compare/v2.5.0...v2.5.1)
|
2
11
|
|
3
12
|
### New Features
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![Build Status](https://secure.travis-ci.org/cucumber/gherkin.png)](http://travis-ci.org/cucumber/gherkin)
|
2
|
+
|
1
3
|
A fast lexer and parser for the Gherkin language based on Ragel. Gherkin is two things:
|
2
4
|
|
3
5
|
* The language that has evolved out of the Cucumber project.
|
@@ -52,7 +54,7 @@ The jar file is in the central Maven repo.
|
|
52
54
|
<dependency>
|
53
55
|
<groupId>info.cukes</groupId>
|
54
56
|
<artifactId>gherkin</artifactId>
|
55
|
-
<version>2.5.
|
57
|
+
<version>2.5.2</version>
|
56
58
|
</dependency>
|
57
59
|
|
58
60
|
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
|
@@ -207,9 +209,9 @@ Make sure you have openssl installed first.
|
|
207
209
|
* java/pom.xml
|
208
210
|
* ikvm/Gherkin/Gherkin.csproj (2 places)
|
209
211
|
* js/package.json
|
210
|
-
* Run bundle update
|
212
|
+
* Run `bundle update`, so Gemfile.lock gets updated with the changes.
|
211
213
|
* Commit changes, otherwise you will get an error at the end when a tag is made.
|
212
|
-
* bundle exec rake gems:prepare && ./build_native_gems.sh && bundle exec rake release:ALL
|
214
|
+
* Run `bundle exec rake gems:prepare && ./build_native_gems.sh && bundle exec rake release:ALL`
|
213
215
|
* The specs intermittently fail with a segfault from therubyracer. Running specs can be disabled with SKIP_JS_SPECS=true
|
214
216
|
* Announce on Cucumber list, IRC and Twitter.
|
215
217
|
|
data/gherkin.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gherkin"
|
5
|
-
s.version = "2.5.
|
5
|
+
s.version = "2.5.2"
|
6
6
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
7
7
|
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
|
8
8
|
s.summary = "#{s.name}-#{s.version}"
|
@@ -43,16 +43,15 @@ Gem::Specification.new do |s|
|
|
43
43
|
end
|
44
44
|
s.files -= Dir['**/.gitignore']
|
45
45
|
|
46
|
-
|
47
|
-
s.add_dependency('json', '>= 1.4.6')
|
46
|
+
s.add_runtime_dependency('json', '>= 1.4.6')
|
48
47
|
|
49
48
|
s.add_development_dependency('cucumber', '>= 1.1.0')
|
50
49
|
s.add_development_dependency('rake', '>= 0.9.2')
|
51
|
-
s.add_development_dependency('bundler', '>= 1.0.
|
50
|
+
s.add_development_dependency('bundler', '>= 1.0.21')
|
52
51
|
s.add_development_dependency('rspec', '>= 2.6.0')
|
53
52
|
|
54
53
|
unless ENV['RUBY_CC_VERSION'] || defined?(JRUBY_VERSION)
|
55
|
-
s.add_development_dependency('therubyracer', '>= 0.9.
|
54
|
+
s.add_development_dependency('therubyracer', '>= 0.9.8') if ENV['GHERKIN_JS']
|
56
55
|
# For Documentation:
|
57
56
|
s.add_development_dependency('yard', '>= 0.7.2')
|
58
57
|
s.add_development_dependency('rdiscount', '>= 1.6.8')
|
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/lib/gherkin/i18n.yml
CHANGED
@@ -204,7 +204,7 @@
|
|
204
204
|
scenario: Escenario
|
205
205
|
scenario_outline: Esquema del escenario
|
206
206
|
examples: Ejemplos
|
207
|
-
given: "*|Dado"
|
207
|
+
given: "*|Dado|Dada|Dados|Dadas"
|
208
208
|
when: "*|Cuando"
|
209
209
|
then: "*|Entonces"
|
210
210
|
and: "*|Y"
|
@@ -243,7 +243,7 @@
|
|
243
243
|
scenario: Scénario
|
244
244
|
scenario_outline: Plan du scénario|Plan du Scénario
|
245
245
|
examples: Exemples
|
246
|
-
given: "*|Soit|Etant
|
246
|
+
given: "*|Soit|Etant donné|Etant donnée|Etant donnés|Etant données|Étant donné|Étant donnée|Étant donnés|Étant données"
|
247
247
|
when: "*|Quand|Lorsque|Lorsqu'<"
|
248
248
|
then: "*|Alors"
|
249
249
|
and: "*|Et"
|
@@ -306,7 +306,7 @@
|
|
306
306
|
feature: Eiginleiki
|
307
307
|
background: Bakgrunnur
|
308
308
|
scenario: Atburðarás
|
309
|
-
scenario_outline: Lýsing Atburðarásar|Lýsing Dæma
|
309
|
+
scenario_outline: Lýsing Atburðarásar|Lýsing Dæma
|
310
310
|
examples: Dæmi|Atburðarásir
|
311
311
|
given: "*|Ef"
|
312
312
|
when: "*|Þegar"
|
@@ -321,7 +321,7 @@
|
|
321
321
|
scenario: Scenario
|
322
322
|
scenario_outline: Schema dello scenario
|
323
323
|
examples: Esempi
|
324
|
-
given: "*|Dato"
|
324
|
+
given: "*|Dato|Data|Dati|Date"
|
325
325
|
when: "*|Quando"
|
326
326
|
then: "*|Allora"
|
327
327
|
and: "*|E"
|
@@ -438,7 +438,7 @@
|
|
438
438
|
scenario: Cenário|Cenario
|
439
439
|
scenario_outline: Esquema do Cenário|Esquema do Cenario
|
440
440
|
examples: Exemplos
|
441
|
-
given: "*|Dado"
|
441
|
+
given: "*|Dado|Dada|Dados|Dadas"
|
442
442
|
when: "*|Quando"
|
443
443
|
then: "*|Então|Entao"
|
444
444
|
and: "*|E"
|
data/spec/gherkin/i18n_spec.rb
CHANGED
@@ -26,6 +26,21 @@ module Gherkin
|
|
26
26
|
]
|
27
27
|
end
|
28
28
|
|
29
|
+
it "should recognize keywords that are a little ambiguous" do
|
30
|
+
lexer = Gherkin::Lexer::I18nLexer.new(@listener, false)
|
31
|
+
scan_file(lexer, "i18n_fr2.feature")
|
32
|
+
@listener.to_sexp.should == [
|
33
|
+
[:comment, "#language:fr", 1],
|
34
|
+
[:feature, "Fonctionnalité", "i18n", "", 2],
|
35
|
+
[:scenario, "Scénario", "Le French", "", 4],
|
36
|
+
[:step, "Etant donné ", "qqch", 5],
|
37
|
+
[:step, "Etant donnée ", "qqch", 6],
|
38
|
+
[:step, "Etant donnés ", "qqch", 7],
|
39
|
+
[:step, "Etant données ", "qqch", 8],
|
40
|
+
[:eof]
|
41
|
+
]
|
42
|
+
end
|
43
|
+
|
29
44
|
it "should parse languages without a space after keywords" do
|
30
45
|
lexer = Gherkin::Lexer::I18nLexer.new(@listener, false)
|
31
46
|
scan_file(lexer, "i18n_zh-CN.feature")
|
@@ -130,21 +145,21 @@ module Gherkin
|
|
130
145
|
|
131
146
|
it "should print keywords for a given language" do
|
132
147
|
("\n" + Gherkin::I18n.get('fr').keyword_table).should == %{
|
133
|
-
| feature | "Fonctionnalité"
|
134
|
-
| background | "Contexte"
|
135
|
-
| scenario | "Scénario"
|
136
|
-
| scenario_outline | "Plan du scénario", "Plan du Scénario"
|
137
|
-
| examples | "Exemples"
|
138
|
-
| given | "* ", "Soit ", "Etant donné "
|
139
|
-
| when | "* ", "Quand ", "Lorsque ", "Lorsqu'"
|
140
|
-
| then | "* ", "Alors "
|
141
|
-
| and | "* ", "Et "
|
142
|
-
| but | "* ", "Mais "
|
143
|
-
| given (code) | "Soit", "Etantdonné"
|
144
|
-
| when (code) | "Quand", "Lorsque", "Lorsqu"
|
145
|
-
| then (code) | "Alors"
|
146
|
-
| and (code) | "Et"
|
147
|
-
| but (code) | "Mais"
|
148
|
+
| feature | "Fonctionnalité" |
|
149
|
+
| background | "Contexte" |
|
150
|
+
| scenario | "Scénario" |
|
151
|
+
| scenario_outline | "Plan du scénario", "Plan du Scénario" |
|
152
|
+
| examples | "Exemples" |
|
153
|
+
| given | "* ", "Soit ", "Etant donné ", "Etant donnée ", "Etant donnés ", "Etant données ", "Étant donné ", "Étant donnée ", "Étant donnés ", "Étant données " |
|
154
|
+
| when | "* ", "Quand ", "Lorsque ", "Lorsqu'" |
|
155
|
+
| then | "* ", "Alors " |
|
156
|
+
| and | "* ", "Et " |
|
157
|
+
| but | "* ", "Mais " |
|
158
|
+
| given (code) | "Soit", "Etantdonné", "Etantdonnée", "Etantdonnés", "Etantdonnées", "Étantdonné", "Étantdonnée", "Étantdonnés", "Étantdonnées" |
|
159
|
+
| when (code) | "Quand", "Lorsque", "Lorsqu" |
|
160
|
+
| then (code) | "Alors" |
|
161
|
+
| and (code) | "Et" |
|
162
|
+
| but (code) | "Mais" |
|
148
163
|
}
|
149
164
|
end
|
150
165
|
end
|
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.5.
|
4
|
+
version: 2.5.2
|
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-
|
14
|
+
date: 2011-10-13 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
18
|
-
requirement: &
|
18
|
+
requirement: &2164474220 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 1.4.6
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2164474220
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cucumber
|
29
|
-
requirement: &
|
29
|
+
requirement: &2164473200 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 1.1.0
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2164473200
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &2164472040 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,21 +45,21 @@ dependencies:
|
|
45
45
|
version: 0.9.2
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2164472040
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
|
-
requirement: &
|
51
|
+
requirement: &2164471540 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 1.0.
|
56
|
+
version: 1.0.21
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2164471540
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rspec
|
62
|
-
requirement: &
|
62
|
+
requirement: &2164470880 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,21 +67,21 @@ dependencies:
|
|
67
67
|
version: 2.6.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2164470880
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: therubyracer
|
73
|
-
requirement: &
|
73
|
+
requirement: &2164470060 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ! '>='
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 0.9.
|
78
|
+
version: 0.9.8
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2164470060
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: yard
|
84
|
-
requirement: &
|
84
|
+
requirement: &2164469540 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 0.7.2
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2164469540
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rdiscount
|
95
|
-
requirement: &
|
95
|
+
requirement: &2164469040 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: 1.6.8
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2164469040
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: term-ansicolor
|
106
|
-
requirement: &
|
106
|
+
requirement: &2164468560 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 1.0.6
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2164468560
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: builder
|
117
|
-
requirement: &
|
117
|
+
requirement: &2164468100 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ! '>='
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
version: 2.1.2
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2164468100
|
126
126
|
description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
|
127
127
|
email: cukes@googlegroups.com
|
128
128
|
executables: []
|
@@ -211,6 +211,7 @@ files:
|
|
211
211
|
- spec/gherkin/fixtures/examples_with_only_header.feature
|
212
212
|
- spec/gherkin/fixtures/hantu_pisang.feature
|
213
213
|
- spec/gherkin/fixtures/i18n_fr.feature
|
214
|
+
- spec/gherkin/fixtures/i18n_fr2.feature
|
214
215
|
- spec/gherkin/fixtures/i18n_no.feature
|
215
216
|
- spec/gherkin/fixtures/i18n_zh-CN.feature
|
216
217
|
- spec/gherkin/fixtures/scenario_outline_with_tags.feature
|
@@ -376,7 +377,7 @@ rubyforge_project:
|
|
376
377
|
rubygems_version: 1.8.10
|
377
378
|
signing_key:
|
378
379
|
specification_version: 3
|
379
|
-
summary: gherkin-2.5.
|
380
|
+
summary: gherkin-2.5.2
|
380
381
|
test_files:
|
381
382
|
- features/escaped_pipes.feature
|
382
383
|
- features/feature_parser.feature
|
@@ -403,6 +404,7 @@ test_files:
|
|
403
404
|
- spec/gherkin/fixtures/examples_with_only_header.feature
|
404
405
|
- spec/gherkin/fixtures/hantu_pisang.feature
|
405
406
|
- spec/gherkin/fixtures/i18n_fr.feature
|
407
|
+
- spec/gherkin/fixtures/i18n_fr2.feature
|
406
408
|
- spec/gherkin/fixtures/i18n_no.feature
|
407
409
|
- spec/gherkin/fixtures/i18n_zh-CN.feature
|
408
410
|
- spec/gherkin/fixtures/scenario_outline_with_tags.feature
|