Received: by mail.netbsd.org (Postfix, from userid 605) id BDFA984D62; Sun, 20 Jan 2019 13:40:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F2EDD84D51 for ; Sun, 20 Jan 2019 13:40:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id mQcRgryTqFSF for ; Sun, 20 Jan 2019 13:40:44 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8E8DF84D3F for ; Sun, 20 Jan 2019 13:40:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 87C1EFB16; Sun, 20 Jan 2019 13:40:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1547991644223770" MIME-Version: 1.0 Date: Sun, 20 Jan 2019 13:40:44 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/lang/ruby-gherkin To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20190120134044.87C1EFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1547991644223770 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Sun Jan 20 13:40:44 UTC 2019 Modified Files: pkgsrc/lang/ruby-gherkin: Makefile PLIST distinfo Log Message: lang/ruby-gherkin: update to 6.0.15 6.0.15 - 2018-10-31 Added * (Go) Executables are uploaded to GitHub releases. Fixed * Fix bug where leading tabs prevented parser from identifying keywords (#512 [VjacheslavVytjagov]) * [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 behaviour. 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. Added * (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) Changed * (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) Removed * (Java) OSGi support has been removed. (#412 aslakhellesoy) Fixed * (JavaScript) Fix ability to pass language to parser. (#401 charlierudolph) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ruby-gherkin/Makefile \ pkgsrc/lang/ruby-gherkin/PLIST pkgsrc/lang/ruby-gherkin/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1547991644223770 Content-Disposition: inline Content-Length: 4585 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ruby-gherkin/Makefile diff -u pkgsrc/lang/ruby-gherkin/Makefile:1.4 pkgsrc/lang/ruby-gherkin/Makefile:1.5 --- pkgsrc/lang/ruby-gherkin/Makefile:1.4 Sun Sep 23 15:31:22 2018 +++ pkgsrc/lang/ruby-gherkin/Makefile Sun Jan 20 13:40:44 2019 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2018/09/23 15:31:22 taca Exp $ +# $NetBSD: Makefile,v 1.5 2019/01/20 13:40:44 taca Exp $ -DISTNAME= gherkin-5.1.0 +DISTNAME= gherkin-6.0.15 CATEGORIES= lang MAINTAINER= minskim@NetBSD.org @@ -10,5 +10,8 @@ LICENSE= mit RUBYGEM_OPTIONS+= --format-executable +DEPENDS+= ${RUBY_PKGPREFIX}-c21e>=1.1.8<2:../../devel/ruby-c21e +DEPENDS+= ${RUBY_PKGPREFIX}-cucumber-messages>=2.0.0<2.1:../../devel/ruby-cucumber-messages + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/lang/ruby-gherkin/PLIST diff -u pkgsrc/lang/ruby-gherkin/PLIST:1.4 pkgsrc/lang/ruby-gherkin/PLIST:1.5 --- pkgsrc/lang/ruby-gherkin/PLIST:1.4 Sun Sep 23 15:31:22 2018 +++ pkgsrc/lang/ruby-gherkin/PLIST Sun Jan 20 13:40:44 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2018/09/23 15:31:22 taca Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/01/20 13:40:44 taca Exp $ bin/gherkin-ruby${RUBY_SUFFIX} bin/gherkin${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem @@ -6,23 +6,32 @@ ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/bin/gherkin ${GEM_LIBDIR}/bin/gherkin-ruby -${GEM_LIBDIR}/lib/gherkin/ast_builder.rb -${GEM_LIBDIR}/lib/gherkin/ast_node.rb +${GEM_LIBDIR}/gherkin-go/gherkin-go-darwin-386 +${GEM_LIBDIR}/gherkin-go/gherkin-go-darwin-amd64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-freebsd-386 +${GEM_LIBDIR}/gherkin-go/gherkin-go-freebsd-amd64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-freebsd-arm +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-386 +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-amd64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-arm +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-mips +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-mips64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-mips64le +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-mipsle +${GEM_LIBDIR}/gherkin-go/gherkin-go-linux-s390x +${GEM_LIBDIR}/gherkin-go/gherkin-go-netbsd-386 +${GEM_LIBDIR}/gherkin-go/gherkin-go-netbsd-amd64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-netbsd-arm +${GEM_LIBDIR}/gherkin-go/gherkin-go-openbsd-386 +${GEM_LIBDIR}/gherkin-go/gherkin-go-openbsd-amd64 +${GEM_LIBDIR}/gherkin-go/gherkin-go-windows-386.exe +${GEM_LIBDIR}/gherkin-go/gherkin-go-windows-amd64.exe ${GEM_LIBDIR}/lib/gherkin/dialect.rb -${GEM_LIBDIR}/lib/gherkin/errors.rb -${GEM_LIBDIR}/lib/gherkin/gherkin-languages.json -${GEM_LIBDIR}/lib/gherkin/gherkin_line.rb -${GEM_LIBDIR}/lib/gherkin/parser.rb -${GEM_LIBDIR}/lib/gherkin/pickles/compiler.rb -${GEM_LIBDIR}/lib/gherkin/stream/gherkin_events.rb -${GEM_LIBDIR}/lib/gherkin/stream/source_events.rb -${GEM_LIBDIR}/lib/gherkin/token.rb -${GEM_LIBDIR}/lib/gherkin/token_formatter_builder.rb -${GEM_LIBDIR}/lib/gherkin/token_matcher.rb -${GEM_LIBDIR}/lib/gherkin/token_scanner.rb +${GEM_LIBDIR}/lib/gherkin/exe_file_path.rb +${GEM_LIBDIR}/lib/gherkin/gherkin.rb +${GEM_LIBDIR}/lib/gherkin/protobuf_cucumber_messages.rb ${GEM_LIBDIR}/spec/capture_warnings.rb ${GEM_LIBDIR}/spec/coverage.rb -${GEM_LIBDIR}/spec/gherkin/parser_spec.rb -${GEM_LIBDIR}/spec/gherkin/stream/gherkin_events_spec.rb -${GEM_LIBDIR}/spec/gherkin/stream/test_fr.feature +${GEM_LIBDIR}/spec/gherkin/dialect_spec.rb +${GEM_LIBDIR}/spec/gherkin/gherkin_spec.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec Index: pkgsrc/lang/ruby-gherkin/distinfo diff -u pkgsrc/lang/ruby-gherkin/distinfo:1.4 pkgsrc/lang/ruby-gherkin/distinfo:1.5 --- pkgsrc/lang/ruby-gherkin/distinfo:1.4 Sun Sep 23 15:31:22 2018 +++ pkgsrc/lang/ruby-gherkin/distinfo Sun Jan 20 13:40:44 2019 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2018/09/23 15:31:22 taca Exp $ +$NetBSD: distinfo,v 1.5 2019/01/20 13:40:44 taca Exp $ -SHA1 (gherkin-5.1.0.gem) = d87a0fc95c638d431a9043025136f3138d8bea7d -RMD160 (gherkin-5.1.0.gem) = 25cf318abdb69e711f80be2018c0114e78e25385 -SHA512 (gherkin-5.1.0.gem) = d935ccceaec493736f337a4c3db69909858d15f4c41e93ecfc6ca31a30fc48eec1cecbe71d455265e1062006f49f05461c9860c9b3cc4806bb25f42dec6f504e -Size (gherkin-5.1.0.gem) = 29696 bytes +SHA1 (gherkin-6.0.15.gem) = f94a4b6bfc43cec923ea71ec11a519c95becb2d9 +RMD160 (gherkin-6.0.15.gem) = 638d1f7828a0d0eb045b5a6ee749695a0ed36eac +SHA512 (gherkin-6.0.15.gem) = 48496a31ee8fd590a5e412a3d4967f4168a88371aa45baf738d865659feed60d9941d5ef5b6847e6a8d3b29728f64d8d59016fde9afa36742d6d1c563916d49a +Size (gherkin-6.0.15.gem) = 43116032 bytes --_----------=_1547991644223770--