gherkin-ruby 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -1
- data/Readme.md +22 -2
- data/gherkin-ruby.gemspec +3 -2
- data/lib/gherkin_ruby/parser/parser.rb +1 -1
- data/lib/gherkin_ruby/version.rb +1 -1
- metadata +7 -8
- data/.rvmrc +0 -1
data/.travis.yml
CHANGED
data/Readme.md
CHANGED
@@ -1,14 +1,27 @@
|
|
1
1
|
# gherkin-ruby [![Build Status](https://secure.travis-ci.org/codegram/gherkin-ruby.png)](http://travis-ci.org/codegram/gherkin-ruby) [![Dependency Status](https://gemnasium.com/codegram/gherkin-ruby.png)](http://gemnasium.com/codegram/gherkin-ruby)
|
2
2
|
Gherkin-ruby is a pure Ruby implementation of a [Gherkin](http://github.com/cucumber/gherkin) parser.
|
3
3
|
|
4
|
-
Tested with MRI 1.9.
|
4
|
+
Tested with MRI 1.9.3, 2.0.0, head, Rubinius 2.0.0-rc1 and Rubinius head.
|
5
5
|
|
6
|
-
##
|
6
|
+
## WARNING: Will be deprecated after Gherkin 3.0
|
7
|
+
|
8
|
+
A new rewrite of the Gherkin parser used by Cucumber is planned (for version
|
9
|
+
3.0) gherkin-ruby will not add any more features until then, and will
|
10
|
+
eventually be deprecated in favor of Gherkin 3.0.
|
11
|
+
|
12
|
+
## FAQ
|
13
|
+
|
14
|
+
### Why this one over the official, fast, Ragel-based Gherkin parser?
|
7
15
|
|
8
16
|
* Less than 200 LOC.
|
9
17
|
* No Java/.NET crap.
|
10
18
|
* Fast enough for our purposes (using it for the [Spinach](http://github.com/codegram/spinach) project)
|
11
19
|
|
20
|
+
### Why don't you support tables?
|
21
|
+
|
22
|
+
* Because we believe it's a BDD anti-pattern. Tables show the need for more
|
23
|
+
unit tests.
|
24
|
+
|
12
25
|
## Install
|
13
26
|
|
14
27
|
$ gem install gherkin-ruby
|
@@ -76,3 +89,10 @@ visitor.visit(ast)
|
|
76
89
|
|
77
90
|
* Some optimization
|
78
91
|
|
92
|
+
## FAQ
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
## License
|
97
|
+
|
98
|
+
MIT (Expat) License. Copyright 2011-2013 [Codegram Technologies](http://codegram.com)
|
data/gherkin-ruby.gemspec
CHANGED
@@ -13,9 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.rubyforge_project = "gherkin-ruby"
|
15
15
|
|
16
|
-
s.
|
16
|
+
s.add_dependency 'racc'
|
17
|
+
|
17
18
|
s.add_development_dependency 'minitest'
|
18
|
-
s.add_development_dependency '
|
19
|
+
s.add_development_dependency 'rexical'
|
19
20
|
|
20
21
|
s.files = `git ls-files`.split("\n")
|
21
22
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/gherkin_ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,17 +10,17 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: racc
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '0'
|
23
|
-
type: :
|
23
|
+
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: rexical
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
@@ -69,7 +69,6 @@ extensions: []
|
|
69
69
|
extra_rdoc_files: []
|
70
70
|
files:
|
71
71
|
- .gitignore
|
72
|
-
- .rvmrc
|
73
72
|
- .travis.yml
|
74
73
|
- Gemfile
|
75
74
|
- Rakefile
|
@@ -102,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
101
|
version: '0'
|
103
102
|
segments:
|
104
103
|
- 0
|
105
|
-
hash:
|
104
|
+
hash: -4016855378906977099
|
106
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
106
|
none: false
|
108
107
|
requirements:
|
@@ -111,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
110
|
version: '0'
|
112
111
|
segments:
|
113
112
|
- 0
|
114
|
-
hash:
|
113
|
+
hash: -4016855378906977099
|
115
114
|
requirements: []
|
116
115
|
rubyforge_project: gherkin-ruby
|
117
116
|
rubygems_version: 1.8.25
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use --create 1.9.3@gherkin-ruby
|