gherkin 2.4.5-universal-dotnet → 2.4.6-universal-dotnet
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +6 -6
- data/History.md +6 -0
- data/gherkin.gemspec +3 -3
- data/lib/gherkin/c_lexer.rb +1 -1
- data/lib/gherkin/formatter/model.rb +1 -1
- data/lib/gherkin/i18n.yml +13 -0
- data/lib/gherkin/listener/formatter_listener.rb +1 -1
- data/ragel/lexer.js.rl.erb +1 -1
- data/spec/gherkin/i18n_spec.rb +1 -0
- data/tasks/gems.rake +1 -1
- metadata +104 -108
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gherkin (2.4.
|
4
|
+
gherkin (2.4.6)
|
5
5
|
json (>= 1.4.6)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,10 +9,10 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
awesome_print (0.4.0)
|
11
11
|
builder (3.0.0)
|
12
|
-
cucumber (1.0.
|
12
|
+
cucumber (1.0.2)
|
13
13
|
builder (>= 2.1.2)
|
14
14
|
diff-lcs (>= 1.1.2)
|
15
|
-
gherkin (~> 2.4.
|
15
|
+
gherkin (~> 2.4.5)
|
16
16
|
json (>= 1.4.6)
|
17
17
|
term-ansicolor (>= 1.0.5)
|
18
18
|
diff-lcs (1.1.2)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
rspec-expectations (2.6.0)
|
30
30
|
diff-lcs (~> 1.1.2)
|
31
31
|
rspec-mocks (2.6.0)
|
32
|
-
term-ansicolor (1.0.
|
32
|
+
term-ansicolor (1.0.6)
|
33
33
|
|
34
34
|
PLATFORMS
|
35
35
|
java
|
@@ -39,9 +39,9 @@ DEPENDENCIES
|
|
39
39
|
awesome_print (>= 0.4.0)
|
40
40
|
builder (>= 2.1.2)
|
41
41
|
bundler (>= 1.0.15)
|
42
|
-
cucumber (>= 1.0.
|
42
|
+
cucumber (>= 1.0.2)
|
43
43
|
gherkin!
|
44
44
|
rake (>= 0.9.2)
|
45
45
|
rake-compiler (>= 0.7.8)
|
46
46
|
rspec (>= 2.6.0)
|
47
|
-
term-ansicolor (>= 1.0.
|
47
|
+
term-ansicolor (>= 1.0.6)
|
data/History.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [2.4.6](https://github.com/cucumber/gherkin/compare/v2.4.5...v2.4.6)
|
2
|
+
|
3
|
+
### Bugfixes
|
4
|
+
* Added Icelandic translation (Ægir Örn Símonarson)
|
5
|
+
* JavaScript: String prototype has no "trimRight" function. Fixes failure in Opera. (Julien Biezemans)
|
6
|
+
|
1
7
|
## [2.4.5](https://github.com/cucumber/gherkin/compare/v2.4.4...v2.4.5)
|
2
8
|
|
3
9
|
No changes, releasing again since the 2.4.4 release failed halfway through.
|
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.4.
|
5
|
+
s.version = "2.4.6"
|
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}"
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
|
|
44
44
|
|
45
45
|
s.add_dependency('json', '>= 1.4.6')
|
46
46
|
|
47
|
-
s.add_development_dependency('cucumber', '>= 1.0.
|
47
|
+
s.add_development_dependency('cucumber', '>= 1.0.2')
|
48
48
|
s.add_development_dependency('rake', '>= 0.9.2')
|
49
49
|
s.add_development_dependency('bundler', '>= 1.0.15')
|
50
50
|
s.add_development_dependency('rspec', '>= 2.6.0')
|
@@ -58,6 +58,6 @@ Gem::Specification.new do |s|
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Only needed by Cucumber. Remove when Cucumber no longer needs those.
|
61
|
-
s.add_development_dependency('term-ansicolor', '>= 1.0.
|
61
|
+
s.add_development_dependency('term-ansicolor', '>= 1.0.6')
|
62
62
|
s.add_development_dependency('builder', '>= 2.1.2')
|
63
63
|
end
|
data/lib/gherkin/c_lexer.rb
CHANGED
@@ -4,7 +4,7 @@ module Gherkin
|
|
4
4
|
module CLexer
|
5
5
|
def self.[](i18n_underscored_iso_code)
|
6
6
|
begin
|
7
|
-
prefix =
|
7
|
+
prefix = RbConfig::CONFIG['arch'] =~ /mswin|mingw/ ? "#{RbConfig::CONFIG['MAJOR']}.#{RbConfig::CONFIG['MINOR']}/" : ''
|
8
8
|
lib = "#{prefix}gherkin_lexer_#{i18n_underscored_iso_code}"
|
9
9
|
require lib
|
10
10
|
const_get(i18n_underscored_iso_code.capitalize)
|
@@ -99,7 +99,7 @@ module Gherkin
|
|
99
99
|
|
100
100
|
attr_accessor :rows
|
101
101
|
|
102
|
-
def initialize(comments, tags, keyword, name, description, line, rows
|
102
|
+
def initialize(comments, tags, keyword, name, description, line, rows)
|
103
103
|
super(comments, tags, keyword, name, description, line)
|
104
104
|
@rows = rows
|
105
105
|
end
|
data/lib/gherkin/i18n.yml
CHANGED
@@ -300,6 +300,19 @@
|
|
300
300
|
then: "*|Maka"
|
301
301
|
and: "*|Dan"
|
302
302
|
but: "*|Tapi"
|
303
|
+
"is":
|
304
|
+
name: Icelandic
|
305
|
+
native: Íslenska
|
306
|
+
feature: Eiginleiki
|
307
|
+
background: Bakgrunnur
|
308
|
+
scenario: Atburðarás
|
309
|
+
scenario_outline: Lýsing Atburðarásar|Lýsing Dæma
|
310
|
+
examples: Dæmi|Atburðarásir
|
311
|
+
given: "*|Ef"
|
312
|
+
when: "*|Þegar"
|
313
|
+
then: "*|Þá"
|
314
|
+
and: "*|Og"
|
315
|
+
but: "*|En"
|
303
316
|
"it":
|
304
317
|
name: Italian
|
305
318
|
native: italiano
|
@@ -44,7 +44,7 @@ module Gherkin
|
|
44
44
|
|
45
45
|
def examples(keyword, name, description, line)
|
46
46
|
replay_step_or_examples
|
47
|
-
@examples_statement = Formatter::Model::Examples.new(grab_comments!, grab_tags!, keyword, name, description, line)
|
47
|
+
@examples_statement = Formatter::Model::Examples.new(grab_comments!, grab_tags!, keyword, name, description, line, nil)
|
48
48
|
end
|
49
49
|
|
50
50
|
def step(keyword, name, line)
|
data/ragel/lexer.js.rl.erb
CHANGED
@@ -181,7 +181,7 @@ Lexer.prototype.unindent = function(startcol, text) {
|
|
181
181
|
|
182
182
|
Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
|
183
183
|
var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
|
184
|
-
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).
|
184
|
+
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).replace(/\s+$/,"");
|
185
185
|
var content_lines = content.split("\n")
|
186
186
|
var name = content_lines.shift() || "";
|
187
187
|
name = name.trim();
|
data/spec/gherkin/i18n_spec.rb
CHANGED
data/tasks/gems.rake
CHANGED
metadata
CHANGED
@@ -1,149 +1,146 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.4.6
|
4
5
|
prerelease:
|
5
|
-
version: 2.4.5
|
6
6
|
platform: universal-dotnet
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Mike Sassak
|
9
9
|
- Gregory Hnatiuk
|
10
|
-
-
|
10
|
+
- Aslak Hellesøy
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
|
15
|
-
|
16
|
-
dependencies:
|
17
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2011-08-07 00:00:00.000000000 +01:00
|
15
|
+
default_executable:
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
18
|
name: json
|
19
|
-
|
20
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
requirement: &2160228920 !ruby/object:Gem::Requirement
|
21
20
|
none: false
|
22
|
-
requirements:
|
23
|
-
- -
|
24
|
-
- !ruby/object:Gem::Version
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
25
24
|
version: 1.4.6
|
26
25
|
type: :runtime
|
27
|
-
version_requirements: *id001
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: cucumber
|
30
26
|
prerelease: false
|
31
|
-
|
27
|
+
version_requirements: *2160228920
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: cucumber
|
30
|
+
requirement: &2160302140 !ruby/object:Gem::Requirement
|
32
31
|
none: false
|
33
|
-
requirements:
|
34
|
-
- -
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 1.0.
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.0.2
|
37
36
|
type: :development
|
38
|
-
version_requirements: *id002
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: rake
|
41
37
|
prerelease: false
|
42
|
-
|
38
|
+
version_requirements: *2160302140
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: rake
|
41
|
+
requirement: &2160301680 !ruby/object:Gem::Requirement
|
43
42
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
47
46
|
version: 0.9.2
|
48
47
|
type: :development
|
49
|
-
version_requirements: *id003
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: bundler
|
52
48
|
prerelease: false
|
53
|
-
|
49
|
+
version_requirements: *2160301680
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: bundler
|
52
|
+
requirement: &2160301220 !ruby/object:Gem::Requirement
|
54
53
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
58
57
|
version: 1.0.15
|
59
58
|
type: :development
|
60
|
-
version_requirements: *id004
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: rspec
|
63
59
|
prerelease: false
|
64
|
-
|
60
|
+
version_requirements: *2160301220
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rspec
|
63
|
+
requirement: &2160300760 !ruby/object:Gem::Requirement
|
65
64
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
69
68
|
version: 2.6.0
|
70
69
|
type: :development
|
71
|
-
version_requirements: *id005
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: awesome_print
|
74
70
|
prerelease: false
|
75
|
-
|
71
|
+
version_requirements: *2160300760
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: awesome_print
|
74
|
+
requirement: &2160300300 !ruby/object:Gem::Requirement
|
76
75
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
80
79
|
version: 0.4.0
|
81
80
|
type: :development
|
82
|
-
version_requirements: *id006
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: therubyracer
|
85
81
|
prerelease: false
|
86
|
-
|
82
|
+
version_requirements: *2160300300
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: therubyracer
|
85
|
+
requirement: &2160299760 !ruby/object:Gem::Requirement
|
87
86
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
91
90
|
version: 0.9.2
|
92
91
|
type: :development
|
93
|
-
version_requirements: *id007
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: yard
|
96
92
|
prerelease: false
|
97
|
-
|
93
|
+
version_requirements: *2160299760
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: yard
|
96
|
+
requirement: &2160299300 !ruby/object:Gem::Requirement
|
98
97
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
102
101
|
version: 0.7.2
|
103
102
|
type: :development
|
104
|
-
version_requirements: *id008
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: rdiscount
|
107
103
|
prerelease: false
|
108
|
-
|
104
|
+
version_requirements: *2160299300
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rdiscount
|
107
|
+
requirement: &2160298840 !ruby/object:Gem::Requirement
|
109
108
|
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
113
112
|
version: 1.6.8
|
114
113
|
type: :development
|
115
|
-
version_requirements: *id009
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
name: term-ansicolor
|
118
114
|
prerelease: false
|
119
|
-
|
115
|
+
version_requirements: *2160298840
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: term-ansicolor
|
118
|
+
requirement: &2160298380 !ruby/object:Gem::Requirement
|
120
119
|
none: false
|
121
|
-
requirements:
|
122
|
-
- -
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 1.0.
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 1.0.6
|
125
124
|
type: :development
|
126
|
-
version_requirements: *id010
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: builder
|
129
125
|
prerelease: false
|
130
|
-
|
126
|
+
version_requirements: *2160298380
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: builder
|
129
|
+
requirement: &2160297920 !ruby/object:Gem::Requirement
|
131
130
|
none: false
|
132
|
-
requirements:
|
133
|
-
- -
|
134
|
-
- !ruby/object:Gem::Version
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
135
134
|
version: 2.1.2
|
136
135
|
type: :development
|
137
|
-
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: *2160297920
|
138
138
|
description: A fast Gherkin lexer/parser for based on the Ragel State Machine Compiler.
|
139
139
|
email: cukes@googlegroups.com
|
140
140
|
executables: []
|
141
|
-
|
142
141
|
extensions: []
|
143
|
-
|
144
142
|
extra_rdoc_files: []
|
145
|
-
|
146
|
-
files:
|
143
|
+
files:
|
147
144
|
- .gitattributes
|
148
145
|
- .gitignore
|
149
146
|
- .gitmodules
|
@@ -291,34 +288,33 @@ files:
|
|
291
288
|
- lib/IKVM.OpenJDK.Security.dll
|
292
289
|
- lib/IKVM.OpenJDK.Text.dll
|
293
290
|
- lib/IKVM.Runtime.dll
|
291
|
+
has_rdoc: true
|
294
292
|
homepage: http://github.com/cucumber/gherkin
|
295
293
|
licenses: []
|
296
|
-
|
297
294
|
post_install_message:
|
298
|
-
rdoc_options:
|
295
|
+
rdoc_options:
|
299
296
|
- --charset=UTF-8
|
300
|
-
require_paths:
|
297
|
+
require_paths:
|
301
298
|
- lib
|
302
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
299
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
303
300
|
none: false
|
304
|
-
requirements:
|
305
|
-
- -
|
306
|
-
- !ruby/object:Gem::Version
|
307
|
-
version:
|
308
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
301
|
+
requirements:
|
302
|
+
- - ! '>='
|
303
|
+
- !ruby/object:Gem::Version
|
304
|
+
version: '0'
|
305
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
309
306
|
none: false
|
310
|
-
requirements:
|
311
|
-
- -
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version:
|
307
|
+
requirements:
|
308
|
+
- - ! '>='
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '0'
|
314
311
|
requirements: []
|
315
|
-
|
316
312
|
rubyforge_project:
|
317
|
-
rubygems_version: 1.
|
313
|
+
rubygems_version: 1.6.2
|
318
314
|
signing_key:
|
319
315
|
specification_version: 3
|
320
|
-
summary: gherkin-2.4.
|
321
|
-
test_files:
|
316
|
+
summary: gherkin-2.4.6
|
317
|
+
test_files:
|
322
318
|
- features/escaped_pipes.feature
|
323
319
|
- features/feature_parser.feature
|
324
320
|
- features/json_formatter.feature
|