gherkin 2.2.3-universal-dotnet → 2.2.4-universal-dotnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: universal-dotnet
|
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
|
@@ -314,7 +314,7 @@ rubyforge_project:
|
|
314
314
|
rubygems_version: 1.3.7
|
315
315
|
signing_key:
|
316
316
|
specification_version: 3
|
317
|
-
summary: gherkin-2.2.
|
317
|
+
summary: gherkin-2.2.4
|
318
318
|
test_files:
|
319
319
|
- features/escaped_pipes.feature
|
320
320
|
- features/feature_parser.feature
|