gherkin 1.0.6-java → 1.0.7-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/gherkin.gemspec +165 -0
- data/tasks/gems.rake +13 -12
- data/tasks/ikvm.rake +3 -1
- metadata +3 -3
- data/nativegems.sh +0 -5
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
data/gherkin.gemspec
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{gherkin}
|
8
|
+
s.version = "1.0.7"
|
9
|
+
s.platform = %q{java}
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Helles\303\270y"]
|
13
|
+
s.date = %q{2010-04-11}
|
14
|
+
s.default_executable = %q{gherkin}
|
15
|
+
s.description = %q{A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.}
|
16
|
+
s.email = %q{cukes@googlegroups.com}
|
17
|
+
s.executables = ["gherkin"]
|
18
|
+
s.extra_rdoc_files = [
|
19
|
+
"LICENSE",
|
20
|
+
"README.rdoc"
|
21
|
+
]
|
22
|
+
s.files = [
|
23
|
+
".gitattributes",
|
24
|
+
".gitignore",
|
25
|
+
".mailmap",
|
26
|
+
"History.txt",
|
27
|
+
"LICENSE",
|
28
|
+
"README.rdoc",
|
29
|
+
"Rakefile",
|
30
|
+
"VERSION.yml",
|
31
|
+
"bin/gherkin",
|
32
|
+
"cucumber.yml",
|
33
|
+
"features/feature_parser.feature",
|
34
|
+
"features/native_lexer.feature",
|
35
|
+
"features/parser_with_native_lexer.feature",
|
36
|
+
"features/pretty_printer.feature",
|
37
|
+
"features/step_definitions/gherkin_steps.rb",
|
38
|
+
"features/step_definitions/pretty_listener_step.rb",
|
39
|
+
"features/steps_parser.feature",
|
40
|
+
"features/support/env.rb",
|
41
|
+
"gherkin.gemspec",
|
42
|
+
"ikvm/.gitignore",
|
43
|
+
"java/.gitignore",
|
44
|
+
"java/src/main/java/gherkin/lexer/.gitignore",
|
45
|
+
"lib/.gitignore",
|
46
|
+
"lib/gherkin.jar",
|
47
|
+
"lib/gherkin.rb",
|
48
|
+
"lib/gherkin/c_lexer.rb",
|
49
|
+
"lib/gherkin/cli/main.rb",
|
50
|
+
"lib/gherkin/core_ext/array.rb",
|
51
|
+
"lib/gherkin/csharp_lexer.rb",
|
52
|
+
"lib/gherkin/formatter/argument.rb",
|
53
|
+
"lib/gherkin/formatter/colors.rb",
|
54
|
+
"lib/gherkin/formatter/monochrome_format.rb",
|
55
|
+
"lib/gherkin/formatter/pretty_listener.rb",
|
56
|
+
"lib/gherkin/i18n.rb",
|
57
|
+
"lib/gherkin/i18n.yml",
|
58
|
+
"lib/gherkin/i18n_lexer.rb",
|
59
|
+
"lib/gherkin/parser/filter_listener.rb",
|
60
|
+
"lib/gherkin/parser/meta.txt",
|
61
|
+
"lib/gherkin/parser/parser.rb",
|
62
|
+
"lib/gherkin/parser/root.txt",
|
63
|
+
"lib/gherkin/parser/sexp.rb",
|
64
|
+
"lib/gherkin/parser/steps.txt",
|
65
|
+
"lib/gherkin/parser/tag_expression.rb",
|
66
|
+
"lib/gherkin/rb_lexer.rb",
|
67
|
+
"lib/gherkin/rb_lexer/.gitignore",
|
68
|
+
"lib/gherkin/rb_lexer/README.rdoc",
|
69
|
+
"lib/gherkin/tools.rb",
|
70
|
+
"lib/gherkin/tools/files.rb",
|
71
|
+
"lib/gherkin/tools/reformat.rb",
|
72
|
+
"lib/gherkin/tools/stats.rb",
|
73
|
+
"lib/gherkin/tools/stats_listener.rb",
|
74
|
+
"ragel/i18n/.gitignore",
|
75
|
+
"ragel/lexer.c.rl.erb",
|
76
|
+
"ragel/lexer.java.rl.erb",
|
77
|
+
"ragel/lexer.rb.rl.erb",
|
78
|
+
"ragel/lexer_common.rl.erb",
|
79
|
+
"spec/gherkin/c_lexer_spec.rb",
|
80
|
+
"spec/gherkin/csharp_lexer_spec.rb",
|
81
|
+
"spec/gherkin/fixtures/1.feature",
|
82
|
+
"spec/gherkin/fixtures/comments_in_table.feature",
|
83
|
+
"spec/gherkin/fixtures/complex.feature",
|
84
|
+
"spec/gherkin/fixtures/dos_line_endings.feature",
|
85
|
+
"spec/gherkin/fixtures/i18n_fr.feature",
|
86
|
+
"spec/gherkin/fixtures/i18n_no.feature",
|
87
|
+
"spec/gherkin/fixtures/i18n_zh-CN.feature",
|
88
|
+
"spec/gherkin/fixtures/simple.feature",
|
89
|
+
"spec/gherkin/fixtures/simple_with_comments.feature",
|
90
|
+
"spec/gherkin/fixtures/simple_with_tags.feature",
|
91
|
+
"spec/gherkin/formatter/argument_spec.rb",
|
92
|
+
"spec/gherkin/formatter/colors_spec.rb",
|
93
|
+
"spec/gherkin/formatter/pretty_listener_spec.rb",
|
94
|
+
"spec/gherkin/i18n_lexer_spec.rb",
|
95
|
+
"spec/gherkin/i18n_spec.rb",
|
96
|
+
"spec/gherkin/java_lexer_spec.rb",
|
97
|
+
"spec/gherkin/parser/filter_listener_spec.rb",
|
98
|
+
"spec/gherkin/parser/parser_spec.rb",
|
99
|
+
"spec/gherkin/parser/tag_expression_spec.rb",
|
100
|
+
"spec/gherkin/rb_lexer_spec.rb",
|
101
|
+
"spec/gherkin/sexp_recorder.rb",
|
102
|
+
"spec/gherkin/shared/lexer_spec.rb",
|
103
|
+
"spec/gherkin/shared/py_string_spec.rb",
|
104
|
+
"spec/gherkin/shared/row_spec.rb",
|
105
|
+
"spec/gherkin/shared/tags_spec.rb",
|
106
|
+
"spec/spec_helper.rb",
|
107
|
+
"tasks/bench.rake",
|
108
|
+
"tasks/bench/feature_builder.rb",
|
109
|
+
"tasks/bench/generated/.gitignore",
|
110
|
+
"tasks/bench/null_listener.rb",
|
111
|
+
"tasks/compile.rake",
|
112
|
+
"tasks/cucumber.rake",
|
113
|
+
"tasks/gems.rake",
|
114
|
+
"tasks/ikvm.rake",
|
115
|
+
"tasks/ragel_task.rb",
|
116
|
+
"tasks/rdoc.rake",
|
117
|
+
"tasks/release.rake",
|
118
|
+
"tasks/rspec.rake"
|
119
|
+
]
|
120
|
+
s.homepage = %q{http://github.com/aslakhellesoy/gherkin}
|
121
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
122
|
+
s.require_paths = ["lib"]
|
123
|
+
s.rubygems_version = %q{1.3.5}
|
124
|
+
s.summary = %q{Fast Gherkin lexer/parser}
|
125
|
+
s.test_files = [
|
126
|
+
"spec/spec_helper.rb",
|
127
|
+
"spec/gherkin/c_lexer_spec.rb",
|
128
|
+
"spec/gherkin/csharp_lexer_spec.rb",
|
129
|
+
"spec/gherkin/i18n_lexer_spec.rb",
|
130
|
+
"spec/gherkin/i18n_spec.rb",
|
131
|
+
"spec/gherkin/java_lexer_spec.rb",
|
132
|
+
"spec/gherkin/rb_lexer_spec.rb",
|
133
|
+
"spec/gherkin/sexp_recorder.rb",
|
134
|
+
"spec/gherkin/formatter/argument_spec.rb",
|
135
|
+
"spec/gherkin/formatter/colors_spec.rb",
|
136
|
+
"spec/gherkin/formatter/pretty_listener_spec.rb",
|
137
|
+
"spec/gherkin/parser/filter_listener_spec.rb",
|
138
|
+
"spec/gherkin/parser/parser_spec.rb",
|
139
|
+
"spec/gherkin/parser/tag_expression_spec.rb",
|
140
|
+
"spec/gherkin/shared/lexer_spec.rb",
|
141
|
+
"spec/gherkin/shared/py_string_spec.rb",
|
142
|
+
"spec/gherkin/shared/row_spec.rb",
|
143
|
+
"spec/gherkin/shared/tags_spec.rb"
|
144
|
+
]
|
145
|
+
|
146
|
+
if s.respond_to? :specification_version then
|
147
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
148
|
+
s.specification_version = 3
|
149
|
+
|
150
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
151
|
+
s.add_runtime_dependency(%q<trollop>, [">= 1.15"])
|
152
|
+
s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
|
153
|
+
s.add_development_dependency(%q<cucumber>, [">= 0.6.4"])
|
154
|
+
else
|
155
|
+
s.add_dependency(%q<trollop>, [">= 1.15"])
|
156
|
+
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
157
|
+
s.add_dependency(%q<cucumber>, [">= 0.6.4"])
|
158
|
+
end
|
159
|
+
else
|
160
|
+
s.add_dependency(%q<trollop>, [">= 1.15"])
|
161
|
+
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
162
|
+
s.add_dependency(%q<cucumber>, [">= 0.6.4"])
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
data/tasks/gems.rake
CHANGED
@@ -1,24 +1,25 @@
|
|
1
1
|
namespace :gems do
|
2
|
-
desc
|
3
|
-
task :jruby => :release_dir do
|
4
|
-
sh "rvm jruby rake clean spec gemspec build PLATFORM=java"
|
5
|
-
mv "pkg/gherkin-#{GHERKIN_VERSION}-java.gem", 'release'
|
6
|
-
end
|
7
|
-
|
8
|
-
desc "Release MRI/C POSIX gem"
|
2
|
+
desc "Build MRI/C POSIX gem"
|
9
3
|
task :posix => :release_dir do
|
10
|
-
sh "
|
4
|
+
sh "rake clean spec gemspec build"
|
11
5
|
mv "pkg/gherkin-#{GHERKIN_VERSION}.gem", 'release'
|
12
6
|
end
|
13
7
|
|
14
8
|
[:mswin32, :mingw32].each do |win_compiler|
|
15
|
-
desc "
|
16
|
-
task win_compiler
|
17
|
-
sh "
|
9
|
+
desc "Build MRI/C precompiled #{win_compiler} gem"
|
10
|
+
task win_compiler do
|
11
|
+
sh "rake cross compile RUBY_CC_VERSION=1.8.6"
|
12
|
+
sh "rake gemspec build PLATFORM=i386-#{win_compiler}"
|
18
13
|
mv "pkg/gherkin-#{GHERKIN_VERSION}-x86-#{win_compiler}.gem", 'release'
|
19
14
|
end
|
20
15
|
end
|
21
16
|
|
17
|
+
desc 'Build JRuby gem'
|
18
|
+
task :jruby => :release_dir do
|
19
|
+
sh "rvm jruby rake spec gemspec build PLATFORM=java"
|
20
|
+
mv "pkg/gherkin-#{GHERKIN_VERSION}-java.gem", 'release'
|
21
|
+
end
|
22
|
+
|
22
23
|
task :release_dir do
|
23
24
|
mkdir 'release' unless File.directory?('release')
|
24
25
|
end
|
@@ -28,4 +29,4 @@ namespace :gems do
|
|
28
29
|
end
|
29
30
|
end
|
30
31
|
|
31
|
-
task :gems => ['gems:clean_release_dir', 'gems:
|
32
|
+
task :gems => ['gems:clean_release_dir', 'gems:posix', 'gems:mswin32', 'gems:mingw32', 'gems:jruby']
|
data/tasks/ikvm.rake
CHANGED
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.7
|
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-11 00:00:00 +02:00
|
15
15
|
default_executable: gherkin
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- features/step_definitions/pretty_listener_step.rb
|
73
73
|
- features/steps_parser.feature
|
74
74
|
- features/support/env.rb
|
75
|
+
- gherkin.gemspec
|
75
76
|
- ikvm/.gitignore
|
76
77
|
- java/.gitignore
|
77
78
|
- java/src/main/java/gherkin/lexer/.gitignore
|
@@ -104,7 +105,6 @@ files:
|
|
104
105
|
- lib/gherkin/tools/reformat.rb
|
105
106
|
- lib/gherkin/tools/stats.rb
|
106
107
|
- lib/gherkin/tools/stats_listener.rb
|
107
|
-
- nativegems.sh
|
108
108
|
- ragel/i18n/.gitignore
|
109
109
|
- ragel/lexer.c.rl.erb
|
110
110
|
- ragel/lexer.java.rl.erb
|