gherkin 2.7.2 → 2.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +4 -0
- data/README.md +1 -1
- data/features/.cucumber/stepdefs.json +50 -50
- data/gherkin.gemspec +2 -2
- metadata +28 -28
data/History.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [2.7.3](https://github.com/cucumber/gherkin/compare/v2.7.2...v2.7.3)
|
2
|
+
|
3
|
+
* [Java] Make sure Result constructed with a Throwable always has a JSON error_message (Aslak Hellesøy)
|
4
|
+
|
1
5
|
## [2.7.2](https://github.com/cucumber/gherkin/compare/v2.7.1...v2.7.2)
|
2
6
|
|
3
7
|
* [Java] Added gherkin.I18n.getAll() (Aslak Hellesøy)
|
data/README.md
CHANGED
@@ -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.7.
|
57
|
+
<version>2.7.3</version>
|
58
58
|
</dependency>
|
59
59
|
|
60
60
|
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
|
@@ -1,227 +1,227 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
-
"flags": "",
|
4
3
|
"source": "^they have arrived$",
|
4
|
+
"flags": "",
|
5
5
|
"steps": [
|
6
6
|
{
|
7
|
+
"name": "they have arrived",
|
7
8
|
"args": [
|
8
9
|
|
9
|
-
]
|
10
|
-
"name": "they have arrived"
|
10
|
+
]
|
11
11
|
}
|
12
12
|
]
|
13
13
|
},
|
14
14
|
{
|
15
|
-
"flags": "",
|
16
15
|
"source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
|
16
|
+
"flags": "",
|
17
17
|
"steps": [
|
18
18
|
|
19
19
|
]
|
20
20
|
},
|
21
21
|
{
|
22
|
-
"flags": "",
|
23
22
|
"source": "^the\\ following\\ text\\ is\\ parsed:$",
|
23
|
+
"flags": "",
|
24
24
|
"steps": [
|
25
25
|
{
|
26
|
+
"name": "the following text is parsed:",
|
26
27
|
"args": [
|
27
28
|
|
28
|
-
]
|
29
|
-
"name": "the following text is parsed:"
|
29
|
+
]
|
30
30
|
}
|
31
31
|
]
|
32
32
|
},
|
33
33
|
{
|
34
|
-
"flags": "",
|
35
34
|
"source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
|
35
|
+
"flags": "",
|
36
36
|
"steps": [
|
37
37
|
{
|
38
|
+
"name": "there should be no parse errors",
|
38
39
|
"args": [
|
39
40
|
|
40
|
-
]
|
41
|
-
"name": "there should be no parse errors"
|
41
|
+
]
|
42
42
|
}
|
43
43
|
]
|
44
44
|
},
|
45
45
|
{
|
46
|
-
"flags": "",
|
47
46
|
"source": "^there should be a parse error on (line \\d+)$",
|
47
|
+
"flags": "",
|
48
48
|
"steps": [
|
49
49
|
{
|
50
|
+
"name": "there should be a parse error on line 1",
|
50
51
|
"args": [
|
51
52
|
{
|
52
53
|
"offset": 33,
|
53
54
|
"val": "line 1"
|
54
55
|
}
|
55
|
-
]
|
56
|
-
"name": "there should be a parse error on line 1"
|
56
|
+
]
|
57
57
|
}
|
58
58
|
]
|
59
59
|
},
|
60
60
|
{
|
61
|
-
"flags": "",
|
62
61
|
"source": "^there should be parse errors on (lines .*)$",
|
62
|
+
"flags": "",
|
63
63
|
"steps": [
|
64
64
|
{
|
65
|
+
"name": "there should be parse errors on lines 1 and 2",
|
65
66
|
"args": [
|
66
67
|
{
|
67
68
|
"offset": 32,
|
68
69
|
"val": "lines 1 and 2"
|
69
70
|
}
|
70
|
-
]
|
71
|
-
"name": "there should be parse errors on lines 1 and 2"
|
71
|
+
]
|
72
72
|
},
|
73
73
|
{
|
74
|
+
"name": "there should be parse errors on lines 1 through 3",
|
74
75
|
"args": [
|
75
76
|
{
|
76
77
|
"offset": 32,
|
77
78
|
"val": "lines 1 through 3"
|
78
79
|
}
|
79
|
-
]
|
80
|
-
"name": "there should be parse errors on lines 1 through 3"
|
80
|
+
]
|
81
81
|
},
|
82
82
|
{
|
83
|
+
"name": "there should be parse errors on lines 10 and 17",
|
83
84
|
"args": [
|
84
85
|
{
|
85
86
|
"offset": 32,
|
86
87
|
"val": "lines 10 and 17"
|
87
88
|
}
|
88
|
-
]
|
89
|
-
"name": "there should be parse errors on lines 10 and 17"
|
89
|
+
]
|
90
90
|
},
|
91
91
|
{
|
92
|
+
"name": "there should be parse errors on lines 3 and 5",
|
92
93
|
"args": [
|
93
94
|
{
|
94
95
|
"offset": 32,
|
95
96
|
"val": "lines 3 and 5"
|
96
97
|
}
|
97
|
-
]
|
98
|
-
"name": "there should be parse errors on lines 3 and 5"
|
98
|
+
]
|
99
99
|
},
|
100
100
|
{
|
101
|
+
"name": "there should be parse errors on lines 5, 10 and 12",
|
101
102
|
"args": [
|
102
103
|
{
|
103
104
|
"offset": 32,
|
104
105
|
"val": "lines 5, 10 and 12"
|
105
106
|
}
|
106
|
-
]
|
107
|
-
"name": "there should be parse errors on lines 5, 10 and 12"
|
107
|
+
]
|
108
108
|
}
|
109
109
|
]
|
110
110
|
},
|
111
111
|
{
|
112
|
-
"flags": "",
|
113
112
|
"source": "^a JSON formatter$",
|
113
|
+
"flags": "",
|
114
114
|
"steps": [
|
115
115
|
|
116
116
|
]
|
117
117
|
},
|
118
118
|
{
|
119
|
-
"flags": "",
|
120
119
|
"source": "^the outputted JSON should be:$",
|
120
|
+
"flags": "",
|
121
121
|
"steps": [
|
122
122
|
{
|
123
|
+
"name": "the outputted JSON should be:",
|
123
124
|
"args": [
|
124
125
|
|
125
|
-
]
|
126
|
-
"name": "the outputted JSON should be:"
|
126
|
+
]
|
127
127
|
}
|
128
128
|
]
|
129
129
|
},
|
130
130
|
{
|
131
|
-
"flags": "",
|
132
131
|
"source": "^a PrettyFormatter$",
|
132
|
+
"flags": "",
|
133
133
|
"steps": [
|
134
134
|
|
135
135
|
]
|
136
136
|
},
|
137
137
|
{
|
138
|
-
"flags": "",
|
139
138
|
"source": "^a JSON lexer$",
|
139
|
+
"flags": "",
|
140
140
|
"steps": [
|
141
141
|
|
142
142
|
]
|
143
143
|
},
|
144
144
|
{
|
145
|
-
"flags": "",
|
146
145
|
"source": "^the following JSON is parsed:$",
|
146
|
+
"flags": "",
|
147
147
|
"steps": [
|
148
148
|
{
|
149
|
+
"name": "the following JSON is parsed:",
|
149
150
|
"args": [
|
150
151
|
|
151
|
-
]
|
152
|
-
"name": "the following JSON is parsed:"
|
152
|
+
]
|
153
153
|
}
|
154
154
|
]
|
155
155
|
},
|
156
156
|
{
|
157
|
-
"flags": "",
|
158
157
|
"source": "^the outputted text should be:$",
|
158
|
+
"flags": "",
|
159
159
|
"steps": [
|
160
160
|
{
|
161
|
+
"name": "the outputted text should be:",
|
161
162
|
"args": [
|
162
163
|
|
163
|
-
]
|
164
|
-
"name": "the outputted text should be:"
|
164
|
+
]
|
165
165
|
}
|
166
166
|
]
|
167
167
|
},
|
168
168
|
{
|
169
|
-
"flags": "",
|
170
169
|
"source": "^I have Cucumber's source code next to Gherkin's$",
|
170
|
+
"flags": "",
|
171
171
|
"steps": [
|
172
172
|
{
|
173
|
+
"name": "I have Cucumber's source code next to Gherkin's",
|
173
174
|
"args": [
|
174
175
|
|
175
|
-
]
|
176
|
-
"name": "I have Cucumber's source code next to Gherkin's"
|
176
|
+
]
|
177
177
|
}
|
178
178
|
]
|
179
179
|
},
|
180
180
|
{
|
181
|
-
"flags": "",
|
182
181
|
"source": "^I find all of the \\.feature files$",
|
182
|
+
"flags": "",
|
183
183
|
"steps": [
|
184
184
|
{
|
185
|
+
"name": "I find all of the .feature files",
|
185
186
|
"args": [
|
186
187
|
|
187
|
-
]
|
188
|
-
"name": "I find all of the .feature files"
|
188
|
+
]
|
189
189
|
}
|
190
190
|
]
|
191
191
|
},
|
192
192
|
{
|
193
|
-
"flags": "",
|
194
193
|
"source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
|
194
|
+
"flags": "",
|
195
195
|
"steps": [
|
196
196
|
{
|
197
|
+
"name": "I send each prettified original through the \"json\" machinery",
|
197
198
|
"args": [
|
198
199
|
{
|
199
200
|
"offset": 45,
|
200
201
|
"val": "json"
|
201
202
|
}
|
202
|
-
]
|
203
|
-
"name": "I send each prettified original through the \"json\" machinery"
|
203
|
+
]
|
204
204
|
},
|
205
205
|
{
|
206
|
+
"name": "I send each prettified original through the \"pretty\" machinery",
|
206
207
|
"args": [
|
207
208
|
{
|
208
209
|
"offset": 45,
|
209
210
|
"val": "pretty"
|
210
211
|
}
|
211
|
-
]
|
212
|
-
"name": "I send each prettified original through the \"pretty\" machinery"
|
212
|
+
]
|
213
213
|
}
|
214
214
|
]
|
215
215
|
},
|
216
216
|
{
|
217
|
-
"flags": "",
|
218
217
|
"source": "^the machinery output should be identical to the prettified original$",
|
218
|
+
"flags": "",
|
219
219
|
"steps": [
|
220
220
|
{
|
221
|
+
"name": "the machinery output should be identical to the prettified original",
|
221
222
|
"args": [
|
222
223
|
|
223
|
-
]
|
224
|
-
"name": "the machinery output should be identical to the prettified original"
|
224
|
+
]
|
225
225
|
}
|
226
226
|
]
|
227
227
|
}
|
data/gherkin.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gherkin"
|
5
5
|
# If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
|
6
|
-
s.version = "2.7.
|
6
|
+
s.version = "2.7.3"
|
7
7
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
8
8
|
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
|
9
9
|
s.summary = "#{s.name}-#{s.version}"
|
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
|
|
49
49
|
s.add_development_dependency('cucumber', '>= 1.1.4')
|
50
50
|
s.add_development_dependency('rake', '>= 0.9.2')
|
51
51
|
s.add_development_dependency('bundler', '>= 1.0.21')
|
52
|
-
s.add_development_dependency('rspec', '
|
52
|
+
s.add_development_dependency('rspec', '~> 2.7.0') # 2.8.0 breaks some of our specs
|
53
53
|
s.add_development_dependency('rubyzip', '>= 0.9.5')
|
54
54
|
|
55
55
|
unless ENV['RUBY_CC_VERSION'] || defined?(JRUBY_VERSION)
|
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.7.
|
4
|
+
version: 2.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-01-
|
14
|
+
date: 2012-01-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake-compiler
|
18
|
-
requirement: &
|
18
|
+
requirement: &2156547480 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 0.7.9
|
24
24
|
type: :development
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2156547480
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
|
-
requirement: &
|
29
|
+
requirement: &2156526740 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 1.4.6
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2156526740
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: cucumber
|
40
|
-
requirement: &
|
40
|
+
requirement: &2156526080 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: 1.1.4
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2156526080
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rake
|
51
|
-
requirement: &
|
51
|
+
requirement: &2156525040 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 0.9.2
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2156525040
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: bundler
|
62
|
-
requirement: &
|
62
|
+
requirement: &2156523480 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,21 +67,21 @@ dependencies:
|
|
67
67
|
version: 1.0.21
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2156523480
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rspec
|
73
|
-
requirement: &
|
73
|
+
requirement: &2156522400 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
|
-
- -
|
76
|
+
- - ~>
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 2.7.0
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2156522400
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: rubyzip
|
84
|
-
requirement: &
|
84
|
+
requirement: &2156519140 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 0.9.5
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2156519140
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: therubyracer
|
95
|
-
requirement: &
|
95
|
+
requirement: &2156517240 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: 0.9.9
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2156517240
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: yard
|
106
|
-
requirement: &
|
106
|
+
requirement: &2156516560 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 0.7.4
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2156516560
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: rdiscount
|
117
|
-
requirement: &
|
117
|
+
requirement: &2156515320 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ! '>='
|
@@ -122,10 +122,10 @@ dependencies:
|
|
122
122
|
version: 1.6.8
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2156515320
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: term-ansicolor
|
128
|
-
requirement: &
|
128
|
+
requirement: &2156498740 !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ! '>='
|
@@ -133,10 +133,10 @@ dependencies:
|
|
133
133
|
version: 1.0.6
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
|
-
version_requirements: *
|
136
|
+
version_requirements: *2156498740
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: builder
|
139
|
-
requirement: &
|
139
|
+
requirement: &2156496780 !ruby/object:Gem::Requirement
|
140
140
|
none: false
|
141
141
|
requirements:
|
142
142
|
- - ! '>='
|
@@ -144,7 +144,7 @@ dependencies:
|
|
144
144
|
version: 2.1.2
|
145
145
|
type: :development
|
146
146
|
prerelease: false
|
147
|
-
version_requirements: *
|
147
|
+
version_requirements: *2156496780
|
148
148
|
description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
|
149
149
|
email: cukes@googlegroups.com
|
150
150
|
executables: []
|
@@ -490,7 +490,7 @@ rubyforge_project:
|
|
490
490
|
rubygems_version: 1.8.10
|
491
491
|
signing_key:
|
492
492
|
specification_version: 3
|
493
|
-
summary: gherkin-2.7.
|
493
|
+
summary: gherkin-2.7.3
|
494
494
|
test_files:
|
495
495
|
- features/escaped_pipes.feature
|
496
496
|
- features/feature_parser.feature
|