gherkin 2.7.3-java → 2.7.4-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.7.4](https://github.com/cucumber/gherkin/compare/v2.7.3...v2.7.4)
2
+
3
+ * Declared json and base64 dependencies as provided so they don't get included in dependant projects (Aslak Hellesøy)
4
+ * Improved Chinese translations ([#155](https://github.com/cucumber/gherkin/pull/155) Riceball LEE)
5
+ * Improved Czech translations ([#154](https://github.com/cucumber/gherkin/pull/154) Konstantin Kudryashov)
6
+
1
7
  ## [2.7.3](https://github.com/cucumber/gherkin/compare/v2.7.2...v2.7.3)
2
8
 
3
9
  * [Java] Make sure Result constructed with a Throwable always has a JSON error_message (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.3</version>
57
+ <version>2.7.4</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
- "source": "^they have arrived$",
4
3
  "flags": "",
4
+ "source": "^they have arrived$",
5
5
  "steps": [
6
6
  {
7
- "name": "they have arrived",
8
7
  "args": [
9
8
 
10
- ]
9
+ ],
10
+ "name": "they have arrived"
11
11
  }
12
12
  ]
13
13
  },
14
14
  {
15
- "source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
16
15
  "flags": "",
16
+ "source": "^a \"(ruby|native)\" \"([^\\\"]*)\" parser$",
17
17
  "steps": [
18
18
 
19
19
  ]
20
20
  },
21
21
  {
22
- "source": "^the\\ following\\ text\\ is\\ parsed:$",
23
22
  "flags": "",
23
+ "source": "^the\\ following\\ text\\ is\\ parsed:$",
24
24
  "steps": [
25
25
  {
26
- "name": "the following text is parsed:",
27
26
  "args": [
28
27
 
29
- ]
28
+ ],
29
+ "name": "the following text is parsed:"
30
30
  }
31
31
  ]
32
32
  },
33
33
  {
34
- "source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
35
34
  "flags": "",
35
+ "source": "^there\\ should\\ be\\ no\\ parse\\ errors$",
36
36
  "steps": [
37
37
  {
38
- "name": "there should be no parse errors",
39
38
  "args": [
40
39
 
41
- ]
40
+ ],
41
+ "name": "there should be no parse errors"
42
42
  }
43
43
  ]
44
44
  },
45
45
  {
46
- "source": "^there should be a parse error on (line \\d+)$",
47
46
  "flags": "",
47
+ "source": "^there should be a parse error on (line \\d+)$",
48
48
  "steps": [
49
49
  {
50
- "name": "there should be a parse error on line 1",
51
50
  "args": [
52
51
  {
53
52
  "offset": 33,
54
53
  "val": "line 1"
55
54
  }
56
- ]
55
+ ],
56
+ "name": "there should be a parse error on line 1"
57
57
  }
58
58
  ]
59
59
  },
60
60
  {
61
- "source": "^there should be parse errors on (lines .*)$",
62
61
  "flags": "",
62
+ "source": "^there should be parse errors on (lines .*)$",
63
63
  "steps": [
64
64
  {
65
- "name": "there should be parse errors on lines 1 and 2",
66
65
  "args": [
67
66
  {
68
67
  "offset": 32,
69
68
  "val": "lines 1 and 2"
70
69
  }
71
- ]
70
+ ],
71
+ "name": "there should be parse errors on lines 1 and 2"
72
72
  },
73
73
  {
74
- "name": "there should be parse errors on lines 1 through 3",
75
74
  "args": [
76
75
  {
77
76
  "offset": 32,
78
77
  "val": "lines 1 through 3"
79
78
  }
80
- ]
79
+ ],
80
+ "name": "there should be parse errors on lines 1 through 3"
81
81
  },
82
82
  {
83
- "name": "there should be parse errors on lines 10 and 17",
84
83
  "args": [
85
84
  {
86
85
  "offset": 32,
87
86
  "val": "lines 10 and 17"
88
87
  }
89
- ]
88
+ ],
89
+ "name": "there should be parse errors on lines 10 and 17"
90
90
  },
91
91
  {
92
- "name": "there should be parse errors on lines 3 and 5",
93
92
  "args": [
94
93
  {
95
94
  "offset": 32,
96
95
  "val": "lines 3 and 5"
97
96
  }
98
- ]
97
+ ],
98
+ "name": "there should be parse errors on lines 3 and 5"
99
99
  },
