summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-29 14:37:27 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-30 08:15:34 +0100
commita351f5b347e82a33b779ea23ab2355c188b273ec (patch)
tree596f58bef07c366b4079dd4684294e2d14a9a6aa /dev-util/cucumber-cucumber-expressions
parentdev-util/cucumber-compatibility-kit: add 14.1.0 (diff)
downloadgentoo-a351f5b347e82a33b779ea23ab2355c188b273ec.tar.gz
gentoo-a351f5b347e82a33b779ea23ab2355c188b273ec.tar.bz2
gentoo-a351f5b347e82a33b779ea23ab2355c188b273ec.zip
dev-util/cucumber-cucumber-expressions: add 17.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/cucumber-cucumber-expressions')
-rw-r--r--dev-util/cucumber-cucumber-expressions/Manifest1
-rw-r--r--dev-util/cucumber-cucumber-expressions/cucumber-cucumber-expressions-17.0.1.ebuild18
-rw-r--r--dev-util/cucumber-cucumber-expressions/files/cucumber-cucumber-expressions-17.0.1-spec-fix.patch22
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/cucumber-cucumber-expressions/Manifest b/dev-util/cucumber-cucumber-expressions/Manifest
index 50dd27cf6a0d..9ba34eb7dddd 100644
--- a/dev-util/cucumber-cucumber-expressions/Manifest
+++ b/dev-util/cucumber-cucumber-expressions/Manifest
@@ -1,3 +1,4 @@
DIST cucumber-cucumber-expressions-15.1.1.gem 25088 BLAKE2B bc9990d11994a5c094b23a2d8bccf283d0c035507d7140128acae674faa70d1b8927bce6069b82bc530b28b4867ae6be3f168847e0d6db036211a5fd13defb06 SHA512 ceda830ca22e388169db41c85343f9adbe918ac76a5cfaefd55ca3d2815ec826eb592ba70771f0cf41bfefe8e42d9afbcfeb8c384cfa30687e9c0c023164fbe3
DIST cucumber-cucumber-expressions-15.2.0.gem 25088 BLAKE2B 3e0a9283cdf1a9488826260a98358612847945e287ed0f4b011c697fa6aabd340974705d5eb338464fdaee938090ea83b8c912820517b9a2b0cfa0c81b554d5c SHA512 c4f72a6e096794598f94318ef21ac7586328229db4ec5d6791abc3d36319e798d3bddc91fdc9d56a3741ae8ce082deeec153b66d8904683e3038b1161b84fcf7
DIST cucumber-cucumber-expressions-16.1.2.gem 23552 BLAKE2B e578e45901d5212f85e86ce6737c24ecbb0fce5204ed459e89270c27379bb13935ee12b94f618382c1a4c80ccc0cbfb8faea79da105b0f11a35e11c436c37abd SHA512 221b5aee604895dd0835df8ef19363b8060b99341c51f636e35be52ec0bff7100a88ad33a86420b849161b2c62e5d039b1f11d720374544abe9667a8544ee4c5
+DIST cucumber-cucumber-expressions-17.0.1.gem 25088 BLAKE2B 2d85d1ad5498d546df73a919a56f54a566bee0c686d2549bc4efb3e8970a057ef068fe2d498f393367094526afa5c14cbb7d1fbbaa05086801931d9ca99c72bb SHA512 6b89a4aad515cd4894859a549037ac9ea25c470c26106680bd825595e497883177944da7ec35f4f2e8e2c0cd872808ba0ef93133c91e8e889589db96251f74f6
diff --git a/dev-util/cucumber-cucumber-expressions/cucumber-cucumber-expressions-17.0.1.ebuild b/dev-util/cucumber-cucumber-expressions/cucumber-cucumber-expressions-17.0.1.ebuild
new file mode 100644
index 000000000000..27cae581ae1e
--- /dev/null
+++ b/dev-util/cucumber-cucumber-expressions/cucumber-cucumber-expressions-17.0.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="a simpler alternative to Regular Expressions"
+HOMEPAGE="https://cucumber.io/"
+LICENSE="MIT"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+SLOT="$(ver_cut 1)"
+
+PATCHES=( "${FILESDIR}/${P}-spec-fix.patch" )
diff --git a/dev-util/cucumber-cucumber-expressions/files/cucumber-cucumber-expressions-17.0.1-spec-fix.patch b/dev-util/cucumber-cucumber-expressions/files/cucumber-cucumber-expressions-17.0.1-spec-fix.patch
new file mode 100644
index 000000000000..1708215cf887
--- /dev/null
+++ b/dev-util/cucumber-cucumber-expressions/files/cucumber-cucumber-expressions-17.0.1-spec-fix.patch
@@ -0,0 +1,22 @@
+From 22bd7a0f13b3aa46cc55015f096cf0bccad70151 Mon Sep 17 00:00:00 2001
+From: Luke Hill <lukehill_uk@hotmail.com>
+Date: Fri, 24 Nov 2023 10:37:33 +0000
+Subject: [PATCH] Hotfix - Missing spec test issue
+
+---
+ .../cucumber_expressions/parameter_type_registry_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ruby/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb b/ruby/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb
+index 2be26e39..bd847915 100644
+--- a/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb
++++ b/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb
+@@ -24,7 +24,7 @@ class Place; end
+ @registry.define_parameter_type(ParameterType.new('place', CAPITALISED_WORD, Place, ->(s) { Place.new }, true, true))
+ end.to raise_error(
+ CucumberExpressionError,
+- 'There can only be one preferential parameter type per regexp. The regexp /[A-Z]+\\w+/ is used for two preferential parameter types, {name} and {place}'
++ 'There can only be one preferential parameter type per regexp. The regexp /[A-Z]+\\w+/ is used for two: {name} and {place}'
+ )
+ end
+