gherkin 2.12.0-x86-mingw32 → 2.12.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.ruby-version +1 -1
- data/.travis.yml +1 -3
- data/History.md +18 -0
- data/LICENSE +1 -1
- data/README.md +22 -28
- data/features/.cucumber/stepdefs.json +66 -66
- data/gherkin.gemspec +12 -11
- 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_bm.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_el.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_old.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_fa.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_gl.so +0 -0
- data/lib/1.9/gherkin_lexer_he.so +0 -0
- data/lib/1.9/gherkin_lexer_hi.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_pa.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_th.so +0 -0
- data/lib/1.9/gherkin_lexer_tl.so +0 -0
- data/lib/1.9/gherkin_lexer_tr.so +0 -0
- data/lib/1.9/gherkin_lexer_tt.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/2.0/gherkin_lexer_ar.so +0 -0
- data/lib/2.0/gherkin_lexer_bg.so +0 -0
- data/lib/2.0/gherkin_lexer_bm.so +0 -0
- data/lib/2.0/gherkin_lexer_ca.so +0 -0
- data/lib/2.0/gherkin_lexer_cs.so +0 -0
- data/lib/2.0/gherkin_lexer_cy_gb.so +0 -0
- data/lib/2.0/gherkin_lexer_da.so +0 -0
- data/lib/2.0/gherkin_lexer_de.so +0 -0
- data/lib/2.0/gherkin_lexer_el.so +0 -0
- data/lib/2.0/gherkin_lexer_en.so +0 -0
- data/lib/2.0/gherkin_lexer_en_au.so +0 -0
- data/lib/2.0/gherkin_lexer_en_lol.so +0 -0
- data/lib/2.0/gherkin_lexer_en_old.so +0 -0
- data/lib/2.0/gherkin_lexer_en_pirate.so +0 -0
- data/lib/2.0/gherkin_lexer_en_scouse.so +0 -0
- data/lib/2.0/gherkin_lexer_en_tx.so +0 -0
- data/lib/2.0/gherkin_lexer_eo.so +0 -0
- data/lib/2.0/gherkin_lexer_es.so +0 -0
- data/lib/2.0/gherkin_lexer_et.so +0 -0
- data/lib/2.0/gherkin_lexer_fa.so +0 -0
- data/lib/2.0/gherkin_lexer_fi.so +0 -0
- data/lib/2.0/gherkin_lexer_fr.so +0 -0
- data/lib/2.0/gherkin_lexer_gl.so +0 -0
- data/lib/2.0/gherkin_lexer_he.so +0 -0
- data/lib/2.0/gherkin_lexer_hi.so +0 -0
- data/lib/2.0/gherkin_lexer_hr.so +0 -0
- data/lib/2.0/gherkin_lexer_hu.so +0 -0
- data/lib/2.0/gherkin_lexer_id.so +0 -0
- data/lib/2.0/gherkin_lexer_is.so +0 -0
- data/lib/2.0/gherkin_lexer_it.so +0 -0
- data/lib/2.0/gherkin_lexer_ja.so +0 -0
- data/lib/2.0/gherkin_lexer_ko.so +0 -0
- data/lib/2.0/gherkin_lexer_lt.so +0 -0
- data/lib/2.0/gherkin_lexer_lu.so +0 -0
- data/lib/2.0/gherkin_lexer_lv.so +0 -0
- data/lib/2.0/gherkin_lexer_nl.so +0 -0
- data/lib/2.0/gherkin_lexer_no.so +0 -0
- data/lib/2.0/gherkin_lexer_pa.so +0 -0
- data/lib/2.0/gherkin_lexer_pl.so +0 -0
- data/lib/2.0/gherkin_lexer_pt.so +0 -0
- data/lib/2.0/gherkin_lexer_ro.so +0 -0
- data/lib/2.0/gherkin_lexer_ru.so +0 -0
- data/lib/2.0/gherkin_lexer_sk.so +0 -0
- data/lib/2.0/gherkin_lexer_sr_cyrl.so +0 -0
- data/lib/2.0/gherkin_lexer_sr_latn.so +0 -0
- data/lib/2.0/gherkin_lexer_sv.so +0 -0
- data/lib/2.0/gherkin_lexer_th.so +0 -0
- data/lib/2.0/gherkin_lexer_tl.so +0 -0
- data/lib/2.0/gherkin_lexer_tr.so +0 -0
- data/lib/2.0/gherkin_lexer_tt.so +0 -0
- data/lib/2.0/gherkin_lexer_uk.so +0 -0
- data/lib/2.0/gherkin_lexer_uz.so +0 -0
- data/lib/2.0/gherkin_lexer_vi.so +0 -0
- data/lib/2.0/gherkin_lexer_zh_cn.so +0 -0
- data/lib/2.0/gherkin_lexer_zh_tw.so +0 -0
- data/lib/gherkin/formatter/filter_formatter.rb +1 -1
- data/lib/gherkin/i18n.json +38 -10
- data/lib/gherkin/i18n.rb +1 -1
- data/lib/gherkin/platform.rb +2 -2
- data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
- data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
- data/spec/gherkin/i18n_spec.rb +2 -0
- data/tasks/gems.rake +19 -4
- data/tasks/ikvm.rake +10 -7
- data/tasks/ragel_task.rb +3 -2
- data/tasks/rspec.rake +2 -6
- metadata +204 -135
- 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_bm.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_el.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_old.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_fa.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_gl.so +0 -0
- data/lib/1.8/gherkin_lexer_he.so +0 -0
- data/lib/1.8/gherkin_lexer_hi.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_tl.so +0 -0
- data/lib/1.8/gherkin_lexer_tr.so +0 -0
- data/lib/1.8/gherkin_lexer_tt.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
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NWI4YzRmNTAxN2E2OTJkZmE2OTU2NmE3NWUxNTk2ZWIyMWIwZjM0MjJiMzgw
|
10
|
-
M2NkNTVmYjg3ZDAxOWY0MTViOGE3ZWU0NTE3YTYzZmJmNzk4OWU4MDk0ZDg4
|
11
|
-
NjBlZmZjYzhlN2I5YjExZmQ2YWU5ZWQzMWZhY2IzYWMwMDYyOTM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YmY4ZWQ1OTdmMmRlNTNiYjIwMGU4ZmQ4M2RmZDk0OGIwNzdiYzkyMmYxMjY3
|
14
|
-
ZGYwMjMxYTI5ZjE5NTYxMmU4YTM0MWFkZmE4Njc2YmM4ODcwZjI2NjRjNWVl
|
15
|
-
NTJkZDgzMTJmMjczNmMyNDQ4ODM3ZGY0N2Q3NmFjZDI4MGJmNjc=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 728c308074349665b8c258ff94cc7321d021e58a
|
4
|
+
data.tar.gz: e8e82f2995a8e83c825bc1083e93f27fae97dd68
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2829b83225d827aab7cc510112048c345268501636255a576d579f0678cdc68bcb1fbf6299a21b02832493f1bea8317eec00167a97b56c84aef04e05e88e753c
|
7
|
+
data.tar.gz: 7fcb32901dd9e7157449fd6497950659bdb8ebd0a0641d88d3dbdd292dcff0829bbc0a9fa250860bb4b3e4d7ad4e542c5d3f79976887eb994609f506d112ad0d
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0-p0
|
data/.travis.yml
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
before_install: gem install bundler -v 1.
|
1
|
+
before_install: gem install bundler -v 1.3.5
|
2
2
|
rvm:
|
3
3
|
- 2.0.0
|
4
4
|
- 1.9.3
|
5
|
-
- 1.8.7
|
6
5
|
- jruby
|
7
6
|
# whitelist
|
8
7
|
branches:
|
@@ -14,4 +13,3 @@ notifications:
|
|
14
13
|
- cukes-devs@googlegroups.com
|
15
14
|
irc:
|
16
15
|
- "irc.freenode.org#cucumber"
|
17
|
-
|
data/History.md
CHANGED
@@ -1,4 +1,22 @@
|
|
1
|
+
## [2.12.1](https://github.com/cucumber/gherkin/compare/v2.12.0...v2.12.1)
|
2
|
+
|
3
|
+
* Dropped support for ruby 1.8.7 (Aslak Hellesøy)
|
4
|
+
* Added support for ruby 2.0.0 (still supporting 1.9.3) (Aslak Hellesøy)
|
5
|
+
* Random lexing error; native fallback fails. Switch from C lexer to Ruby lexer with `GHERKIN_RUBY=true` ([#245](https://github.com/cucumber/gherkin/issues/245) Aslak Hellesøy)
|
6
|
+
* Problem with Nuget package 2.12.0 ([#254](https://github.com/cucumber/gherkin/issues/254) Aslak Hellesøy)
|
7
|
+
* problem with "gherkin_lexer_en" ([#257](https://github.com/cucumber/gherkin/issues/257) Aslak Hellesøy)
|
8
|
+
* Fix for dissapearing examples tags ([#187](https://github.com/cucumber/gherkin/issues/187) calebTomlinson)
|
9
|
+
* Handle interleaved calls to step, match and result in the java PrettyFormatter ([#261](https://github.com/cucumber/gherkin/pull/261) Björn Rasmusson)
|
10
|
+
* Change the java JSONFormatter to handle embedding text in the report correctly ([#269](https://github.com/cucumber/gherkin/pull/269) Björn Rasmusson)
|
11
|
+
* Updated Hindi language with "pure form", Sanskrit based versions of the words. ([#262](https://github.com/cucumber/gherkin/pull/262) anandpathaksharma)
|
12
|
+
* [Core] Added support for Panjabi/Punjabi language (Gurmukhi Script) ([#267](https://github.com/cucumber/gherkin/pull/267) Arvinder Singh Kang)
|
13
|
+
* [Core] Update i18n.json change Malay translation using suitable words ([#268](https://github.com/cucumber/gherkin/pull/268) CallMeLaNN)
|
14
|
+
* [Core] Fix typos in Malay ([#256](https://github.com/cucumber/gherkin/pull/256) glts)
|
15
|
+
* [Core] Add plural of Given in German ([#255](https://github.com/cucumber/gherkin/pull/255) glts)
|
16
|
+
* [Core] Added Thai (th) ([#253](https://github.com/cucumber/gherkin/pull/253) Twin Panichsombat)
|
17
|
+
|
1
18
|
## [2.12.0](https://github.com/cucumber/gherkin/compare/v2.11.8...v2.12.0)
|
19
|
+
|
2
20
|
* [Java, Ruby] TagExpression.eval() removed (Oleg Sukhodolsky)
|
3
21
|
* [Java, Ruby] Filter.eval() renamed to evaluate() (Oleg Sukhodolsky)
|
4
22
|
* [Java, JRuby] JSONFormatter's java version changed to connect embedding to the recent step the same way as Ruby's one does. (Oleg Sukhodolsky)
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2009-
|
1
|
+
Copyright (c) 2009-2013 Mike Sassak, Gregory Hnatiuk, Aslak Hellesøy
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ A fast lexer and parser for the Gherkin language based on Ragel. Gherkin is two
|
|
7
7
|
|
8
8
|
Supported platforms:
|
9
9
|
|
10
|
-
* [Ruby](https://rubygems.org/gems/gherkin) 1.
|
10
|
+
* [Ruby](https://rubygems.org/gems/gherkin) 1.9.3-2.0.0 (MRI, JRuby, REE, Rubinius)
|
11
11
|
* [Pure Java](http://search.maven.org/#search%7Cga%7C1%7Cgherkin) (jar file)
|
12
12
|
* [JavaScript](http://search.npmjs.org/#/gherkin) (Tested with V8/node.js/Chrome, but might work on other JavaScript engines)
|
13
13
|
* [.NET](http://nuget.org/List/Packages/gherkin) (dll file)
|
@@ -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.12.
|
57
|
+
<version>2.12.1</version>
|
58
58
|
</dependency>
|
59
59
|
|
60
60
|
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
|
@@ -126,9 +126,9 @@ Now you can build the jar with:
|
|
126
126
|
|
127
127
|
In order to build and test Gherkin for JavaScript you must install:
|
128
128
|
|
129
|
-
* Node.js (0.
|
129
|
+
* Node.js (0.10.9 or higher with npm)
|
130
130
|
* Ragel with JavaScript support: http://github.com/dominicmarks/ragel-js
|
131
|
-
* Make sure you have gcc/g++ 4.6 (4.7 is
|
131
|
+
* Make sure you have gcc/g++ 4.6 (4.7 is too strict to build ragel-js)
|
132
132
|
* Make sure you have `autoconf` and `automake` (`brew install automake`)
|
133
133
|
* Make sure you have the official ragel (`brew install ragel`)
|
134
134
|
* Make sure you have kelbt (`brew install kelbt`). If that fails, install manually from http://www.complang.org/kelbt/
|
@@ -165,17 +165,16 @@ TODO: Make all specs pass with js lexer - replace 'c(listener)' with 'js(listene
|
|
165
165
|
|
166
166
|
### .NET dll
|
167
167
|
|
168
|
-
You must install Mono SDK 2.
|
168
|
+
You must install Mono SDK 3.2.1 (or possibly newer). The OS X package installer is recommended, but make sure you run `brew doctor`
|
169
|
+
after installing.
|
169
170
|
|
170
|
-
|
171
|
-
|
172
|
-
You must also download NuGet.exe from [CodePlex](http://nuget.codeplex.com/releases) and place it in `/usr/local/nuget/NuGet.exe`. When it's installed, update it and register your NuGet API Key:
|
171
|
+
Now we must update NuGet.exe and register our NuGet API Key:
|
173
172
|
|
174
173
|
# In case we need to update
|
175
|
-
mono /
|
174
|
+
mono ikvm/NuGet.exe Update -self
|
176
175
|
|
177
176
|
# The key is at https://nuget.org/account
|
178
|
-
mono --runtime=v4.0.30319 /
|
177
|
+
mono --runtime=v4.0.30319 ikvm/NuGet.exe SetApiKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx
|
179
178
|
(Note: you may need to run 'mozroots --import --sync' to help mono trusts https setificate, see http://monomvc.wordpress.com/2012/03/06/nuget-on-mono/ for more information)
|
180
179
|
|
181
180
|
Now you can build the .NET dll with:
|
@@ -196,44 +195,37 @@ Now, make sure you have openssl installed - it's needed to build the rubies.
|
|
196
195
|
|
197
196
|
brew install openssl
|
198
197
|
|
199
|
-
Next, we're going to install Ruby 1.
|
200
|
-
OS X Lion (or later) doesn't ship with an LLVM free gcc, which you will need in order to install ruby 1.8.7. We can install it with:
|
198
|
+
Next, we're going to install Ruby 1.9.3 and 2.0.0 for MinGW. We need both versions so we can build Windows binaries for both.
|
201
199
|
|
202
|
-
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
|
203
200
|
export PATH=/usr/local/mingw/bin:$PATH
|
204
201
|
# Test that it's on your PATH
|
205
202
|
i686-w64-mingw32-gcc -v
|
206
203
|
|
207
|
-
|
208
|
-
|
209
|
-
* http://stackoverflow.com/questions/6170813/why-cant-i-install-rails-on-lion-using-rvm
|
210
|
-
* https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers
|
211
|
-
|
212
|
-
Now we're ready to install the Windows rubies:
|
204
|
+
Now we're ready to install the Windows rubies. You should be able to replace `rvm` with `rbenv`
|
213
205
|
|
214
206
|
unset GHERKIN_JS
|
215
207
|
|
216
208
|
# 1.9.3
|
217
|
-
rvm install 1.9.3-
|
218
|
-
rvm use 1.9.3-
|
209
|
+
rvm install 1.9.3-p448
|
210
|
+
rvm use 1.9.3-p448
|
219
211
|
rvm gemset use cucumber --create
|
220
212
|
gem install bundler
|
221
213
|
bundle install
|
222
|
-
PATH=/usr/local/mingw/bin:$PATH CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc rake-compiler cross-ruby VERSION=1.9.3-
|
214
|
+
PATH=/usr/local/mingw/bin:$PATH CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc rake-compiler cross-ruby VERSION=1.9.3-p448
|
223
215
|
|
224
|
-
#
|
225
|
-
|
226
|
-
rvm use
|
216
|
+
# 2.0.0
|
217
|
+
rvm install 2.0.0-p247
|
218
|
+
rvm use 2.0.0-p247
|
227
219
|
rvm gemset use cucumber --create
|
228
220
|
gem install bundler
|
229
221
|
bundle install
|
230
|
-
PATH=/usr/local/mingw/bin:$PATH CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc rake-compiler cross-ruby VERSION=
|
222
|
+
PATH=/usr/local/mingw/bin:$PATH CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc rake-compiler cross-ruby VERSION=2.0.0-p247
|
231
223
|
|
232
224
|
Now you can build Windows gems:
|
233
225
|
|
234
226
|
rake compile
|
235
227
|
mkdir release
|
236
|
-
rake gems:win
|
228
|
+
PATH=/usr/local/mingw/bin:$PATH CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc rake gems:win
|
237
229
|
|
238
230
|
## Release process
|
239
231
|
|
@@ -241,7 +233,6 @@ Make sure you have access to all the servers where packages are being uploaded:
|
|
241
233
|
|
242
234
|
* npm registry: `npm login`
|
243
235
|
* rubygems.org: `gem push`
|
244
|
-
* cukes.info: `ssh cukes.info`
|
245
236
|
* sonatype: Check `~/.m2/settings.xml` and that you have gnupg (OS X users: Install [GPGTools](http://www.gpgtools.org/installer/index.html))
|
246
237
|
* Make sure you have a key [with no sub-key](https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven)
|
247
238
|
* nuget: See .NET section above
|
@@ -252,6 +243,9 @@ Run tests once with GHERKIN_JS_NATIVE=true:
|
|
252
243
|
|
253
244
|
Now we can release:
|
254
245
|
|
246
|
+
* Make sure you have rbenv installed
|
247
|
+
* And that you have merged this patch: https://github.com/sstephenson/rbenv/issues/121
|
248
|
+
* `cd ~/.rbenv && git pull git@github.com:sstephenson/rbenv.git exec-next`
|
255
249
|
* Make sure GHERKIN_JS is defined (see JavaScript section above)
|
256
250
|
* Bump version in:
|
257
251
|
* This file (Installation/Java section)
|
@@ -1,243 +1,243 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
-
"source": "^they have arrived$",
|
4
|
-
"flags": "",
|
5
3
|
"file_colon_line": "features/step_definitions/eyeball_steps.rb:1",
|
4
|
+
"flags": "",
|
5
|
+
"source": "^they have arrived$",
|
6
6
|
"steps": [
|
7
7
|
{
|
8
|
-
"name": "they have arrived",
|
9
8
|
"args": [
|
10
9
|
|
11
|
-
]
|
10
|
+
],
|
11
|
+
"name": "they have arrived"
|
12
12
|
}
|
13
13
|
]
|
14
14
|
},
|
15
15
|
{
|
16
|
-
"source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
|
17
|
-
"flags": "",
|
18
16
|
"file_colon_line": "features/step_definitions/gherkin_steps.rb:1",
|
17
|
+
"flags": "",
|
18
|
+
"source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
|
19
19
|
"steps": [
|
20
20
|
|
21
21
|
]
|
22
22
|
},
|
23
23
|
{
|
24
|
-
"source": "^the\\ following\\ text\\ is\\ parsed:$",
|
25
|
-
"flags": "",
|
26
24
|
"file_colon_line": "features/step_definitions/gherkin_steps.rb:5",
|
25
|
+
"flags": "",
|
26
|
+
"source": "^the\\ following\\ text\\ is\\ parsed:$",
|
27
27
|
"steps": [
|
28
28
|
{
|
29
|
-
"name": "the following text is parsed:",
|
30
29
|
"args": [
|
31
30
|
|
32
|
-
]
|
31
|
+
],
|
32
|
+
"name": "the following text is parsed:"
|
33
33
|
}
|
34
34
|
]
|
35
35
|
},
|
36
36
|
{
|
37
|
-
"source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
|
38
|
-
"flags": "",
|
39
37
|
"file_colon_line": "features/step_definitions/gherkin_steps.rb:9",
|
38
|
+
"flags": "",
|
39
|
+
"source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
|
40
40
|
"steps": [
|
41
41
|
{
|
42
|
-
"name": "there should be no parse errors",
|
43
42
|
"args": [
|
44
43
|
|
45
|
-
]
|
44
|
+
],
|
45
|
+
"name": "there should be no parse errors"
|
46
46
|
}
|
47
47
|
]
|
48
48
|
},
|
49
49
|
{
|
50
|
-
"source": "^there should be a parse error on (line \\d+)$",
|
51
|
-
"flags": "",
|
52
50
|
"file_colon_line": "features/step_definitions/gherkin_steps.rb:13",
|
51
|
+
"flags": "",
|
52
|
+
"source": "^there should be a parse error on (line \\d+)$",
|
53
53
|
"steps": [
|
54
54
|
{
|
55
|
-
"name": "there should be a parse error on line 1",
|
56
55
|
"args": [
|
57
56
|
{
|
58
57
|
"offset": 33,
|
59
58
|
"val": "line 1"
|
60
59
|
}
|
61
|
-
]
|
60
|
+
],
|
61
|
+
"name": "there should be a parse error on line 1"
|
62
62
|
}
|
63
63
|
]
|
64
64
|
},
|
65
65
|
{
|
66
|
-
"source": "^there should be parse errors on (lines .*)$",
|
67
|
-
"flags": "",
|
68
66
|
"file_colon_line": "features/step_definitions/gherkin_steps.rb:17",
|
67
|
+
"flags": "",
|
68
|
+
"source": "^there should be parse errors on (lines .*)$",
|
69
69
|
"steps": [
|
70
70
|
{
|
71
|
-
"name": "there should be parse errors on lines 1 and 2",
|
72
71
|
"args": [
|
73
72
|
{
|
74
73
|
"offset": 32,
|
75
74
|
"val": "lines 1 and 2"
|
76
75
|
}
|
77
|
-
]
|
76
|
+
],
|
77
|
+
"name": "there should be parse errors on lines 1 and 2"
|
78
78
|
},
|
79
79
|
{
|
80
|
-
"name": "there should be parse errors on lines 1 through 3",
|
81
80
|
"args": [
|
82
81
|
{
|
83
82
|
"offset": 32,
|
84
83
|
"val": "lines 1 through 3"
|
85
84
|
}
|
86
|
-
]
|
85
|
+
],
|
86
|
+
"name": "there should be parse errors on lines 1 through 3"
|
87
87
|
},
|
88
88
|
{
|
89
|
-
"name": "there should be parse errors on lines 10 and 17",
|
90
89
|
"args": [
|
91
90
|
{
|
92
91
|
"offset": 32,
|
93
92
|
"val": "lines 10 and 17"
|
94
93
|
}
|
95
|
-
]
|
94
|
+
],
|
95
|
+
"name": "there should be parse errors on lines 10 and 17"
|
96
96
|
},
|
97
97
|
{
|
98
|
-
"name": "there should be parse errors on lines 3 and 5",
|
99
98
|
"args": [
|
100
99
|
{
|
101
100
|
"offset": 32,
|
102
101
|
"val": "lines 3 and 5"
|
103
102
|
}
|
104
|
-
]
|
103
|
+
],
|
104
|
+
"name": "there should be parse errors on lines 3 and 5"
|
105
105
|
},
|
106
106
|
{
|
107
|
-
"name": "there should be parse errors on lines 5, 10 and 12",
|
108
107
|
"args": [
|
109
108
|
{
|
110
109
|
"offset": 32,
|
111
110
|
"val": "lines 5, 10 and 12"
|
112
111
|
}
|
113
|
-
]
|
112
|
+
],
|
113
|
+
"name": "there should be parse errors on lines 5, 10 and 12"
|
114
114
|
}
|
115
115
|
]
|
116
116
|
},
|
117
117
|
{
|
118
|
-
"source": "^a JSON formatter$",
|
119
|
-
"flags": "",
|
120
118
|
"file_colon_line": "features/step_definitions/json_formatter_steps.rb:13",
|
119
|
+
"flags": "",
|
120
|
+
"source": "^a JSON formatter$",
|
121
121
|
"steps": [
|
122
122
|
|
123
123
|
]
|
124
124
|
},
|
125
125
|
{
|
126
|
-
"source": "^the outputted JSON should be:$",
|
127
|
-
"flags": "",
|
128
126
|
"file_colon_line": "features/step_definitions/json_formatter_steps.rb:18",
|
127
|
+
"flags": "",
|
128
|
+
"source": "^the outputted JSON should be:$",
|
129
129
|
"steps": [
|
130
130
|
{
|
131
|
-
"name": "the outputted JSON should be:",
|
132
131
|
"args": [
|
133
132
|
|
134
|
-
]
|
133
|
+
],
|
134
|
+
"name": "the outputted JSON should be:"
|
135
135
|
}
|
136
136
|
]
|
137
137
|
},
|
138
138
|
{
|
139
|
-
"source": "^a PrettyFormatter$",
|
140
|
-
"flags": "",
|
141
139
|
"file_colon_line": "features/step_definitions/json_parser_steps.rb:6",
|
140
|
+
"flags": "",
|
141
|
+
"source": "^a PrettyFormatter$",
|
142
142
|
"steps": [
|
143
143
|
|
144
144
|
]
|
145
145
|
},
|
146
146
|
{
|
147
|
-
"source": "^a JSON lexer$",
|
148
|
-
"flags": "",
|
149
147
|
"file_colon_line": "features/step_definitions/json_parser_steps.rb:11",
|
148
|
+
"flags": "",
|
149
|
+
"source": "^a JSON lexer$",
|
150
150
|
"steps": [
|
151
151
|
|
152
152
|
]
|
153
153
|
},
|
154
154
|
{
|
155
|
-
"source": "^the following JSON is parsed:$",
|
156
|
-
"flags": "",
|
157
155
|
"file_colon_line": "features/step_definitions/json_parser_steps.rb:15",
|
156
|
+
"flags": "",
|
157
|
+
"source": "^the following JSON is parsed:$",
|
158
158
|
"steps": [
|
159
159
|
{
|
160
|
-
"name": "the following JSON is parsed:",
|
161
160
|
"args": [
|
162
161
|
|
163
|
-
]
|
162
|
+
],
|
163
|
+
"name": "the following JSON is parsed:"
|
164
164
|
}
|
165
165
|
]
|
166
166
|
},
|
167
167
|
{
|
168
|
-
"source": "^the outputted text should be:$",
|
169
|
-
"flags": "",
|
170
168
|
"file_colon_line": "features/step_definitions/json_parser_steps.rb:19",
|
169
|
+
"flags": "",
|
170
|
+
"source": "^the outputted text should be:$",
|
171
171
|
"steps": [
|
172
172
|
{
|
173
|
-
"name": "the outputted text should be:",
|
174
173
|
"args": [
|
175
174
|
|
176
|
-
]
|
175
|
+
],
|
176
|
+
"name": "the outputted text should be:"
|
177
177
|
}
|
178
178
|
]
|
179
179
|
},
|
180
180
|
{
|
181
|
-
"source": "^I have Cucumber's source code next to Gherkin's$",
|
182
|
-
"flags": "",
|
183
181
|
"file_colon_line": "features/step_definitions/pretty_formatter_steps.rb:50",
|
182
|
+
"flags": "",
|
183
|
+
"source": "^I have Cucumber's source code next to Gherkin's$",
|
184
184
|
"steps": [
|
185
185
|
{
|
186
|
-
"name": "I have Cucumber's source code next to Gherkin's",
|
187
186
|
"args": [
|
188
187
|
|
189
|
-
]
|
188
|
+
],
|
189
|
+
"name": "I have Cucumber's source code next to Gherkin's"
|
190
190
|
}
|
191
191
|
]
|
192
192
|
},
|
193
193
|
{
|
194
|
-
"source": "^I find all of the \\.feature files$",
|
195
|
-
"flags": "",
|
196
194
|
"file_colon_line": "features/step_definitions/pretty_formatter_steps.rb:55",
|
195
|
+
"flags": "",
|
196
|
+
"source": "^I find all of the \\.feature files$",
|
197
197
|
"steps": [
|
198
198
|
{
|
199
|
-
"name": "I find all of the .feature files",
|
200
199
|
"args": [
|
201
200
|
|
202
|
-
]
|
201
|
+
],
|
202
|
+
"name": "I find all of the .feature files"
|
203
203
|
}
|
204
204
|
]
|
205
205
|
},
|
206
206
|
{
|
207
|
-
"source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
|
208
|
-
"flags": "",
|
209
207
|
"file_colon_line": "features/step_definitions/pretty_formatter_steps.rb:59",
|
208
|
+
"flags": "",
|
209
|
+
"source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
|
210
210
|
"steps": [
|
211
211
|
{
|
212
|
-
"name": "I send each prettified original through the \"json\" machinery",
|
213
212
|
"args": [
|
214
213
|
{
|
215
214
|
"offset": 45,
|
216
215
|
"val": "json"
|
217
216
|
}
|
218
|
-
]
|
217
|
+
],
|
218
|
+
"name": "I send each prettified original through the \"json\" machinery"
|
219
219
|
},
|
220
220
|
{
|
221
|
-
"name": "I send each prettified original through the \"pretty\" machinery",
|
222
221
|
"args": [
|
223
222
|
{
|
224
223
|
"offset": 45,
|
225
224
|
"val": "pretty"
|
226
225
|
}
|
227
|
-
]
|
226
|
+
],
|
227
|
+
"name": "I send each prettified original through the \"pretty\" machinery"
|
228
228
|
}
|
229
229
|
]
|
230
230
|
},
|
231
231
|
{
|
232
|
-
"source": "^the machinery output should be identical to the prettified original$",
|
233
|
-
"flags": "",
|
234
232
|
"file_colon_line": "features/step_definitions/pretty_formatter_steps.rb:83",
|
233
|
+
"flags": "",
|
234
|
+
"source": "^the machinery output should be identical to the prettified original$",
|
235
235
|
"steps": [
|
236
236
|
{
|
237
|
-
"name": "the machinery output should be identical to the prettified original",
|
238
237
|
"args": [
|
239
238
|
|
240
|
-
]
|
239
|
+
],
|
240
|
+
"name": "the machinery output should be identical to the prettified original"
|
241
241
|
}
|
242
242
|
]
|
243
243
|
}
|