gherkin 2.11.6-x86-mswin32 → 2.11.7-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -1
- data/Gemfile +1 -1
- data/History.md +13 -0
- data/README.md +10 -4
- data/examples/parse_and_output_json.rb +2 -2
- data/features/.cucumber/stepdefs.json +66 -66
- data/features/step_definitions/json_formatter_steps.rb +4 -4
- data/features/step_definitions/json_parser_steps.rb +2 -1
- data/features/support/env.rb +2 -3
- data/gherkin.gemspec +8 -6
- 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_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
- 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_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_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_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/gherkin/formatter/json_formatter.rb +5 -5
- data/lib/gherkin/formatter/tag_filter.rb +2 -2
- data/lib/gherkin/i18n.json +28 -0
- data/lib/gherkin/i18n.rb +6 -6
- data/lib/gherkin/json_parser.rb +4 -4
- data/lib/gherkin/native/java.rb +2 -2
- data/lib/gherkin/parser/parser.rb +1 -0
- data/lib/gherkin/platform.rb +12 -0
- data/lib/gherkin/tag_expression.rb +7 -1
- data/spec/gherkin/formatter/json_formatter_spec.rb +74 -3
- data/spec/gherkin/i18n_spec.rb +2 -0
- data/spec/gherkin/json_parser_spec.rb +11 -10
- data/spec/gherkin/parser/parser_spec.rb +1 -1
- data/spec/gherkin/tag_expression_spec.rb +19 -15
- data/spec/spec_helper.rb +4 -1
- data/tasks/rspec.rake +1 -2
- metadata +103 -166
- data/lib/gherkin/lexer/tl.rb +0 -1723
- data/lib/gherkin/lexer/tt.rb +0 -1640
- data/spec/gherkin/output_stream_string_io.rb +0 -20
data/lib/gherkin/native/java.rb
CHANGED
@@ -32,7 +32,7 @@ class Class
|
|
32
32
|
e.message << "\n#{java_class.name}"
|
33
33
|
raise e
|
34
34
|
rescue NameError => e
|
35
|
-
e.message << "\n args: #{args.inspect}"
|
35
|
+
e.message << "\n args: #{args.inspect}"
|
36
36
|
raise e
|
37
37
|
end
|
38
38
|
end
|
@@ -46,7 +46,7 @@ class Class
|
|
46
46
|
java.util.regex.Pattern.compile(arg.source)
|
47
47
|
when Symbol
|
48
48
|
arg.to_s
|
49
|
-
when IO
|
49
|
+
when IO, StringIO
|
50
50
|
IOWriter.new(arg)
|
51
51
|
else
|
52
52
|
arg
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Detect the platform we're running and warn if it is not supported
|
2
|
+
|
3
|
+
module Gherkin
|
4
|
+
unless defined?(Gherkin::VERSION)
|
5
|
+
VERSION = '2.11.7'
|
6
|
+
JRUBY = defined?(JRUBY_VERSION)
|
7
|
+
|
8
|
+
if !JRUBY && !(RUBY_VERSION =~ /^(1\.8\.7|1\.9\.3|2\.0)/)
|
9
|
+
warn("WARNING: Unsupported Ruby version - #{RUBY_VERSION}")
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -18,7 +18,13 @@ module Gherkin
|
|
18
18
|
@ands.empty?
|
19
19
|
end
|
20
20
|
|
21
|
+
# <b>DEPRECATED:</b> Please use <tt>evaluate</tt> instead
|
21
22
|
def eval(tags)
|
23
|
+
warn '[DEPRECATION] "eval" is deprecated. Please use "evaluate" instead'
|
24
|
+
evaluate(tags)
|
25
|
+
end
|
26
|
+
|
27
|
+
def evaluate(tags)
|
22
28
|
return true if @ands.flatten.empty?
|
23
29
|
vars = Hash[*tags.map{|tag| [tag.name, true]}.flatten]
|
24
30
|
!!Kernel.eval(ruby_expression)
|
@@ -39,7 +45,7 @@ module Gherkin
|
|
39
45
|
if limit
|
40
46
|
tag_without_negation = negated ? tag_with_negation[1..-1] : tag_with_negation
|
41
47
|
if @limits[tag_without_negation] && @limits[tag_without_negation] != limit.to_i
|
42
|
-
raise "Inconsistent tag limits for #{tag_without_negation}: #{@limits[tag_without_negation]} and #{limit.to_i}"
|
48
|
+
raise "Inconsistent tag limits for #{tag_without_negation}: #{@limits[tag_without_negation]} and #{limit.to_i}"
|
43
49
|
end
|
44
50
|
@limits[tag_without_negation] = limit.to_i
|
45
51
|
end
|
@@ -1,7 +1,8 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
-
require 'stringio'
|
3
2
|
require 'gherkin/formatter/json_formatter'
|
4
3
|
require 'gherkin/formatter/model'
|
4
|
+
require 'multi_json'
|
5
|
+
require 'stringio'
|
5
6
|
|
6
7
|
module Gherkin
|
7
8
|
module Formatter
|
@@ -25,7 +26,7 @@ module Gherkin
|
|
25
26
|
|
26
27
|
f.eof
|
27
28
|
f.done
|
28
|
-
|
29
|
+
|
29
30
|
expected = %{
|
30
31
|
[
|
31
32
|
{
|
@@ -85,7 +86,77 @@ module Gherkin
|
|
85
86
|
}
|
86
87
|
]
|
87
88
|
}
|
88
|
-
|
89
|
+
MultiJson.load(expected).should == MultiJson.load(io.string)
|
90
|
+
end
|
91
|
+
|
92
|
+
it "renders results as pretty json" do
|
93
|
+
io = StringIO.new
|
94
|
+
f = JSONFormatter.new(io)
|
95
|
+
f.uri("f.feature")
|
96
|
+
f.feature(Model::Feature.new([], [], "Feature", nil, nil, nil, nil))
|
97
|
+
f.eof
|
98
|
+
f.done
|
99
|
+
|
100
|
+
expected = %{
|
101
|
+
[
|
102
|
+
{
|
103
|
+
"keyword": "Feature",
|
104
|
+
"uri": "f.feature"
|
105
|
+
}
|
106
|
+
]
|
107
|
+
}
|
108
|
+
io.string.should == MultiJson.dump(MultiJson.load(expected), :pretty => true)
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'supports append_duration' do
|
112
|
+
io = StringIO.new
|
113
|
+
f = JSONFormatter.new(io)
|
114
|
+
f.uri("f.feature")
|
115
|
+
f.feature(Model::Feature.new([], [], "Feature", "ff", "", 1, "ff"))
|
116
|
+
f.scenario(Model::Scenario.new([], [], "Scenario", "ss", "", 2, "ff/ss"))
|
117
|
+
f.step(Model::Step.new([], "Given ", "g", 3, nil, nil))
|
118
|
+
f.match(Model::Match.new([], "def.rb:33"))
|
119
|
+
f.result(Model::Result.new(:passed, 3, nil))
|
120
|
+
f.append_duration(1)
|
121
|
+
f.eof
|
122
|
+
f.done
|
123
|
+
expected = %{
|
124
|
+
[
|
125
|
+
{
|
126
|
+
"id": "ff",
|
127
|
+
"uri": "f.feature",
|
128
|
+
"keyword": "Feature",
|
129
|
+
"name": "ff",
|
130
|
+
"line": 1,
|
131
|
+
"description": "",
|
132
|
+
"elements": [
|
133
|
+
{
|
134
|
+
"id": "ff/ss",
|
135
|
+
"keyword": "Scenario",
|
136
|
+
"name": "ss",
|
137
|
+
"line": 2,
|
138
|
+
"description": "",
|
139
|
+
"type": "scenario",
|
140
|
+
"steps": [
|
141
|
+
{
|
142
|
+
"keyword": "Given ",
|
143
|
+
"name": "g",
|
144
|
+
"line": 3,
|
145
|
+
"match": {
|
146
|
+
"location": "def.rb:33"
|
147
|
+
},
|
148
|
+
"result": {
|
149
|
+
"status": "passed",
|
150
|
+
"duration": 1000000000
|
151
|
+
}
|
152
|
+
}
|
153
|
+
]
|
154
|
+
}
|
155
|
+
]
|
156
|
+
}
|
157
|
+
]
|
158
|
+
}
|
159
|
+
MultiJson.load(expected).should == MultiJson.load(io.string)
|
89
160
|
end
|
90
161
|
end
|
91
162
|
end
|
data/spec/gherkin/i18n_spec.rb
CHANGED
@@ -175,10 +175,12 @@ module Gherkin
|
|
175
175
|
| cy-GB | Welsh | Cymraeg |
|
176
176
|
| da | Danish | dansk |
|
177
177
|
| de | German | Deutsch |
|
178
|
+
| el | Greek | Ελληνικά |
|
178
179
|
| en | English | English |
|
179
180
|
| en-Scouse | Scouse | Scouse |
|
180
181
|
| en-au | Australian | Australian |
|
181
182
|
| en-lol | LOLCAT | LOLCAT |
|
183
|
+
| en-old | Old English | Englisc |
|
182
184
|
| en-pirate | Pirate | Pirate |
|
183
185
|
| en-tx | Texan | Texan |
|
184
186
|
| eo | Esperanto | Esperanto |
|
@@ -3,9 +3,10 @@ require 'stringio'
|
|
3
3
|
require 'spec_helper'
|
4
4
|
require 'gherkin/json_parser'
|
5
5
|
require 'gherkin/formatter/json_formatter'
|
6
|
+
require 'multi_json'
|
6
7
|
|
7
8
|
module Gherkin
|
8
|
-
describe JSONParser do
|
9
|
+
describe JSONParser do
|
9
10
|
|
10
11
|
def check_json(json)
|
11
12
|
io = StringIO.new
|
@@ -13,8 +14,8 @@ module Gherkin
|
|
13
14
|
p = JSONParser.new(f, f)
|
14
15
|
p.parse(json)
|
15
16
|
f.done
|
16
|
-
expected =
|
17
|
-
actual =
|
17
|
+
expected = MultiJson.load(json)
|
18
|
+
actual = MultiJson.load(io.string)
|
18
19
|
|
19
20
|
begin
|
20
21
|
actual.should == expected
|
@@ -34,10 +35,10 @@ module Gherkin
|
|
34
35
|
{
|
35
36
|
"id": "one",
|
36
37
|
"uri": "test.feature",
|
37
|
-
"keyword": "Feature",
|
38
|
-
"name": "One",
|
39
|
-
"description": "",
|
40
|
-
"line" : 3
|
38
|
+
"keyword": "Feature",
|
39
|
+
"name": "One",
|
40
|
+
"description": "",
|
41
|
+
"line" : 3
|
41
42
|
}
|
42
43
|
]})
|
43
44
|
end
|
@@ -53,9 +54,9 @@ module Gherkin
|
|
53
54
|
"line": 22
|
54
55
|
}
|
55
56
|
],
|
56
|
-
"keyword": "Feature",
|
57
|
-
"name": "One",
|
58
|
-
"description": "",
|
57
|
+
"keyword": "Feature",
|
58
|
+
"name": "One",
|
59
|
+
"description": "",
|
59
60
|
"line": 3,
|
60
61
|
"elements": [
|
61
62
|
{
|
@@ -8,7 +8,7 @@ module Gherkin
|
|
8
8
|
p = Parser.new(mock('formatter').as_null_object)
|
9
9
|
lambda do
|
10
10
|
p.parse("Feature: f\nFeature: f", __FILE__, __LINE__-1)
|
11
|
-
end.should raise_error(
|
11
|
+
end.should raise_error(Regexp.new("Parse error at #{__FILE__}:\\d+"))
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -7,18 +7,22 @@ module Gherkin
|
|
7
7
|
def tag(name)
|
8
8
|
Formatter::Model::Tag.new(name, 0)
|
9
9
|
end
|
10
|
-
|
10
|
+
|
11
11
|
context "no tags" do
|
12
12
|
before(:each) do
|
13
13
|
@e = Gherkin::TagExpression.new([])
|
14
14
|
end
|
15
15
|
|
16
|
+
it 'should be empty' do
|
17
|
+
@e.should be_empty
|
18
|
+
end
|
19
|
+
|
16
20
|
it "should match @foo" do
|
17
|
-
@e.
|
21
|
+
@e.evaluate([tag('@foo')]).should == true
|
18
22
|
end
|
19
23
|
|
20
24
|
it "should match empty tags" do
|
21
|
-
@e.
|
25
|
+
@e.evaluate([]).should == true
|
22
26
|
end
|
23
27
|
end
|
24
28
|
|
@@ -28,15 +32,15 @@ module Gherkin
|
|
28
32
|
end
|
29
33
|
|
30
34
|
it "should match @foo" do
|
31
|
-
@e.
|
35
|
+
@e.evaluate([tag('@foo')]).should == true
|
32
36
|
end
|
33
37
|
|
34
38
|
it "should not match @bar" do
|
35
|
-
@e.
|
39
|
+
@e.evaluate([tag('@bar')]).should == false
|
36
40
|
end
|
37
41
|
|
38
42
|
it "should not match no tags" do
|
39
|
-
@e.
|
43
|
+
@e.evaluate([]).should == false
|
40
44
|
end
|
41
45
|
end
|
42
46
|
|
@@ -46,11 +50,11 @@ module Gherkin
|
|
46
50
|
end
|
47
51
|
|
48
52
|
it "should match @bar" do
|
49
|
-
@e.
|
53
|
+
@e.evaluate([tag('@bar')]).should == true
|
50
54
|
end
|
51
55
|
|
52
56
|
it "should not match @foo" do
|
53
|
-
@e.
|
57
|
+
@e.evaluate([tag('@foo')]).should == false
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
@@ -60,15 +64,15 @@ module Gherkin
|
|
60
64
|
end
|
61
65
|
|
62
66
|
it "should match @foo" do
|
63
|
-
@e.
|
67
|
+
@e.evaluate([tag('@foo')]).should == true
|
64
68
|
end
|
65
69
|
|
66
70
|
it "should match @bar" do
|
67
|
-
@e.
|
71
|
+
@e.evaluate([tag('@bar')]).should == true
|
68
72
|
end
|
69
73
|
|
70
74
|
it "should not match @zap" do
|
71
|
-
@e.
|
75
|
+
@e.evaluate([tag('@zap')]).should == false
|
72
76
|
end
|
73
77
|
end
|
74
78
|
|
@@ -78,11 +82,11 @@ module Gherkin
|
|
78
82
|
end
|
79
83
|
|
80
84
|
it "should match @foo" do
|
81
|
-
@e.
|
85
|
+
@e.evaluate([tag('@foo')]).should == true
|
82
86
|
end
|
83
87
|
|
84
88
|
it "should not match @foo @zap" do
|
85
|
-
@e.
|
89
|
+
@e.evaluate([tag('@foo'), tag('@zap')]).should == false
|
86
90
|
end
|
87
91
|
end
|
88
92
|
|
@@ -96,7 +100,7 @@ module Gherkin
|
|
96
100
|
end
|
97
101
|
|
98
102
|
it "should match @foo @zap" do
|
99
|
-
@e.
|
103
|
+
@e.evaluate([tag('@foo'), tag('@zap')]).should == true
|
100
104
|
end
|
101
105
|
end
|
102
106
|
|
@@ -139,4 +143,4 @@ module Gherkin
|
|
139
143
|
end
|
140
144
|
end
|
141
145
|
end
|
142
|
-
end
|
146
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,10 @@ if RUBY_VERSION =~ /1.9/
|
|
2
2
|
Encoding.default_external = Encoding::UTF_8
|
3
3
|
Encoding.default_internal = Encoding::UTF_8
|
4
4
|
end
|
5
|
+
if defined?(JRUBY_VERSION)
|
6
|
+
java_import java.util.ArrayList
|
7
|
+
ArrayList.__persistent__ = true
|
8
|
+
end
|
5
9
|
|
6
10
|
require 'rubygems'
|
7
11
|
require 'bundler'
|
@@ -11,7 +15,6 @@ require 'rspec'
|
|
11
15
|
require 'gherkin'
|
12
16
|
require 'stringio'
|
13
17
|
require 'gherkin/sexp_recorder'
|
14
|
-
require 'gherkin/output_stream_string_io'
|
15
18
|
require 'gherkin/shared/encoding_group'
|
16
19
|
require 'gherkin/shared/lexer_group'
|
17
20
|
require 'gherkin/shared/tags_group'
|
data/tasks/rspec.rake
CHANGED
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.11.
|
4
|
+
version: 2.11.7
|
5
5
|
prerelease:
|
6
6
|
platform: x86-mswin32
|
7
7
|
authors:
|
@@ -11,24 +11,24 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
17
|
+
name: multi_json
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: '1.3'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
none: false
|
28
28
|
requirements:
|
29
|
-
- -
|
29
|
+
- - ~>
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 1.
|
31
|
+
version: '1.3'
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: cucumber
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,8 +250,6 @@ files:
|
|
250
250
|
- lib/gherkin/json_parser.rb
|
251
251
|
- lib/gherkin/lexer/encoding.rb
|
252
252
|
- lib/gherkin/lexer/i18n_lexer.rb
|
253
|
-
- lib/gherkin/lexer/tl.rb
|
254
|
-
- lib/gherkin/lexer/tt.rb
|
255
253
|
- lib/gherkin/listener/event.rb
|
256
254
|
- lib/gherkin/listener/formatter_listener.rb
|
257
255
|
- lib/gherkin/native.rb
|
@@ -262,6 +260,7 @@ files:
|
|
262
260
|
- lib/gherkin/parser/parser.rb
|
263
261
|
- lib/gherkin/parser/root.txt
|
264
262
|
- lib/gherkin/parser/steps.txt
|
263
|
+
- lib/gherkin/platform.rb
|
265
264
|
- lib/gherkin/rubify.rb
|
266
265
|
- lib/gherkin/tag_expression.rb
|
267
266
|
- ragel/lexer.c.rl.erb
|
@@ -309,7 +308,6 @@ files:
|
|
309
308
|
- spec/gherkin/json_parser_spec.rb
|
310
309
|
- spec/gherkin/lexer/i18n_lexer_spec.rb
|
311
310
|
- spec/gherkin/native_lexer_spec.rb
|
312
|
-
- spec/gherkin/output_stream_string_io.rb
|
313
311
|
- spec/gherkin/parser/parser_spec.rb
|
314
312
|
- spec/gherkin/rubify_spec.rb
|
315
313
|
- spec/gherkin/sexp_recorder.rb
|
@@ -338,106 +336,110 @@ files:
|
|
338
336
|
- tasks/yard/default/layout/html/layout.erb
|
339
337
|
- tasks/yard/default/layout/html/logo.erb
|
340
338
|
- tasks/yard/default/layout/html/setup.rb
|
341
|
-
- lib/1.
|
342
|
-
- lib/1.
|
343
|
-
- lib/1.
|
344
|
-
- lib/1.8/gherkin_lexer_ca.so
|
345
|
-
- lib/1.8/gherkin_lexer_cs.so
|
346
|
-
- lib/1.8/gherkin_lexer_cy_gb.so
|
347
|
-
- lib/1.8/gherkin_lexer_da.so
|
348
|
-
- lib/1.8/gherkin_lexer_de.so
|
349
|
-
- lib/1.8/gherkin_lexer_en.so
|
350
|
-
- lib/1.8/gherkin_lexer_en_au.so
|
351
|
-
- lib/1.8/gherkin_lexer_en_lol.so
|
352
|
-
- lib/1.8/gherkin_lexer_en_pirate.so
|
353
|
-
- lib/1.8/gherkin_lexer_en_scouse.so
|
354
|
-
- lib/1.8/gherkin_lexer_en_tx.so
|
355
|
-
- lib/1.8/gherkin_lexer_eo.so
|
356
|
-
- lib/1.8/gherkin_lexer_es.so
|
357
|
-
- lib/1.8/gherkin_lexer_et.so
|
358
|
-
- lib/1.8/gherkin_lexer_fa.so
|
359
|
-
- lib/1.8/gherkin_lexer_fi.so
|
360
|
-
- lib/1.8/gherkin_lexer_fr.so
|
361
|
-
- lib/1.8/gherkin_lexer_he.so
|
362
|
-
- lib/1.8/gherkin_lexer_hi.so
|
363
|
-
- lib/1.8/gherkin_lexer_hr.so
|
364
|
-
- lib/1.8/gherkin_lexer_hu.so
|
365
|
-
- lib/1.8/gherkin_lexer_id.so
|
366
|
-
- lib/1.8/gherkin_lexer_is.so
|
367
|
-
- lib/1.8/gherkin_lexer_it.so
|
368
|
-
- lib/1.8/gherkin_lexer_ja.so
|
369
|
-
- lib/1.8/gherkin_lexer_ko.so
|
370
|
-
- lib/1.8/gherkin_lexer_lt.so
|
371
|
-
- lib/1.8/gherkin_lexer_lu.so
|
372
|
-
- lib/1.8/gherkin_lexer_lv.so
|
373
|
-
- lib/1.8/gherkin_lexer_nl.so
|
374
|
-
- lib/1.8/gherkin_lexer_no.so
|
375
|
-
- lib/1.8/gherkin_lexer_pl.so
|
376
|
-
- lib/1.8/gherkin_lexer_pt.so
|
377
|
-
- lib/1.8/gherkin_lexer_ro.so
|
378
|
-
- lib/1.8/gherkin_lexer_ru.so
|
379
|
-
- lib/1.8/gherkin_lexer_sk.so
|
380
|
-
- lib/1.8/gherkin_lexer_sr_cyrl.so
|
381
|
-
- lib/1.8/gherkin_lexer_sr_latn.so
|
382
|
-
- lib/1.8/gherkin_lexer_sv.so
|
383
|
-
- lib/1.8/gherkin_lexer_tl.so
|
384
|
-
- lib/1.8/gherkin_lexer_tr.so
|
385
|
-
- lib/1.8/gherkin_lexer_tt.so
|
386
|
-
- lib/1.8/gherkin_lexer_uk.so
|
387
|
-
- lib/1.8/gherkin_lexer_uz.so
|
388
|
-
- lib/1.8/gherkin_lexer_vi.so
|
389
|
-
- lib/1.8/gherkin_lexer_zh_cn.so
|
390
|
-
- lib/1.8/gherkin_lexer_zh_tw.so
|
391
|
-
- lib/1.9/gherkin_lexer_ar.so
|
392
|
-
- lib/1.9/gherkin_lexer_bg.so
|
393
|
-
- lib/1.9/gherkin_lexer_bm.so
|
394
|
-
- lib/1.9/gherkin_lexer_ca.so
|
339
|
+
- lib/1.9/gherkin_lexer_hr.so
|
340
|
+
- lib/1.9/gherkin_lexer_uk.so
|
341
|
+
- lib/1.9/gherkin_lexer_nl.so
|
395
342
|
- lib/1.9/gherkin_lexer_cs.so
|
343
|
+
- lib/1.9/gherkin_lexer_en_tx.so
|
344
|
+
- lib/1.9/gherkin_lexer_ca.so
|
345
|
+
- lib/1.9/gherkin_lexer_id.so
|
346
|
+
- lib/1.9/gherkin_lexer_is.so
|
347
|
+
- lib/1.9/gherkin_lexer_he.so
|
396
348
|
- lib/1.9/gherkin_lexer_cy_gb.so
|
397
|
-
- lib/1.9/gherkin_lexer_da.so
|
398
|
-
- lib/1.9/gherkin_lexer_de.so
|
399
|
-
- lib/1.9/gherkin_lexer_en.so
|
400
|
-
- lib/1.9/gherkin_lexer_en_au.so
|
401
|
-
- lib/1.9/gherkin_lexer_en_lol.so
|
402
349
|
- lib/1.9/gherkin_lexer_en_pirate.so
|
403
|
-
- lib/1.9/
|
404
|
-
- lib/1.9/
|
350
|
+
- lib/1.9/gherkin_lexer_sv.so
|
351
|
+
- lib/1.9/gherkin_lexer_fi.so
|
352
|
+
- lib/1.9/gherkin_lexer_zh_tw.so
|
353
|
+
- lib/1.9/gherkin_lexer_sr_latn.so
|
354
|
+
- lib/1.9/gherkin_lexer_sr_cyrl.so
|
355
|
+
- lib/1.9/gherkin_lexer_bg.so
|
356
|
+
- lib/1.9/gherkin_lexer_hi.so
|
357
|
+
- lib/1.9/gherkin_lexer_bm.so
|
358
|
+
- lib/1.9/gherkin_lexer_uz.so
|
359
|
+
- lib/1.9/gherkin_lexer_tl.so
|
405
360
|
- lib/1.9/gherkin_lexer_eo.so
|
406
361
|
- lib/1.9/gherkin_lexer_es.so
|
407
|
-
- lib/1.9/
|
362
|
+
- lib/1.9/gherkin_lexer_ar.so
|
408
363
|
- lib/1.9/gherkin_lexer_fa.so
|
409
|
-
- lib/1.9/
|
410
|
-
- lib/1.9/
|
411
|
-
- lib/1.9/gherkin_lexer_he.so
|
412
|
-
- lib/1.9/gherkin_lexer_hi.so
|
413
|
-
- lib/1.9/gherkin_lexer_hr.so
|
414
|
-
- lib/1.9/gherkin_lexer_hu.so
|
415
|
-
- lib/1.9/gherkin_lexer_id.so
|
416
|
-
- lib/1.9/gherkin_lexer_is.so
|
417
|
-
- lib/1.9/gherkin_lexer_it.so
|
418
|
-
- lib/1.9/gherkin_lexer_ja.so
|
419
|
-
- lib/1.9/gherkin_lexer_ko.so
|
420
|
-
- lib/1.9/gherkin_lexer_lt.so
|
364
|
+
- lib/1.9/gherkin_lexer_en_lol.so
|
365
|
+
- lib/1.9/gherkin_lexer_en_old.so
|
421
366
|
- lib/1.9/gherkin_lexer_lu.so
|
422
|
-
- lib/1.9/gherkin_lexer_lv.so
|
423
|
-
- lib/1.9/gherkin_lexer_nl.so
|
424
|
-
- lib/1.9/gherkin_lexer_no.so
|
425
|
-
- lib/1.9/gherkin_lexer_pl.so
|
426
367
|
- lib/1.9/gherkin_lexer_pt.so
|
368
|
+
- lib/1.9/gherkin_lexer_de.so
|
369
|
+
- lib/1.9/gherkin_lexer_el.so
|
370
|
+
- lib/1.9/gherkin_lexer_tt.so
|
427
371
|
- lib/1.9/gherkin_lexer_ro.so
|
372
|
+
- lib/1.9/gherkin_lexer_it.so
|
373
|
+
- lib/1.9/gherkin_lexer_en_au.so
|
374
|
+
- lib/1.9/gherkin_lexer_en.so
|
375
|
+
- lib/1.9/gherkin_lexer_zh_cn.so
|
428
376
|
- lib/1.9/gherkin_lexer_ru.so
|
377
|
+
- lib/1.9/gherkin_lexer_lt.so
|
378
|
+
- lib/1.9/gherkin_lexer_da.so
|
379
|
+
- lib/1.9/gherkin_lexer_no.so
|
429
380
|
- lib/1.9/gherkin_lexer_sk.so
|
430
|
-
- lib/1.9/
|
431
|
-
- lib/1.9/
|
432
|
-
- lib/1.9/
|
433
|
-
- lib/1.9/
|
434
|
-
- lib/1.9/
|
435
|
-
- lib/1.9/
|
436
|
-
- lib/1.9/
|
437
|
-
- lib/1.9/gherkin_lexer_uz.so
|
381
|
+
- lib/1.9/gherkin_lexer_ja.so
|
382
|
+
- lib/1.9/gherkin_lexer_fr.so
|
383
|
+
- lib/1.9/gherkin_lexer_lv.so
|
384
|
+
- lib/1.9/gherkin_lexer_ko.so
|
385
|
+
- lib/1.9/gherkin_lexer_en_scouse.so
|
386
|
+
- lib/1.9/gherkin_lexer_hu.so
|
387
|
+
- lib/1.9/gherkin_lexer_pl.so
|
438
388
|
- lib/1.9/gherkin_lexer_vi.so
|
439
|
-
- lib/1.9/
|
440
|
-
- lib/1.9/
|
389
|
+
- lib/1.9/gherkin_lexer_tr.so
|
390
|
+
- lib/1.9/gherkin_lexer_et.so
|
391
|
+
- lib/1.8/gherkin_lexer_hr.so
|
392
|
+
- lib/1.8/gherkin_lexer_uk.so
|
393
|
+
- lib/1.8/gherkin_lexer_nl.so
|
394
|
+
- lib/1.8/gherkin_lexer_cs.so
|
395
|
+
- lib/1.8/gherkin_lexer_en_tx.so
|
396
|
+
- lib/1.8/gherkin_lexer_ca.so
|
397
|
+
- lib/1.8/gherkin_lexer_id.so
|
398
|
+
- lib/1.8/gherkin_lexer_is.so
|
399
|
+
- lib/1.8/gherkin_lexer_he.so
|
400
|
+
- lib/1.8/gherkin_lexer_cy_gb.so
|
401
|
+
- lib/1.8/gherkin_lexer_en_pirate.so
|
402
|
+
- lib/1.8/gherkin_lexer_sv.so
|
403
|
+
- lib/1.8/gherkin_lexer_fi.so
|
404
|
+
- lib/1.8/gherkin_lexer_zh_tw.so
|
405
|
+
- lib/1.8/gherkin_lexer_sr_latn.so
|
406
|
+
- lib/1.8/gherkin_lexer_sr_cyrl.so
|
407
|
+
- lib/1.8/gherkin_lexer_bg.so
|
408
|
+
- lib/1.8/gherkin_lexer_hi.so
|
409
|
+
- lib/1.8/gherkin_lexer_bm.so
|
410
|
+
- lib/1.8/gherkin_lexer_uz.so
|
411
|
+
- lib/1.8/gherkin_lexer_tl.so
|
412
|
+
- lib/1.8/gherkin_lexer_eo.so
|
413
|
+
- lib/1.8/gherkin_lexer_es.so
|
414
|
+
- lib/1.8/gherkin_lexer_ar.so
|
415
|
+
- lib/1.8/gherkin_lexer_fa.so
|
416
|
+
- lib/1.8/gherkin_lexer_en_lol.so
|
417
|
+
- lib/1.8/gherkin_lexer_en_old.so
|
418
|
+
- lib/1.8/gherkin_lexer_lu.so
|
419
|
+
- lib/1.8/gherkin_lexer_pt.so
|
420
|
+
- lib/1.8/gherkin_lexer_de.so
|
421
|
+
- lib/1.8/gherkin_lexer_el.so
|
422
|
+
- lib/1.8/gherkin_lexer_tt.so
|
423
|
+
- lib/1.8/gherkin_lexer_ro.so
|
424
|
+
- lib/1.8/gherkin_lexer_it.so
|
425
|
+
- lib/1.8/gherkin_lexer_en_au.so
|
426
|
+
- lib/1.8/gherkin_lexer_en.so
|
427
|
+
- lib/1.8/gherkin_lexer_zh_cn.so
|
428
|
+
- lib/1.8/gherkin_lexer_ru.so
|
429
|
+
- lib/1.8/gherkin_lexer_lt.so
|
430
|
+
- lib/1.8/gherkin_lexer_da.so
|
431
|
+
- lib/1.8/gherkin_lexer_no.so
|
432
|
+
- lib/1.8/gherkin_lexer_sk.so
|
433
|
+
- lib/1.8/gherkin_lexer_ja.so
|
434
|
+
- lib/1.8/gherkin_lexer_fr.so
|
435
|
+
- lib/1.8/gherkin_lexer_lv.so
|
436
|
+
- lib/1.8/gherkin_lexer_ko.so
|
437
|
+
- lib/1.8/gherkin_lexer_en_scouse.so
|
438
|
+
- lib/1.8/gherkin_lexer_hu.so
|
439
|
+
- lib/1.8/gherkin_lexer_pl.so
|
440
|
+
- lib/1.8/gherkin_lexer_vi.so
|
441
|
+
- lib/1.8/gherkin_lexer_tr.so
|
442
|
+
- lib/1.8/gherkin_lexer_et.so
|
441
443
|
homepage: http://github.com/cucumber/gherkin
|
442
444
|
licenses: []
|
443
445
|
post_install_message:
|
@@ -459,74 +461,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
459
461
|
version: '0'
|
460
462
|
requirements: []
|
461
463
|
rubyforge_project:
|
462
|
-
rubygems_version: 1.8.
|
464
|
+
rubygems_version: 1.8.25
|
463
465
|
signing_key:
|
464
466
|
specification_version: 3
|
465
|
-
summary: gherkin-2.11.
|
466
|
-
test_files:
|
467
|
-
- features/escaped_pipes.feature
|
468
|
-
- features/feature_parser.feature
|
469
|
-
- features/json_formatter.feature
|
470
|
-
- features/json_parser.feature
|
471
|
-
- features/native_lexer.feature
|
472
|
-
- features/parser_with_native_lexer.feature
|
473
|
-
- features/pretty_formatter.feature
|
474
|
-
- features/step_definitions/eyeball_steps.rb
|
475
|
-
- features/step_definitions/gherkin_steps.rb
|
476
|
-
- features/step_definitions/json_formatter_steps.rb
|
477
|
-
- features/step_definitions/json_parser_steps.rb
|
478
|
-
- features/step_definitions/pretty_formatter_steps.rb
|
479
|
-
- features/steps_parser.feature
|
480
|
-
- features/support/env.rb
|
481
|
-
- spec/gherkin/c_lexer_spec.rb
|
482
|
-
- spec/gherkin/fixtures/1.feature
|
483
|
-
- spec/gherkin/fixtures/comments_in_table.feature
|
484
|
-
- spec/gherkin/fixtures/complex.feature
|
485
|
-
- spec/gherkin/fixtures/complex.json
|
486
|
-
- spec/gherkin/fixtures/complex_for_filtering.feature
|
487
|
-
- spec/gherkin/fixtures/complex_with_tags.feature
|
488
|
-
- spec/gherkin/fixtures/dos_line_endings.feature
|
489
|
-
- spec/gherkin/fixtures/examples_with_only_header.feature
|
490
|
-
- spec/gherkin/fixtures/hantu_pisang.feature
|
491
|
-
- spec/gherkin/fixtures/i18n_fr.feature
|
492
|
-
- spec/gherkin/fixtures/i18n_fr2.feature
|
493
|
-
- spec/gherkin/fixtures/i18n_no.feature
|
494
|
-
- spec/gherkin/fixtures/i18n_pt1.feature
|
495
|
-
- spec/gherkin/fixtures/i18n_pt2.feature
|
496
|
-
- spec/gherkin/fixtures/i18n_pt3.feature
|
497
|
-
- spec/gherkin/fixtures/i18n_pt4.feature
|
498
|
-
- spec/gherkin/fixtures/i18n_zh-CN.feature
|
499
|
-
- spec/gherkin/fixtures/iso-8859-1.feature
|
500
|
-
- spec/gherkin/fixtures/issue_145.feature
|
501
|
-
- spec/gherkin/fixtures/scenario_outline_with_tags.feature
|
502
|
-
- spec/gherkin/fixtures/scenario_without_steps.feature
|
503
|
-
- spec/gherkin/fixtures/simple_with_comments.feature
|
504
|
-
- spec/gherkin/fixtures/simple_with_tags.feature
|
505
|
-
- spec/gherkin/fixtures/with_bom.feature
|
506
|
-
- spec/gherkin/fixtures/with_bom_and_language_spec.feature
|
507
|
-
- spec/gherkin/formatter/ansi_escapes_spec.rb
|
508
|
-
- spec/gherkin/formatter/filter_formatter_spec.rb
|
509
|
-
- spec/gherkin/formatter/json_formatter_spec.rb
|
510
|
-
- spec/gherkin/formatter/model_spec.rb
|
511
|
-
- spec/gherkin/formatter/pretty_formatter_spec.rb
|
512
|
-
- spec/gherkin/formatter/spaces.feature
|
513
|
-
- spec/gherkin/formatter/step_printer_spec.rb
|
514
|
-
- spec/gherkin/formatter/tabs.feature
|
515
|
-
- spec/gherkin/formatter/tag_count_formatter_spec.rb
|
516
|
-
- spec/gherkin/i18n_spec.rb
|
517
|
-
- spec/gherkin/java_lexer_spec.rb
|
518
|
-
- spec/gherkin/json_parser_spec.rb
|
519
|
-
- spec/gherkin/lexer/i18n_lexer_spec.rb
|
520
|
-
- spec/gherkin/native_lexer_spec.rb
|
521
|
-
- spec/gherkin/output_stream_string_io.rb
|
522
|
-
- spec/gherkin/parser/parser_spec.rb
|
523
|
-
- spec/gherkin/rubify_spec.rb
|
524
|
-
- spec/gherkin/sexp_recorder.rb
|
525
|
-
- spec/gherkin/shared/doc_string_group.rb
|
526
|
-
- spec/gherkin/shared/encoding_group.rb
|
527
|
-
- spec/gherkin/shared/lexer_group.rb
|
528
|
-
- spec/gherkin/shared/row_group.rb
|
529
|
-
- spec/gherkin/shared/tags_group.rb
|
530
|
-
- spec/gherkin/tag_expression_spec.rb
|
531
|
-
- spec/spec_helper.rb
|
467
|
+
summary: gherkin-2.11.7
|
468
|
+
test_files: []
|
532
469
|
has_rdoc:
|