gherkin 2.7.1-java → 2.7.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/History.md +4 -0
- data/README.md +1 -1
- data/gherkin.gemspec +1 -1
- data/lib/gherkin.jar +0 -0
- data/tasks/compile.rake +9 -1
- data/tasks/gems.rake +2 -2
- metadata +25 -25
data/Gemfile
CHANGED
data/History.md
CHANGED
data/README.md
CHANGED
@@ -54,7 +54,7 @@ The jar file is in the central Maven repo.
|
|
54
54
|
<dependency>
|
55
55
|
<groupId>info.cukes</groupId>
|
56
56
|
<artifactId>gherkin</artifactId>
|
57
|
-
<version>2.7.
|
57
|
+
<version>2.7.2</version>
|
58
58
|
</dependency>
|
59
59
|
|
60
60
|
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
|
data/gherkin.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gherkin"
|
5
5
|
# If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
|
6
|
-
s.version = "2.7.
|
6
|
+
s.version = "2.7.2"
|
7
7
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
8
8
|
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
|
9
9
|
s.summary = "#{s.name}-#{s.version}"
|
data/lib/gherkin.jar
CHANGED
Binary file
|
data/tasks/compile.rake
CHANGED
@@ -41,6 +41,14 @@ file "java/src/main/resources/gherkin/I18nKeywords_iw.properties" => "java/src/m
|
|
41
41
|
cp "java/src/main/resources/gherkin/I18nKeywords_he.properties", "java/src/main/resources/gherkin/I18nKeywords_iw.properties"
|
42
42
|
end
|
43
43
|
|
44
|
+
java_i18n_properties = "java/src/main/resources/gherkin/I18n.properties"
|
45
|
+
file java_i18n_properties => 'lib/gherkin/i18n.yml' do
|
46
|
+
File.open(java_i18n_properties, 'wb') do |io|
|
47
|
+
io.puts("# Generated file. Do not edit.")
|
48
|
+
io.puts("i18n.isoCodes=#{langs.map{|i18n| i18n.iso_code}.join(',')}")
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
44
52
|
langs.each do |i18n|
|
45
53
|
java = RagelTask.new('java', i18n)
|
46
54
|
rb = RagelTask.new('rb', i18n)
|
@@ -58,7 +66,7 @@ langs.each do |i18n|
|
|
58
66
|
end
|
59
67
|
end
|
60
68
|
end
|
61
|
-
file 'lib/gherkin.jar' => [java.target, rb.target, java_properties]
|
69
|
+
file 'lib/gherkin.jar' => [java.target, rb.target, java_properties, java_i18n_properties]
|
62
70
|
|
63
71
|
begin
|
64
72
|
if !defined?(JRUBY_VERSION)
|
data/tasks/gems.rake
CHANGED
@@ -6,9 +6,9 @@ namespace :gems do
|
|
6
6
|
end
|
7
7
|
# rvm and mingw ruby versions have to match to avoid errors
|
8
8
|
sh "rvm 1.8.7-p352@cucumber do rake cross compile RUBY_CC_VERSION=1.8.7"
|
9
|
-
sh "rake cross compile RUBY_CC_VERSION=1.9.3"
|
9
|
+
sh "bundle exec rake cross compile RUBY_CC_VERSION=1.9.3"
|
10
10
|
# This will copy the .so files to the proper place
|
11
|
-
sh "rake -t cross compile RUBY_CC_VERSION=1.8.7:1.9.3"
|
11
|
+
sh "bundle exec rake -t cross compile RUBY_CC_VERSION=1.8.7:1.9.3"
|
12
12
|
end
|
13
13
|
|
14
14
|
desc 'Prepare JRuby binares'
|
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: 2.7.
|
4
|
+
version: 2.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: java
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2012-01-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
18
|
-
requirement: &
|
18
|
+
requirement: &2153088200 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 1.4.6
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2153088200
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cucumber
|
29
|
-
requirement: &
|
29
|
+
requirement: &2153086820 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 1.1.4
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2153086820
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &2153080820 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: 0.9.2
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2153080820
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
|
-
requirement: &
|
51
|
+
requirement: &2153066280 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 1.0.21
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2153066280
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rspec
|
62
|
-
requirement: &
|
62
|
+
requirement: &2153065220 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 2.7.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2153065220
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rubyzip
|
73
|
-
requirement: &
|
73
|
+
requirement: &2153063960 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ! '>='
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 0.9.5
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2153063960
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: therubyracer
|
84
|
-
requirement: &
|
84
|
+
requirement: &2153062060 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 0.9.9
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2153062060
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: yard
|
95
|
-
requirement: &
|
95
|
+
requirement: &2153059180 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: 0.7.4
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2153059180
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: rdiscount
|
106
|
-
requirement: &
|
106
|
+
requirement: &2152798780 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 1.6.8
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2152798780
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: term-ansicolor
|
117
|
-
requirement: &
|
117
|
+
requirement: &2152797240 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ! '>='
|
@@ -122,10 +122,10 @@ dependencies:
|
|
122
122
|
version: 1.0.6
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2152797240
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: builder
|
128
|
-
requirement: &
|
128
|
+
requirement: &2152795880 !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ! '>='
|
@@ -133,7 +133,7 @@ dependencies:
|
|
133
133
|
version: 2.1.2
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
|
-
version_requirements: *
|
136
|
+
version_requirements: *2152795880
|
137
137
|
description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
|
138
138
|
email: cukes@googlegroups.com
|
139
139
|
executables: []
|
@@ -300,7 +300,7 @@ rubyforge_project:
|
|
300
300
|
rubygems_version: 1.8.10
|
301
301
|
signing_key:
|
302
302
|
specification_version: 3
|
303
|
-
summary: gherkin-2.7.
|
303
|
+
summary: gherkin-2.7.2
|
304
304
|
test_files:
|
305
305
|
- features/escaped_pipes.feature
|
306
306
|
- features/feature_parser.feature
|