gherkin 2.12.0-x86-mswin32 → 2.12.1-x86-mswin32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. checksums.yaml +6 -14
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +1 -3
  4. data/History.md +18 -0
  5. data/LICENSE +1 -1
  6. data/README.md +22 -28
  7. data/features/.cucumber/stepdefs.json +66 -66
  8. data/gherkin.gemspec +12 -11
  9. data/lib/1.9/gherkin_lexer_ar.so +0 -0
  10. data/lib/1.9/gherkin_lexer_bg.so +0 -0
  11. data/lib/1.9/gherkin_lexer_bm.so +0 -0
  12. data/lib/1.9/gherkin_lexer_ca.so +0 -0
  13. data/lib/1.9/gherkin_lexer_cs.so +0 -0
  14. data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
  15. data/lib/1.9/gherkin_lexer_da.so +0 -0
  16. data/lib/1.9/gherkin_lexer_de.so +0 -0
  17. data/lib/1.9/gherkin_lexer_el.so +0 -0
  18. data/lib/1.9/gherkin_lexer_en.so +0 -0
  19. data/lib/1.9/gherkin_lexer_en_au.so +0 -0
  20. data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
  21. data/lib/1.9/gherkin_lexer_en_old.so +0 -0
  22. data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
  23. data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
  24. data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
  25. data/lib/1.9/gherkin_lexer_eo.so +0 -0
  26. data/lib/1.9/gherkin_lexer_es.so +0 -0
  27. data/lib/1.9/gherkin_lexer_et.so +0 -0
  28. data/lib/1.9/gherkin_lexer_fa.so +0 -0
  29. data/lib/1.9/gherkin_lexer_fi.so +0 -0
  30. data/lib/1.9/gherkin_lexer_fr.so +0 -0
  31. data/lib/1.9/gherkin_lexer_gl.so +0 -0
  32. data/lib/1.9/gherkin_lexer_he.so +0 -0
  33. data/lib/1.9/gherkin_lexer_hi.so +0 -0
  34. data/lib/1.9/gherkin_lexer_hr.so +0 -0
  35. data/lib/1.9/gherkin_lexer_hu.so +0 -0
  36. data/lib/1.9/gherkin_lexer_id.so +0 -0
  37. data/lib/1.9/gherkin_lexer_is.so +0 -0
  38. data/lib/1.9/gherkin_lexer_it.so +0 -0
  39. data/lib/1.9/gherkin_lexer_ja.so +0 -0
  40. data/lib/1.9/gherkin_lexer_ko.so +0 -0
  41. data/lib/1.9/gherkin_lexer_lt.so +0 -0
  42. data/lib/1.9/gherkin_lexer_lu.so +0 -0
  43. data/lib/1.9/gherkin_lexer_lv.so +0 -0
  44. data/lib/1.9/gherkin_lexer_nl.so +0 -0
  45. data/lib/1.9/gherkin_lexer_no.so +0 -0
  46. data/lib/1.9/gherkin_lexer_pa.so +0 -0
  47. data/lib/1.9/gherkin_lexer_pl.so +0 -0
  48. data/lib/1.9/gherkin_lexer_pt.so +0 -0
  49. data/lib/1.9/gherkin_lexer_ro.so +0 -0
  50. data/lib/1.9/gherkin_lexer_ru.so +0 -0
  51. data/lib/1.9/gherkin_lexer_sk.so +0 -0
  52. data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
  53. data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
  54. data/lib/1.9/gherkin_lexer_sv.so +0 -0
  55. data/lib/1.9/gherkin_lexer_th.so +0 -0
  56. data/lib/1.9/gherkin_lexer_tl.so +0 -0
  57. data/lib/1.9/gherkin_lexer_tr.so +0 -0
  58. data/lib/1.9/gherkin_lexer_tt.so +0 -0
  59. data/lib/1.9/gherkin_lexer_uk.so +0 -0
  60. data/lib/1.9/gherkin_lexer_uz.so +0 -0
  61. data/lib/1.9/gherkin_lexer_vi.so +0 -0
  62. data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
  63. data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
  64. data/lib/2.0/gherkin_lexer_ar.so +0 -0
  65. data/lib/2.0/gherkin_lexer_bg.so +0 -0
  66. data/lib/2.0/gherkin_lexer_bm.so +0 -0
  67. data/lib/2.0/gherkin_lexer_ca.so +0 -0
  68. data/lib/2.0/gherkin_lexer_cs.so +0 -0
  69. data/lib/2.0/gherkin_lexer_cy_gb.so +0 -0
  70. data/lib/2.0/gherkin_lexer_da.so +0 -0
  71. data/lib/2.0/gherkin_lexer_de.so +0 -0
  72. data/lib/2.0/gherkin_lexer_el.so +0 -0
  73. data/lib/2.0/gherkin_lexer_en.so +0 -0
  74. data/lib/2.0/gherkin_lexer_en_au.so +0 -0
  75. data/lib/2.0/gherkin_lexer_en_lol.so +0 -0
  76. data/lib/2.0/gherkin_lexer_en_old.so +0 -0
  77. data/lib/2.0/gherkin_lexer_en_pirate.so +0 -0
  78. data/lib/2.0/gherkin_lexer_en_scouse.so +0 -0
  79. data/lib/2.0/gherkin_lexer_en_tx.so +0 -0
  80. data/lib/2.0/gherkin_lexer_eo.so +0 -0
  81. data/lib/2.0/gherkin_lexer_es.so +0 -0
  82. data/lib/2.0/gherkin_lexer_et.so +0 -0
  83. data/lib/2.0/gherkin_lexer_fa.so +0 -0
  84. data/lib/2.0/gherkin_lexer_fi.so +0 -0
  85. data/lib/2.0/gherkin_lexer_fr.so +0 -0
  86. data/lib/2.0/gherkin_lexer_gl.so +0 -0
  87. data/lib/2.0/gherkin_lexer_he.so +0 -0
  88. data/lib/2.0/gherkin_lexer_hi.so +0 -0
  89. data/lib/2.0/gherkin_lexer_hr.so +0 -0
  90. data/lib/2.0/gherkin_lexer_hu.so +0 -0
  91. data/lib/2.0/gherkin_lexer_id.so +0 -0
  92. data/lib/2.0/gherkin_lexer_is.so +0 -0
  93. data/lib/2.0/gherkin_lexer_it.so +0 -0
  94. data/lib/2.0/gherkin_lexer_ja.so +0 -0
  95. data/lib/2.0/gherkin_lexer_ko.so +0 -0
  96. data/lib/2.0/gherkin_lexer_lt.so +0 -0
  97. data/lib/2.0/gherkin_lexer_lu.so +0 -0
  98. data/lib/2.0/gherkin_lexer_lv.so +0 -0
  99. data/lib/2.0/gherkin_lexer_nl.so +0 -0
  100. data/lib/2.0/gherkin_lexer_no.so +0 -0
  101. data/lib/2.0/gherkin_lexer_pa.so +0 -0
  102. data/lib/2.0/gherkin_lexer_pl.so +0 -0
  103. data/lib/2.0/gherkin_lexer_pt.so +0 -0
  104. data/lib/2.0/gherkin_lexer_ro.so +0 -0
  105. data/lib/2.0/gherkin_lexer_ru.so +0 -0
  106. data/lib/2.0/gherkin_lexer_sk.so +0 -0
  107. data/lib/2.0/gherkin_lexer_sr_cyrl.so +0 -0
  108. data/lib/2.0/gherkin_lexer_sr_latn.so +0 -0
  109. data/lib/2.0/gherkin_lexer_sv.so +0 -0
  110. data/lib/2.0/gherkin_lexer_th.so +0 -0
  111. data/lib/2.0/gherkin_lexer_tl.so +0 -0
  112. data/lib/2.0/gherkin_lexer_tr.so +0 -0
  113. data/lib/2.0/gherkin_lexer_tt.so +0 -0
  114. data/lib/2.0/gherkin_lexer_uk.so +0 -0
  115. data/lib/2.0/gherkin_lexer_uz.so +0 -0
  116. data/lib/2.0/gherkin_lexer_vi.so +0 -0
  117. data/lib/2.0/gherkin_lexer_zh_cn.so +0 -0
  118. data/lib/2.0/gherkin_lexer_zh_tw.so +0 -0
  119. data/lib/gherkin/formatter/filter_formatter.rb +1 -1
  120. data/lib/gherkin/i18n.json +38 -10
  121. data/lib/gherkin/i18n.rb +1 -1
  122. data/lib/gherkin/platform.rb +2 -2
  123. data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
  124. data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
  125. data/spec/gherkin/i18n_spec.rb +2 -0
  126. data/tasks/gems.rake +19 -4
  127. data/tasks/ikvm.rake +10 -7
  128. data/tasks/ragel_task.rb +3 -2
  129. data/tasks/rspec.rake +2 -6
  130. metadata +204 -135
  131. data/lib/1.8/gherkin_lexer_ar.so +0 -0
  132. data/lib/1.8/gherkin_lexer_bg.so +0 -0
  133. data/lib/1.8/gherkin_lexer_bm.so +0 -0
  134. data/lib/1.8/gherkin_lexer_ca.so +0 -0
  135. data/lib/1.8/gherkin_lexer_cs.so +0 -0
  136. data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
  137. data/lib/1.8/gherkin_lexer_da.so +0 -0
  138. data/lib/1.8/gherkin_lexer_de.so +0 -0
  139. data/lib/1.8/gherkin_lexer_el.so +0 -0
  140. data/lib/1.8/gherkin_lexer_en.so +0 -0
  141. data/lib/1.8/gherkin_lexer_en_au.so +0 -0
  142. data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
  143. data/lib/1.8/gherkin_lexer_en_old.so +0 -0
  144. data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
  145. data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
  146. data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
  147. data/lib/1.8/gherkin_lexer_eo.so +0 -0
  148. data/lib/1.8/gherkin_lexer_es.so +0 -0
  149. data/lib/1.8/gherkin_lexer_et.so +0 -0
  150. data/lib/1.8/gherkin_lexer_fa.so +0 -0
  151. data/lib/1.8/gherkin_lexer_fi.so +0 -0
  152. data/lib/1.8/gherkin_lexer_fr.so +0 -0
  153. data/lib/1.8/gherkin_lexer_gl.so +0 -0
  154. data/lib/1.8/gherkin_lexer_he.so +0 -0
  155. data/lib/1.8/gherkin_lexer_hi.so +0 -0
  156. data/lib/1.8/gherkin_lexer_hr.so +0 -0
  157. data/lib/1.8/gherkin_lexer_hu.so +0 -0
  158. data/lib/1.8/gherkin_lexer_id.so +0 -0
  159. data/lib/1.8/gherkin_lexer_is.so +0 -0
  160. data/lib/1.8/gherkin_lexer_it.so +0 -0
  161. data/lib/1.8/gherkin_lexer_ja.so +0 -0
  162. data/lib/1.8/gherkin_lexer_ko.so +0 -0
  163. data/lib/1.8/gherkin_lexer_lt.so +0 -0
  164. data/lib/1.8/gherkin_lexer_lu.so +0 -0
  165. data/lib/1.8/gherkin_lexer_lv.so +0 -0
  166. data/lib/1.8/gherkin_lexer_nl.so +0 -0
  167. data/lib/1.8/gherkin_lexer_no.so +0 -0
  168. data/lib/1.8/gherkin_lexer_pl.so +0 -0
  169. data/lib/1.8/gherkin_lexer_pt.so +0 -0
  170. data/lib/1.8/gherkin_lexer_ro.so +0 -0
  171. data/lib/1.8/gherkin_lexer_ru.so +0 -0
  172. data/lib/1.8/gherkin_lexer_sk.so +0 -0
  173. data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
  174. data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
  175. data/lib/1.8/gherkin_lexer_sv.so +0 -0
  176. data/lib/1.8/gherkin_lexer_tl.so +0 -0
  177. data/lib/1.8/gherkin_lexer_tr.so +0 -0
  178. data/lib/1.8/gherkin_lexer_tt.so +0 -0
  179. data/lib/1.8/gherkin_lexer_uk.so +0 -0
  180. data/lib/1.8/gherkin_lexer_uz.so +0 -0
  181. data/lib/1.8/gherkin_lexer_vi.so +0 -0
  182. data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
  183. data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDIwZDU5YjE0MzQyOGI5ZmRjMTM2ZDY1ZmJmMGQyZGUwNjYwYWQzMw==
