gherkin 2.11.1-x86-mswin32 → 2.11.2-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. data/History.md +7 -0
  2. data/README.md +1 -1
  3. data/gherkin.gemspec +7 -7
  4. data/lib/1.8/gherkin_lexer_ar.so +0 -0
  5. data/lib/1.8/gherkin_lexer_bg.so +0 -0
  6. data/lib/1.8/gherkin_lexer_bm.so +0 -0
  7. data/lib/1.8/gherkin_lexer_ca.so +0 -0
  8. data/lib/1.8/gherkin_lexer_cs.so +0 -0
  9. data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
  10. data/lib/1.8/gherkin_lexer_da.so +0 -0
  11. data/lib/1.8/gherkin_lexer_de.so +0 -0
  12. data/lib/1.8/gherkin_lexer_en.so +0 -0
  13. data/lib/1.8/gherkin_lexer_en_au.so +0 -0
  14. data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
  15. data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
  16. data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
  17. data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
  18. data/lib/1.8/gherkin_lexer_eo.so +0 -0
  19. data/lib/1.8/gherkin_lexer_es.so +0 -0
  20. data/lib/1.8/gherkin_lexer_et.so +0 -0
  21. data/lib/1.8/gherkin_lexer_fi.so +0 -0
  22. data/lib/1.8/gherkin_lexer_fr.so +0 -0
  23. data/lib/1.8/gherkin_lexer_he.so +0 -0
  24. data/lib/1.8/gherkin_lexer_hr.so +0 -0
  25. data/lib/1.8/gherkin_lexer_hu.so +0 -0
  26. data/lib/1.8/gherkin_lexer_id.so +0 -0
  27. data/lib/1.8/gherkin_lexer_is.so +0 -0
  28. data/lib/1.8/gherkin_lexer_it.so +0 -0
  29. data/lib/1.8/gherkin_lexer_ja.so +0 -0
  30. data/lib/1.8/gherkin_lexer_ko.so +0 -0
  31. data/lib/1.8/gherkin_lexer_lt.so +0 -0
  32. data/lib/1.8/gherkin_lexer_lu.so +0 -0
  33. data/lib/1.8/gherkin_lexer_lv.so +0 -0
  34. data/lib/1.8/gherkin_lexer_nl.so +0 -0
  35. data/lib/1.8/gherkin_lexer_no.so +0 -0
  36. data/lib/1.8/gherkin_lexer_pl.so +0 -0
  37. data/lib/1.8/gherkin_lexer_pt.so +0 -0
  38. data/lib/1.8/gherkin_lexer_ro.so +0 -0
  39. data/lib/1.8/gherkin_lexer_ru.so +0 -0
  40. data/lib/1.8/gherkin_lexer_sk.so +0 -0
  41. data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
  42. data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
  43. data/lib/1.8/gherkin_lexer_sv.so +0 -0
  44. data/lib/1.8/gherkin_lexer_tr.so +0 -0
  45. data/lib/1.8/gherkin_lexer_uk.so +0 -0
  46. data/lib/1.8/gherkin_lexer_uz.so +0 -0
  47. data/lib/1.8/gherkin_lexer_vi.so +0 -0
  48. data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
  49. data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
  50. data/lib/1.9/gherkin_lexer_ar.so +0 -0
  51. data/lib/1.9/gherkin_lexer_bg.so +0 -0
  52. data/lib/1.9/gherkin_lexer_bm.so +0 -0
  53. data/lib/1.9/gherkin_lexer_ca.so +0 -0
  54. data/lib/1.9/gherkin_lexer_cs.so +0 -0
  55. data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
  56. data/lib/1.9/gherkin_lexer_da.so +0 -0
  57. data/lib/1.9/gherkin_lexer_de.so +0 -0
  58. data/lib/1.9/gherkin_lexer_en.so +0 -0
  59. data/lib/1.9/gherkin_lexer_en_au.so +0 -0
  60. data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
  61. data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
  62. data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
  63. data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
  64. data/lib/1.9/gherkin_lexer_eo.so +0 -0
  65. data/lib/1.9/gherkin_lexer_es.so +0 -0
  66. data/lib/1.9/gherkin_lexer_et.so +0 -0
  67. data/lib/1.9/gherkin_lexer_fi.so +0 -0
  68. data/lib/1.9/gherkin_lexer_fr.so +0 -0
  69. data/lib/1.9/gherkin_lexer_he.so +0 -0
  70. data/lib/1.9/gherkin_lexer_hr.so +0 -0
  71. data/lib/1.9/gherkin_lexer_hu.so +0 -0
  72. data/lib/1.9/gherkin_lexer_id.so +0 -0
  73. data/lib/1.9/gherkin_lexer_is.so +0 -0
  74. data/lib/1.9/gherkin_lexer_it.so +0 -0
  75. data/lib/1.9/gherkin_lexer_ja.so +0 -0
  76. data/lib/1.9/gherkin_lexer_ko.so +0 -0
  77. data/lib/1.9/gherkin_lexer_lt.so +0 -0
  78. data/lib/1.9/gherkin_lexer_lu.so +0 -0
  79. data/lib/1.9/gherkin_lexer_lv.so +0 -0
  80. data/lib/1.9/gherkin_lexer_nl.so +0 -0
  81. data/lib/1.9/gherkin_lexer_no.so +0 -0
  82. data/lib/1.9/gherkin_lexer_pl.so +0 -0
  83. data/lib/1.9/gherkin_lexer_pt.so +0 -0
  84. data/lib/1.9/gherkin_lexer_ro.so +0 -0
  85. data/lib/1.9/gherkin_lexer_ru.so +0 -0
  86. data/lib/1.9/gherkin_lexer_sk.so +0 -0
  87. data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
  88. data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
  89. data/lib/1.9/gherkin_lexer_sv.so +0 -0
  90. data/lib/1.9/gherkin_lexer_tr.so +0 -0
  91. data/lib/1.9/gherkin_lexer_uk.so +0 -0
  92. data/lib/1.9/gherkin_lexer_uz.so +0 -0
  93. data/lib/1.9/gherkin_lexer_vi.so +0 -0
  94. data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
  95. data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
  96. data/lib/gherkin/README.md +7 -0
  97. data/lib/gherkin/i18n.json +646 -0
  98. data/lib/gherkin/i18n.rb +5 -10
  99. data/lib/gherkin/native/therubyracer.rb +3 -2
  100. data/lib/gherkin/parser/parser.rb +12 -11
  101. data/ragel/lexer.java.rl.erb +3 -3
  102. data/ragel/lexer.js.rl.erb +5 -5
  103. data/ragel/lexer.rb.rl.erb +4 -2
  104. data/spec/gherkin/native_lexer_spec.rb +29 -0
  105. data/tasks/compile.rake +2 -39
  106. data/tasks/ragel_task.rb +15 -3
  107. metadata +19 -23
  108. data/lib/gherkin/i18n.yml +0 -613
  109. data/lib/gherkin/js_lexer.rb +0 -20
  110. data/lib/gherkin/rb_lexer.rb +0 -8
  111. data/lib/gherkin/rb_lexer/README.rdoc +0 -8
  112. data/spec/gherkin/js_lexer_spec.rb +0 -23
  113. data/spec/gherkin/rb_lexer_spec.rb +0 -20