100
100
  {
101
- "name": "there should be parse errors on lines 5, 10 and 12",
102
101
  "args": [
103
102
  {
104
103
  "offset": 32,
105
104
  "val": "lines 5, 10 and 12"
106
105
  }
107
- ]
106
+ ],
107
+ "name": "there should be parse errors on lines 5, 10 and 12"
108
108
  }
109
109
  ]
110
110
  },
111
111
  {
112
- "source": "^a JSON formatter$",
113
112
  "flags": "",
113
+ "source": "^a JSON formatter$",
114
114
  "steps": [
115
115
 
116
116
  ]
117
117
  },
118
118
  {
119
- "source": "^the outputted JSON should be:$",
120
119
  "flags": "",
120
+ "source": "^the outputted JSON should be:$",
121
121
  "steps": [
122
122
  {
123
- "name": "the outputted JSON should be:",
124
123
  "args": [
125
124
 
126
- ]
125
+ ],
126
+ "name": "the outputted JSON should be:"
127
127
  }
128
128
  ]
129
129
  },
130
130
  {
131
- "source": "^a PrettyFormatter$",
132
131
  "flags": "",
132
+ "source": "^a PrettyFormatter$",
133
133
  "steps": [
134
134
 
135
135
  ]
136
136
  },
137
137
  {
138
- "source": "^a JSON lexer$",
139
138
  "flags": "",
139
+ "source": "^a JSON lexer$",
140
140
  "steps": [
141
141
 
142
142
  ]
143
143
  },
144
144
  {
145
- "source": "^the following JSON is parsed:$",
146
145
  "flags": "",
146
+ "source": "^the following JSON is parsed:$",
147
147
  "steps": [
148
148
  {
149
- "name": "the following JSON is parsed:",
150
149
  "args": [
151
150
 
152
- ]
151
+ ],
152
+ "name": "the following JSON is parsed:"
153
153
  }
154
154
  ]
155
155
  },
156
156
  {
157
- "source": "^the outputted text should be:$",
158
157
  "flags": "",
158
+ "source": "^the outputted text should be:$",
159
159
  "steps": [
160
160
  {
161
- "name": "the outputted text should be:",
162
161
  "args": [
163
162
 
164
- ]
163
+ ],
164
+ "name": "the outputted text should be:"
165
165
  }
166
166
  ]
167
167
  },
168
168
  {
169
- "source": "^I have Cucumber's source code next to Gherkin's$",
170
169
  "flags": "",
170
+ "source": "^I have Cucumber's source code next to Gherkin's$",
171
171
  "steps": [
172
172
  {
173
- "name": "I have Cucumber's source code next to Gherkin's",
174
173
  "args": [
175
174
 
176
- ]
175
+ ],
176
+ "name": "I have Cucumber's source code next to Gherkin's"
177
177
  }
178
178
  ]
179
179
  },
180
180
  {
181
- "source": "^I find all of the \\.feature files$",
182
181
  "flags": "",
182
+ "source": "^I find all of the \\.feature files$",
183
183
  "steps": [
184
184
  {
185
- "name": "I find all of the .feature files",
186
185
  "args": [
187
186
 
188
- ]
187
+ ],
188
+ "name": "I find all of the .feature files"
189
189
  }
190
190
  ]
191
191
  },
192
192
  {
193
- "source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
194
193
  "flags": "",
194
+ "source": "^I send each prettified original through the \"([^\"]*)\" machinery$",
195
195
  "steps": [
196
196
  {
197
- "name": "I send each prettified original through the \"json\" machinery",
198
197
  "args": [
199
198
  {
200
199
  "offset": 45,
201
200
  "val": "json"
202
201
  }
203
- ]
202
+ ],
203
+ "name": "I send each prettified original through the \"json\" machinery"
204
204
  },
205
205
  {
206
- "name": "I send each prettified original through the \"pretty\" machinery",
207
206
  "args": [
208
207
  {
209
208
  "offset": 45,
210
209
  "val": "pretty"
211
210
  }
212
- ]
211
+ ],
212
+ "name": "I send each prettified original through the \"pretty\" machinery"
213
213
  }
214
214
  ]
215
215
  },
216
216
  {
217
- "source": "^the machinery output should be identical to the prettified original$",
218
217
  "flags": "",
218
+ "source": "^the machinery output should be identical to the prettified original$",
219
219
  "steps": [
220
220
  {
221
- "name": "the machinery output should be identical to the prettified original",
222
221
  "args": [
223
222
 
224
- ]
223
+ ],
224
+ "name": "the machinery output should be identical to the prettified original"
225
225
  }
226
226
  ]
