gherkin 1.0.17-i386-mingw32 → 1.0.18-i386-mingw32
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.yml +1 -1
- data/ragel/lexer.java.rl.erb +7 -1
- metadata +3 -3
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
data/ragel/lexer.java.rl.erb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
package gherkin.lexer;
|
2
2
|
|
3
|
+
import java.io.UnsupportedEncodingException;
|
3
4
|
import java.util.List;
|
4
5
|
import java.util.ArrayList;
|
5
6
|
import java.util.regex.Pattern;
|
@@ -142,7 +143,12 @@ public class <%= @i18n.underscored_iso_code.upcase %> implements Lexer {
|
|
142
143
|
|
143
144
|
public void scan(CharSequence inputSequence) {
|
144
145
|
String input = inputSequence.toString() + "\n%_FEATURE_END_%";
|
145
|
-
byte[] data =
|
146
|
+
byte[] data = null;
|
147
|
+
try {
|
148
|
+
data = input.getBytes("UTF-8");
|
149
|
+
} catch(UnsupportedEncodingException e) {
|
150
|
+
throw new RuntimeException(e);
|
151
|
+
}
|
146
152
|
int cs, p = 0, pe = data.length;
|
147
153
|
int eof = pe;
|
148
154
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 18
|
9
|
+
version: 1.0.18
|
10
10
|
platform: i386-mingw32
|
11
11
|
authors:
|
12
12
|
- Mike Sassak
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-04-
|
19
|
+
date: 2010-04-21 00:00:00 +02:00
|
20
20
|
default_executable: gherkin
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|