gherkin 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/VERSION +1 -1
- data/ragel/lexer.c.rl.erb +6 -2
- metadata +5 -5
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.4
|
data/ragel/lexer.c.rl.erb
CHANGED
@@ -198,7 +198,9 @@ static VALUE rb_eGherkinLexingError;
|
|
198
198
|
if (cs < lexer_first_final) {
|
199
199
|
if (raise_lexer_error != NULL) {
|
200
200
|
size_t count = 0;
|
201
|
-
|
201
|
+
VALUE newstr_val;
|
202
|
+
char *newstr;
|
203
|
+
int newstr_count = 0;
|
202
204
|
size_t len;
|
203
205
|
const char *buff;
|
204
206
|
if (lexer->last_newline != 0) {
|
@@ -209,7 +211,9 @@ static VALUE rb_eGherkinLexingError;
|
|
209
211
|
buff = data;
|
210
212
|
}
|
211
213
|
|
212
|
-
|
214
|
+
// Allocate as a ruby string so that it gets cleaned up by GC
|
215
|
+
newstr_val = rb_str_new(buff, len);
|
216
|
+
newstr = RSTRING_PTR(newstr_val);
|
213
217
|
|
214
218
|
for (count = 0; count < len; count++) {
|
215
219
|
if(buff[count] == 10) {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 2.2.
|
9
|
+
- 4
|
10
|
+
version: 2.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Sassak
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-09-
|
20
|
+
date: 2010-09-22 00:00:00 +02:00
|
21
21
|
default_executable: gherkin
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -504,7 +504,7 @@ rubyforge_project:
|
|
504
504
|
rubygems_version: 1.3.7
|
505
505
|
signing_key:
|
506
506
|
specification_version: 3
|
507
|
-
summary: gherkin-2.2.
|
507
|
+
summary: gherkin-2.2.4
|
508
508
|
test_files:
|
509
509
|
- features/escaped_pipes.feature
|
510
510
|
- features/feature_parser.feature
|