./lang/ruby-gherkin, Parser and compiler for the Gherkin language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 6.0.15, Package name: ruby24-gherkin-6.0.15, Maintainer: minskim

Gherkin is a parser and compiler for the Gherkin language.

Required to run:
[lang/ruby24-base] [devel/ruby-cucumber-messages] [devel/ruby-c21e]

Required to build:

Master sites:

SHA1: f94a4b6bfc43cec923ea71ec11a519c95becb2d9
RMD160: 638d1f7828a0d0eb045b5a6ee749695a0ed36eac
Filesize: 42105.5 KB

Version history: (Expand)

CVS history: (Expand)

   2019-01-20 14:40:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
lang/ruby-gherkin: update to 6.0.15

6.0.15 - 2018-10-31


* (Go) Executables are uploaded to GitHub releases.


* Fix bug where leading tabs prevented parser from identifying keywords (#512
* [JavaScript] Fix JavaScript build (#499 noisygerman)

6.0.13 - 2018-09-25

This major release aligns Gherkin with Example Mapping, a collaborative
technique for designing scenarios and discovering details about rules and

A new Rule keyword has been introduced, and acts as a grouping of one or more
Examples - a new synonym for Scenario.  The Scenario Outline keyword can now
be interchanged with the Scenario keyword, which makes Gherkin a little less
confusing, especially to beginners.  These are the first major change to the
Gherkin grammar in 8 years or so, and we're pretty excited about them.  We
hope they will guide people towards thinking of scenarios as examples of
business rules rather than a series of form submissions and link clicking.
This rule-focused style engages product owners, and can act as amazing living
documentation of your product.  It opens up for the true benefits of BDD - a
business-friendly format for describing and agreeing on software behaviour,
and a guide to development.  Developers will code against this spec, and
produce better (simpler) software faster.  The software will do what it says
on the tin.

The new Gherkin grammar is backwards compatible, meaning that existing Gherkin
documents are still valid.

The library API however is not backwards compatible.  It is now a stream-like
API which produces a stream of messages (source, AST and pickle messages).

Internally, each library shells out to a go executable (embedded in the
library for all major OSes and processor architectures), and communicates via
STDIN/STDOUT using protocol buffers.  The rationale behind this architectural
change is to reduce the maintenance burden (a single parser rather than a
dozen), but also to make it quicker and easier to implement a Gherkin library
in a new language.  Just generate some protobuf classes/structs and write a
small program that shells out and communicates using those messages.

Our preliminary benchmarks suggest that performance is comparable to the
native implementations, or better.  There is a small hit in startup cost, but
this is offset against a higher throughput of the parser.

At the time of this writing Gherkin 6 is nearly integrated in Cucumber-JVM and
Cucumber-Ruby.  Integration with Cucumber.js has not started and we would
really welcome some help with that.

The message protocol will continue to evolve to represent runtime information
such as results, parameter types, cucumber expressions and other metadata.
This will make it easier for the community to build plugins for Cucumber.  One
HTML Gherkin formatter to rule them all. Statistic plugins and more.


* (TypeScript) - Added TypeScript definitions (.d.ts) for Gherkin.
* Added Rule keyword (#250 aslakhellesoy)
* Added Example as synonym for Scenario in English and many other
  languages. This is to align Gherkin with BDD and Example Mapping
  terminology. (aslakhellesoy)
* Added Ukoliko as an additional synonym for Given, in Croatian. (#480 banovotz)


* (JavaScript,Java,Ruby) The native parsers are removed. Parsing is done by
  gherkin-go executables which are bundled with the published
  libraries. (aslakhellesoy, [jaysonesmith])
* (JavaScript,Java,Ruby,Go) Scenario keyword (or Example keyword) can be used
  to create Scenario Outline. (#353 aslakhellesoy)


* (Java) OSGi support has been removed. (#412 aslakhellesoy)


* (JavaScript) Fix ability to pass language to parser. (#401 charlierudolph)
   2018-10-18 16:36:48 by Jonathan Perkin | Files touched by this commit (1)
Log message:
ruby-gherkin: ALTERNATIVES file needs newline at the end.

Without it the EOF handling in the INSTALL script broke.
   2018-09-23 17:31:22 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
lang/ruby-gherkin: update to 5.1.0

5.1.0 - 2018-05-30


* (.NET) - Better .NET Core support
* Support for Aragonese (#298 danilat)
* (C) build a shared libgherkin.so library which allows Gherkin to be used as
  a library. (Cucumber.ml currently uses this.) (cucumber/gherkin-c#6 cyocum)


* Pass the content type of a docstring down into its pickle string form (#292
* Fixed Russian equivalents of Given and Then. (#369 cerebellum13)


* (C) Segfault when file does not exist (#394 #395 cyocum)
* (JavaScript) (#374 #377 charlierudolph)
* (Ruby, JavaScript) Remove berp.exe from packages (#289 aslakhellesoy)
* (Go) fixes validation for go vet tool on latest versions (#330 l3pp4rd)
* (Ruby) removed unneeded files from the gem
   2017-06-30 18:07:51 by Jonathan Perkin | Files touched by this commit (2)
Log message:
Add newline at EOF to ensure the +INSTALL scripts are generated correctly.
   2017-06-21 16:05:34 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Update ruby-gherkin to 4.1.3.

* pkgsrc change: add pkg_alternatives support.

Please refer
<https://github.com/cucumber/gherkin-ruby/compare/v4.0.0...v4.1.3> for
   2017-02-10 06:40:31 by Min Sik Kim | Files touched by this commit (4)
Log message:
Import ruby-gherkin-4.0.0 as lang/ruby-gherkin

Gherkin is a parser and compiler for the Gherkin language.