public
Description: A fast Gherkin parser in Ragel
Homepage:
Clone URL: git://github.com/aslakhellesoy/gherkin.git
name age message
file .gitignore Wed Nov 25 13:15:05 -0800 2009 i18n on C is working (on 1.8.7, not 1.9). Compi... [aslakhellesoy]
file .mailmap Thu Dec 03 07:17:50 -0800 2009 Map emails [aslakhellesoy]
file History.txt Tue Dec 15 23:01:40 -0800 2009 Add History.txt [Mike Sassak]
file LICENSE Fri Sep 11 18:57:39 -0700 2009 Build tweaks [aslakhellesoy]
file README.rdoc Tue Dec 01 15:59:29 -0800 2009 Cleanup [aslakhellesoy]
file Rakefile Mon Dec 21 07:18:49 -0800 2009 Update i18n.yml from cucumber [aslakhellesoy]
file VERSION.yml Tue Dec 01 14:57:39 -0800 2009 Add gherkin-purdy - it prettifies your feature ... [aslakhellesoy]
directory bin/ Tue Dec 01 14:57:39 -0800 2009 Add gherkin-purdy - it prettifies your feature ... [aslakhellesoy]
file cucumber.yml Tue Nov 24 10:08:24 -0800 2009 Let's turn on pretty now that we have a table d... [aslakhellesoy]
directory features/ Tue Dec 01 15:15:20 -0800 2009 prettified with gherkin-purdy. dogfood o'hoi [aslakhellesoy]
file gherkin.gemspec Mon Dec 21 07:16:18 -0800 2009 Update gemspec [aslakhellesoy]
directory java/ Mon Dec 21 07:15:42 -0800 2009 Use faster (unsynchronized) StringBuilder [aslakhellesoy]
directory lib/ Tue Dec 22 00:03:35 -0800 2009 add missing require [aslakhellesoy]
file nativegems.sh Thu Dec 03 07:20:17 -0800 2009 Use 'java' as platform so gem is picked up for ... [aslakhellesoy]
directory ragel/ Thu Dec 03 07:29:14 -0800 2009 Fix formatting [aslakhellesoy]
directory spec/ Tue Dec 15 22:46:30 -0800 2009 Store last scanned language on the I18nLexer Ad... [Mike Sassak]
directory tasks/ Tue Dec 01 16:08:30 -0800 2009 remove unneded task dep [aslakhellesoy]
README.rdoc

Gherkin

Fast Gherkin lexer and parser based on Ragel. Gherkin is two things:

  • The language that has evolved out of the Cucumber project.
  • This library

Running RSpec and Cucumber tests

rake clean spec cucumber

Release process

  • Run "rake clean spec cucumber" for each platform (1.8.6, 1.8.7, 1.9, jruby) to make sure all is green.
  • rvm 1.8.7
  • Bump version in the VERSION file
  • rake clean jar compile
  • rake gemspec
  • git commit -a -m "Release vX.Y.Z"
  • rake release
  • ./nativegems.sh
  • gem push pkg/… (for each native gem)

Note on Patches/Pull Requests

  • Fork the project.
  • Run rake ragel:rb to generate all the I18N lexers
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Commit, do not mess with Rakefile, VERSION, or History.txt. (if you want to have your own version, that is fine but
     bump version in a commit by itself I can ignore when I pull)
    
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Mike Sassak, Gregory Hnatiuk, Aslak Hellesøy. See LICENSE for details.