@@ -1,20 +0,0 @@
1
- require 'v8'
2
-
3
- module Gherkin
4
- # Thin adapter for the JavaScript lexer, primarily used for testing.
5
- class JsLexer
6
- def self.[](i18n_underscored_iso_code)
7
- cxt = V8::Context.new
8
- cxt['exports'] = {}
9
-
10
- # Mimic Node.js / Firebug console.log
11
- cxt['console'] = STDOUT
12
- def STDOUT.log(*a)
13
- p a
14
- end
15
-
16
- cxt.load(File.dirname(__FILE__) + "/../../js/lib/gherkin/lexer/#{i18n_underscored_iso_code}.min.js")
17
- cxt['exports']['Lexer']
18
- end
19
- end
20
- end
@@ -1,8 +0,0 @@
1
- module Gherkin
2
- module RbLexer
3
- def self.[](i18n_underscored_iso_code)
4
- require "gherkin/rb_lexer/#{i18n_underscored_iso_code}"
5
- const_get(i18n_underscored_iso_code.capitalize)
6
- end
7
- end
8
- end
@@ -1,8 +0,0 @@
1
- = Lexers
2
-
3
- Gherkin support lexing of lots of natural languages, defined by gherkin/i18n.yml
4
- The lexers are generated with the following command:
5
-
6
- rake ragel:i18n
7
-
8
- You have to run this command if you modify gherkin/i18n.yml
@@ -1,23 +0,0 @@
1
- #encoding: utf-8
2
- if !defined?(JRUBY_VERSION) && ENV['GHERKIN_JS']
3
- require 'spec_helper'
4
- require 'gherkin/js_lexer'
5
-
6
- module Gherkin
7
- module Lexer
8
- describe "JavaScript Lexer" do
9
- before do
10
- @listener = Gherkin::SexpRecorder.new
11
- @lexer = Gherkin::JsLexer['en'].new(@listener)
12
- end
13
-
14
- it_should_behave_like "a Gherkin lexer"
15
- it_should_behave_like "a Gherkin lexer lexing tags"
16
- it_should_behave_like "a Gherkin lexer lexing doc_strings"
17
- it_should_behave_like "a Gherkin lexer lexing rows"
18
- # TODO - make this pass!
19
- # it_should_behave_like "parsing windows files"
20
- end
21
- end
22
- end
23
- end
@@ -1,20 +0,0 @@
1
- #encoding: utf-8
2
- require 'spec_helper'
3
- require 'gherkin/rb_lexer/en'
4
-
5
- module Gherkin
6
- module Lexer
7
- describe "Ruby Lexer" do
8
- before do
9
- @listener = Gherkin::SexpRecorder.new
10
- @lexer = Gherkin::RbLexer::En.new(@listener)
11
- end
12
-
13
- it_should_behave_like "a Gherkin lexer"
14
- it_should_behave_like "a Gherkin lexer lexing tags"
15
- it_should_behave_like "a Gherkin lexer lexing doc_strings"
16
- it_should_behave_like "a Gherkin lexer lexing rows"
17
- it_should_behave_like "parsing windows files"
18
- end
19
- end
20
- end