gherkin 2.4.16-java → 2.4.17-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +4 -4
- data/History.md +7 -0
- data/README.md +16 -2
- data/gherkin.gemspec +1 -1
- data/tasks/release.rake +16 -4
- metadata +23 -23
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.17)
|
5
5
|
json (>= 1.4.6)
|
6
6
|
|
7
7
|
GEM
|
@@ -14,9 +14,9 @@ GEM
|
|
14
14
|
gherkin (~> 2.4.5)
|
15
15
|
json (>= 1.4.6)
|
16
16
|
term-ansicolor (>= 1.0.5)
|
17
|
-
diff-lcs (1.1.
|
18
|
-
json (1.5.
|
19
|
-
json (1.5.
|
17
|
+
diff-lcs (1.1.3)
|
18
|
+
json (1.5.4)
|
19
|
+
json (1.5.4-java)
|
20
20
|
rake (0.9.2)
|
21
21
|
rake-compiler (0.7.9)
|
22
22
|
rake
|
data/History.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [2.4.17](https://github.com/cucumber/gherkin/compare/v2.4.16...v2.4.17)
|
2
|
+
|
3
|
+
### New Features
|
4
|
+
|
5
|
+
* Jar file is now deployed to Maven central, making installation a little easier (Aslak Hellesøy)
|
6
|
+
* Both Ruby and Java API docs are on cukes.info. See README for details. (Aslak Hellesøy)
|
7
|
+
|
1
8
|
## [2.4.16](https://github.com/cucumber/gherkin/compare/v2.4.15...v2.4.16)
|
2
9
|
|
3
10
|
### New Features
|
data/README.md
CHANGED
@@ -47,12 +47,25 @@ If this happens, try defining your shell's encoding:
|
|
47
47
|
|
48
48
|
### Java
|
49
49
|
|
50
|
-
|
50
|
+
The jar file is in the central Maven repo.
|
51
|
+
|
52
|
+
<dependency>
|
53
|
+
<groupId>info.cukes</groupId>
|
54
|
+
<artifactId>gherkin</artifactId>
|
55
|
+
<version>2.4.17</version>
|
56
|
+
</dependency>
|
57
|
+
|
58
|
+
You can get it manually from [ibiblio](http://mirrors.ibiblio.org/pub/mirrors/maven2/info/cukes/gherkin) or by searching at [maven central](http://search.maven.org/)
|
51
59
|
|
52
60
|
### .NET
|
53
61
|
|
54
62
|
Get the dll from https://github.com/cucumber/gherkin/downloads
|
55
63
|
|
64
|
+
## API Docs
|
65
|
+
|
66
|
+
* [Ruby](http://cukes.info/gherkin/api/ruby/latest/)
|
67
|
+
* [Java](http://cukes.info/gherkin/api/java/latest/apidocs/index.html)
|
68
|
+
|
56
69
|
## Hacking: Installing the toolchain
|
57
70
|
|
58
71
|
Due to the cross-platform nature of this library, you have to install a lot of tools to build gherkin yourself.
|
@@ -99,7 +112,7 @@ You must install JRuby to build the pure Java jar or the JRuby gem:
|
|
99
112
|
rvm install jruby
|
100
113
|
rvm use jruby
|
101
114
|
rvm gemset create cucumber
|
102
|
-
rvm use
|
115
|
+
rvm gemset use cucumber
|
103
116
|
gem install bundler
|
104
117
|
bundle install
|
105
118
|
|
@@ -189,6 +202,7 @@ Make sure you have openssl installed first.
|
|
189
202
|
|
190
203
|
* Make sure GHERKIN_JS is defined (see Javascript section above)
|
191
204
|
* Bump version in:
|
205
|
+
* This file (Installation/Java section)
|
192
206
|
* gherkin.gemspec
|
193
207
|
* java/pom.xml
|
194
208
|
* ikvm/Gherkin/Gherkin.csproj (2 places)
|
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.17"
|
6
6
|
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
|
7
7
|
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
|
8
8
|
s.summary = "#{s.name}-#{s.version}"
|
data/tasks/release.rake
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
namespace :release do
|
2
2
|
desc 'Upload all packages and tag git'
|
3
|
-
task :ALL => ['gems:sanity', :ikvm, :
|
3
|
+
task :ALL => ['gems:sanity', :ikvm, :mvn_deploy_jar, :mvn_deploy_site, :push_native_gems, :push_npm_package, :release, :push_yard, :symlink_docs, :post_release]
|
4
4
|
|
5
5
|
desc 'Push all gems to rubygems.org (gemcutter)'
|
6
6
|
task :push_native_gems do
|
@@ -13,12 +13,20 @@ namespace :release do
|
|
13
13
|
|
14
14
|
task :post_release => :ikvm do
|
15
15
|
puts "\n\n****** Manually upload gherkin-#{GHERKIN_VERSION}.dll to http://github.com/cucumber/gherkin/downloads ******\n\n"
|
16
|
+
puts "\n\n****** Manually close and release at https://oss.sonatype.org/index.html#stagingRepositories ******\n\n"
|
16
17
|
end
|
17
18
|
|
18
|
-
desc 'Push jar to
|
19
|
-
task :
|
19
|
+
desc 'Push jar to central Maven repo'
|
20
|
+
task :mvn_deploy_jar do
|
20
21
|
Dir.chdir('java') do
|
21
|
-
sh("mvn
|
22
|
+
sh("mvn clean source:jar javadoc:jar deploy")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
desc 'Push javadocs to cukes.info'
|
27
|
+
task :mvn_deploy_site do
|
28
|
+
Dir.chdir('java') do
|
29
|
+
sh("mvn site:site site:deploy")
|
22
30
|
end
|
23
31
|
end
|
24
32
|
|
@@ -33,6 +41,10 @@ namespace :release do
|
|
33
41
|
task :push_yard => :yard do
|
34
42
|
sh("tar czf release/api-#{GHERKIN_VERSION}.tgz -C doc .")
|
35
43
|
sh("scp release/api-#{GHERKIN_VERSION}.tgz cukes.info:/var/www/gherkin/api/ruby")
|
44
|
+
end
|
45
|
+
|
46
|
+
task :symlink_docs do
|
36
47
|
sh("ssh cukes.info 'cd /var/www/gherkin/api/ruby && mkdir #{GHERKIN_VERSION} && tar xzf api-#{GHERKIN_VERSION}.tgz -C #{GHERKIN_VERSION} && rm -f latest && ln -s #{GHERKIN_VERSION} latest'")
|
48
|
+
sh("ssh cukes.info 'cd /var/www/gherkin/api/ruby && rm -f latest && ln -s #{GHERKIN_VERSION} latest'")
|
37
49
|
end
|
38
50
|
end
|
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.4.
|
4
|
+
version: 2.4.17
|
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: 2011-
|
14
|
+
date: 2011-09-04 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
18
|
-
requirement: &
|
18
|
+
requirement: &2164321540 !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: *2164321540
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cucumber
|
29
|
-
requirement: &
|
29
|
+
requirement: &2164321060 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 1.0.2
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2164321060
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &2164320600 !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: *2164320600
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
|
-
requirement: &
|
51
|
+
requirement: &2164320140 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 1.0.18
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2164320140
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rspec
|
62
|
-
requirement: &
|
62
|
+
requirement: &2164319680 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 2.6.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2164319680
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: therubyracer
|
73
|
-
requirement: &
|
73
|
+
requirement: &2164319140 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ! '>='
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 0.9.4
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2164319140
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: yard
|
84
|
-
requirement: &
|
84
|
+
requirement: &2164370900 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: 0.7.2
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2164370900
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rdiscount
|
95
|
-
requirement: &
|
95
|
+
requirement: &2164370440 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: 1.6.8
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2164370440
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: term-ansicolor
|
106
|
-
requirement: &
|
106
|
+
requirement: &2164369980 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,10 +111,10 @@ dependencies:
|
|
111
111
|
version: 1.0.6
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2164369980
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: builder
|
117
|
-
requirement: &
|
117
|
+
requirement: &2164369520 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
120
|
- - ! '>='
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
version: 2.1.2
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
|
-
version_requirements: *
|
125
|
+
version_requirements: *2164369520
|
126
126
|
description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
|
127
127
|
email: cukes@googlegroups.com
|
128
128
|
executables: []
|
@@ -299,7 +299,7 @@ rubyforge_project:
|
|
299
299
|
rubygems_version: 1.8.6
|
300
300
|
signing_key:
|
301
301
|
specification_version: 3
|
302
|
-
summary: gherkin-2.4.
|
302
|
+
summary: gherkin-2.4.17
|
303
303
|
test_files:
|
304
304
|
- features/escaped_pipes.feature
|
305
305
|
- features/feature_parser.feature
|