227
227
  }
@@ -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.3"
6
+ s.version = "2.7.4"
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}"
Binary file
@@ -89,7 +89,7 @@
89
89
  given: "*|Pokud"
90
90
  when: "*|Když"
91
91
  then: "*|Pak"
92
- and: "*|A|A také"
92
+ and: "*|A také|A"
93
93
  but: "*|Ale"
94
94
  "da":
95
95
  name: Danish
@@ -577,13 +577,13 @@
577
577
  native: 简体中文
578
578
  feature: 功能
579
579
  background: 背景
580
- scenario: 场景
581
- scenario_outline: 场景大纲
580
+ scenario: 场景|剧本
581
+ scenario_outline: 场景大纲|剧本大纲
582
582
  examples: 例子
583
- given: "*|假如<"
583
+ given: "*|假如<|假设<|假定<"
584
584
  when: "*|当<"
585
585
  then: "*|那么<"
586
- and: "*|而且<"
586
+ and: "*|而且<|并且<|同时<"
587
587
  but: "*|但是<"
588
588
  "zh-TW":
589
589
  name: Chinese traditional
@@ -593,8 +593,8 @@
593
593
  scenario: 場景|劇本
594
594
  scenario_outline: 場景大綱|劇本大綱
595
595
  examples: 例子
596
- given: "*|假設<"
596
+ given: "*|假如<|假設<|假定<"
597
597
  when: "*|當<"
598
598
  then: "*|那麼<"
599
- and: "*|而且<|並且<"
599
+ and: "*|而且<|並且<|同時<"
600
600
  but: "*|但是<"
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.3
4
+ version: 2.7.4
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-12 00:00:00.000000000 Z
14
+ date: 2012-01-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json
18
- requirement: &2156684220 !ruby/object:Gem::Requirement
18
+ requirement: &2160220480 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.4.6
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2156684220
26
+ version_requirements: *2160220480
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
- requirement: &2156682840 !ruby/object:Gem::Requirement
29
+ requirement: &2160147820 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.1.4
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *2156682840
37
+ version_requirements: *2160147820
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rake
40
- requirement: &2156681900 !ruby/object:Gem::Requirement
40
+ requirement: &2160144280 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.9.2
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2156681900
48
+ version_requirements: *2160144280
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
- requirement: &2156681260 !ruby/object:Gem::Requirement
51
+ requirement: &2160130260 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.0.21
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2156681260
59
+ version_requirements: *2160130260
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rspec
62
- requirement: &2156680620 !ruby/object:Gem::Requirement
62
+ requirement: &2160128280 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ~>
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 2.7.0
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2156680620
70
+ version_requirements: *2160128280
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rubyzip
73
- requirement: &2156679840 !ruby/object:Gem::Requirement
73
+ requirement: &2160126680 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: 0.9.5
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2156679840
81
+ version_requirements: *2160126680
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: therubyracer
84
- requirement: &2156678520 !ruby/object:Gem::Requirement
84
+ requirement: &2160124480 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.9.9
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2156678520
92
+ version_requirements: *2160124480
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: yard
95
- requirement: &2156677680 !ruby/object:Gem::Requirement
95
+ requirement: &2160123320 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 0.7.4
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2156677680
103
+ version_requirements: *2160123320
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdiscount
106
- requirement: &2156676880 !ruby/object:Gem::Requirement
106
+ requirement: &2160121900 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: 1.6.8
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2156676880
114
+ version_requirements: *2160121900
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: term-ansicolor
117
- requirement: &2156675720 !ruby/object:Gem::Requirement
117
+ requirement: &2160116700 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: 1.0.6
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *2156675720
125
+ version_requirements: *2160116700
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: builder
128
- requirement: &2156671980 !ruby/object:Gem::Requirement
128
+ requirement: &2160112380 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,7 +133,7 @@ dependencies:
133
133
  version: 2.1.2
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *2156671980
136
+ version_requirements: *2160112380
137
137
  description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
138
138
  email: cukes@googlegroups.com
139
139
  executables: []
@@ -300,7 +300,7 @@ rubyforge_project:
300
300
  rubygems_version: 1.8.10
301
301
  signing_key:
302
302
  specification_version: 3
303
- summary: gherkin-2.7.3
303
+ summary: gherkin-2.7.4
304
304
  test_files:
305
305
  - features/escaped_pipes.feature
306
306
  - features/feature_parser.feature