gherkin 2.3.8-x86-mswin32 → 2.3.9-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/README.rdoc +1 -0
- data/gherkin.gemspec +3 -3
- data/ragel/lexer.js.rl.erb +5 -3
- data/spec/gherkin/js_lexer_spec.rb +1 -1
- metadata +5 -5
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -165,6 +165,7 @@ Make sure you have openssl installed first.
|
|
165
165
|
** js/package.json
|
166
166
|
* Commit changes.
|
167
167
|
* rake gems:prepare && ./build_native_gems.sh && rake release:ALL
|
168
|
+
** The specs intermittently fail with a segfault from therubyracer. Running specs can be disabled with SKIP_JS_SPECS=true
|
168
169
|
* Announce on Cucumber list, IRC and Twitter.
|
169
170
|
|
170
171
|
== Note on Patches/Pull Requests
|
data/gherkin.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gherkin"
|
5
|
-
s.version = "2.3.
|
5
|
+
s.version = "2.3.9"
|
6
6
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
7
7
|
s.description = "A fast Gherkin lexer/parser for based on the Ragel State Machine Compiler."
|
8
8
|
s.summary = "#{s.name}-#{s.version}"
|
@@ -48,8 +48,8 @@ Gem::Specification.new do |s|
|
|
48
48
|
|
49
49
|
s.add_dependency('json', '>= 1.4.6')
|
50
50
|
|
51
|
-
s.add_development_dependency('cucumber', '>= 0.10.
|
52
|
-
s.add_development_dependency('rake', '
|
51
|
+
s.add_development_dependency('cucumber', '>= 0.10.3')
|
52
|
+
s.add_development_dependency('rake', '= 0.8.7')
|
53
53
|
s.add_development_dependency('bundler', '>= 1.0.13')
|
54
54
|
s.add_development_dependency('rspec', '>= 2.5.0')
|
55
55
|
s.add_development_dependency('awesome_print', '>= 0.3')
|
data/ragel/lexer.js.rl.erb
CHANGED
@@ -198,11 +198,13 @@ Lexer.prototype.current_line_content = function(data, p) {
|
|
198
198
|
return this.bytesToString(rest.slice(0, end)).trim();
|
199
199
|
};
|
200
200
|
|
201
|
-
|
201
|
+
// Node.js export
|
202
|
+
if(typeof exports !== 'undefined') {
|
202
203
|
exports.Lexer = Lexer;
|
203
204
|
}
|
204
|
-
|
205
|
-
|
205
|
+
// Require.js export
|
206
|
+
if (typeof define !== 'undefined' && define.amd) {
|
207
|
+
define('gherkin/lexer/<%= @i18n.underscored_iso_code %>', [], function() {return Lexer});
|
206
208
|
}
|
207
209
|
|
208
210
|
})();
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#encoding: utf-8
|
2
|
-
if !defined?(JRUBY_VERSION) && !(defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby") && ENV['GHERKIN_JS']
|
2
|
+
if !defined?(JRUBY_VERSION) && !(defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby") && ENV['GHERKIN_JS'] && !ENV['SKIP_JS_SPECS']
|
3
3
|
require 'spec_helper'
|
4
4
|
require 'gherkin/js_lexer'
|
5
5
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gherkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.3.
|
5
|
+
version: 2.3.9
|
6
6
|
platform: x86-mswin32
|
7
7
|
authors:
|
8
8
|
- Mike Sassak
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2011-05-
|
15
|
+
date: 2011-05-23 00:00:00 +01:00
|
16
16
|
default_executable: gherkin
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.10.
|
37
|
+
version: 0.10.3
|
38
38
|
type: :development
|
39
39
|
version_requirements: *id002
|
40
40
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirement: &id003 !ruby/object:Gem::Requirement
|
44
44
|
none: false
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 0.8.7
|
49
49
|
type: :development
|
@@ -372,7 +372,7 @@ rubyforge_project:
|
|
372
372
|
rubygems_version: 1.6.2
|
373
373
|
signing_key:
|
374
374
|
specification_version: 3
|
375
|
-
summary: gherkin-2.3.
|
375
|
+
summary: gherkin-2.3.9
|
376
376
|
test_files:
|
377
377
|
- features/escaped_pipes.feature
|
378
378
|
- features/feature_parser.feature
|