gherkin 1.0.17-java → 1.0.18-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/VERSION.yml +1 -1
- data/ragel/lexer.java.rl.erb +7 -1
- metadata +2 -2
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
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Mike Sassak
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2010-04-
|
14
|
+
date: 2010-04-21 00:00:00 +02:00
|
15
15
|
default_executable: gherkin
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|