5
- data.tar.gz: !binary |-
6
- YjRlNWJmZTBiZjhjNDc1ZjdlYWNhNzJlYWI2NWExNjViM2VlNGExYQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NGYzNzJkNmM3M2MzZDI3ZDc2OTFmOTJiYjg0YmExZWM2OTExZGM4MTM0OTJi
10
- ZmQyNTZiMjczZGNiM2M1OGE0NjhkYjJiMzk3MjU2MWEwMzc2ODA0ZWRiNGQ5
11
- MjhhMGY4OGVkNjcyNjI4ZjE5NzJkNTZmNzdmOWE0OWEyYzJjYmM=
12
- data.tar.gz: !binary |-
13
- YzRmYTlhODMzYzUwMzk5MzY0Njc3OGJlM2FhNGM0OGFkZjI1ZDAyMjdkMWQ0
14
- NWVjMGFjODY0ZThlM2JlNDIxY2EzMDdmODJmMDBiZDgyZjhkYmNjYWE4OWJl
15
- OGFiNjU3M2NlY2M2N2FmYWNhYzAyZmMyZDE4NWE5ZGI1Njg3Nzg=
2
+ SHA1:
3
+ metadata.gz: 6fb8418f5f857e9b4ad5daa16823502e35de4af0
4
+ data.tar.gz: 2be7bda42525d0ebbf8a7272fec15df4d8f4626a
5
+ SHA512:
6
+ metadata.gz: 3321f99d6c1bf4d025d35b2425abbca8171c2c3280befd1617c2aa1318c69a5dfbf0a0f0093a7a76ced5d42766941d70031188d6d3f3eac24769d9b604c9bac7
7
+ data.tar.gz: d88b796253e872e26d27f4b41c2b5d34ffcb9e6b3c070a796e145a86caa852b546d4ab10d4caf5162c7c37ff45bd1ed16debd80f0ad3f934317d2bd423942d72
@@ -1 +1 @@
1
- 1.9.3
1
+ 2.0.0-p0
@@ -1,8 +1,7 @@
1
- before_install: gem install bundler -v 1.2.3
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-2012 Mike Sassak, Gregory Hnatiuk, Aslak Hellesøy
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.8.7-1.9.3 (MRI, JRuby, REE, Rubinius)
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.0</version>
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.6.17 or higher with npm)
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 to strict to build ragel-js)
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.10.8. The OS X package installer is not recommended as it modifies your system PATH and makes Homebrew unhappy. Install with homebrew instead:
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
- brew install ikvm/mono.rb
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 /usr/local/nuget/NuGet.exe Update -self
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 /usr/local/nuget/NuGet.exe SetApiKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx
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.8.7 and Ruby 1.9.3 for MinGW. We need both versions so we can build Windows binaries for both.
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
- For more info see:
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-p392
218
- rvm use 1.9.3-p392
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-p392
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
- # 1.8.7
225
- CC=gcc-4.2 rvm install 1.8.7-p371
226
- rvm use 1.8.7-p371
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=1.8.7-p371
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
  }