aslakhellesoy-gherkin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +8 -0
- data/LICENSE +20 -0
- data/README.rdoc +37 -0
- data/Rakefile +25 -0
- data/VERSION.yml +4 -0
- data/ext/gherkin/extconf.rb +6 -0
- data/gherkin.gemspec +82 -0
- data/lib/gherkin.rb +1 -0
- data/lib/gherkin/i18n.yml +561 -0
- data/lib/gherkin/parser.rb +11 -0
- data/lib/gherkin/parser/.preserve +0 -0
- data/ragel/feature.rb.rl.erb +117 -0
- data/ragel/feature_common.rl.erb +37 -0
- data/ragel/misc.c.rl +4 -0
- data/ragel/misc.rb.rl +52 -0
- data/ragel/table.rb.rl +54 -0
- data/ragel/table_common.rl +12 -0
- data/spec/gherkin/feature_spec.rb +439 -0
- data/spec/gherkin/gherkin_parser/complex.feature +23 -0
- data/spec/gherkin/gherkin_parser/i18n_no.feature +6 -0
- data/spec/gherkin/gherkin_parser/simple.feature +3 -0
- data/spec/gherkin/gherkin_parser/simple_with_comments.feature +7 -0
- data/spec/gherkin/gherkin_parser/simple_with_tags.feature +5 -0
- data/spec/gherkin/i18n_spec.rb +28 -0
- data/spec/gherkin/multiline_step_args_spec.rb +98 -0
- data/spec/gherkin/sexp_recorder.rb +15 -0
- data/spec/gherkin/table_spec.rb +83 -0
- data/spec/gherkin/tags_spec.rb +57 -0
- data/spec/spec_helper.rb +10 -0
- data/tasks/ext.rake +35 -0
- data/tasks/ragel.rake +81 -0
- data/tasks/rdoc.rake +14 -0
- data/tasks/rspec.rake +16 -0
- metadata +102 -0
data/tasks/rdoc.rake
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rake/rdoctask'
|
2
|
+
|
3
|
+
Rake::RDocTask.new do |rdoc|
|
4
|
+
if File.exist?('VERSION')
|
5
|
+
version = File.read('VERSION')
|
6
|
+
else
|
7
|
+
version = ""
|
8
|
+
end
|
9
|
+
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = "gherkin #{version}"
|
12
|
+
rdoc.rdoc_files.include('README*')
|
13
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
14
|
+
end
|
data/tasks/rspec.rake
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec/rake/spectask'
|
2
|
+
|
3
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
4
|
+
spec.libs << 'lib' << 'spec'
|
5
|
+
spec.spec_opts << '--color'
|
6
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
7
|
+
end
|
8
|
+
|
9
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
10
|
+
spec.libs << 'lib' << 'spec'
|
11
|
+
spec.spec_opts << '--color'
|
12
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
13
|
+
spec.rcov = true
|
14
|
+
end
|
15
|
+
|
16
|
+
task :spec => [:check_dependencies, "ragel:rb"]
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aslakhellesoy-gherkin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- "Aslak Helles\xC3\xB8y"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-09-12 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rspec
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description: A fast Gherkin parser in Ragel
|
26
|
+
email: aslak.hellesoy@gmail.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- LICENSE
|
33
|
+
- README.rdoc
|
34
|
+
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
37
|
+
- LICENSE
|
38
|
+
- README.rdoc
|
39
|
+
- Rakefile
|
40
|
+
- VERSION.yml
|
41
|
+
- ext/gherkin/extconf.rb
|
42
|
+
- gherkin.gemspec
|
43
|
+
- lib/gherkin.rb
|
44
|
+
- lib/gherkin/i18n.yml
|
45
|
+
- lib/gherkin/parser.rb
|
46
|
+
- lib/gherkin/parser/.preserve
|
47
|
+
- ragel/feature.rb.rl.erb
|
48
|
+
- ragel/feature_common.rl.erb
|
49
|
+
- ragel/misc.c.rl
|
50
|
+
- ragel/misc.rb.rl
|
51
|
+
- ragel/table.rb.rl
|
52
|
+
- ragel/table_common.rl
|
53
|
+
- spec/gherkin/feature_spec.rb
|
54
|
+
- spec/gherkin/gherkin_parser/complex.feature
|
55
|
+
- spec/gherkin/gherkin_parser/i18n_no.feature
|
56
|
+
- spec/gherkin/gherkin_parser/simple.feature
|
57
|
+
- spec/gherkin/gherkin_parser/simple_with_comments.feature
|
58
|
+
- spec/gherkin/gherkin_parser/simple_with_tags.feature
|
59
|
+
- spec/gherkin/i18n_spec.rb
|
60
|
+
- spec/gherkin/multiline_step_args_spec.rb
|
61
|
+
- spec/gherkin/sexp_recorder.rb
|
62
|
+
- spec/gherkin/table_spec.rb
|
63
|
+
- spec/gherkin/tags_spec.rb
|
64
|
+
- spec/spec_helper.rb
|
65
|
+
- tasks/ext.rake
|
66
|
+
- tasks/ragel.rake
|
67
|
+
- tasks/rdoc.rake
|
68
|
+
- tasks/rspec.rake
|
69
|
+
has_rdoc: false
|
70
|
+
homepage: http://github.com/aslakhellesoy/gherkin
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options:
|
73
|
+
- --charset=UTF-8
|
74
|
+
require_paths:
|
75
|
+
- lib
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: "0"
|
81
|
+
version:
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
version:
|
88
|
+
requirements: []
|
89
|
+
|
90
|
+
rubyforge_project:
|
91
|
+
rubygems_version: 1.2.0
|
92
|
+
signing_key:
|
93
|
+
specification_version: 3
|
94
|
+
summary: Fast Gherkin parser
|
95
|
+
test_files:
|
96
|
+
- spec/gherkin/feature_spec.rb
|
97
|
+
- spec/gherkin/i18n_spec.rb
|
98
|
+
- spec/gherkin/multiline_step_args_spec.rb
|
99
|
+
- spec/gherkin/sexp_recorder.rb
|
100
|
+
- spec/gherkin/table_spec.rb
|
101
|
+
- spec/gherkin/tags_spec.rb
|
102
|
+
- spec/spec_helper.rb
|