summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2025-10-09 14:28:57 +0200
committerHans de Graaff <graaff@gentoo.org>2025-10-09 14:31:16 +0200
commit3630b05532e288cc2a8f01332ae599f2522ae9eb (patch)
treef78802b8e2d9b520141629b59f9cd72b05e3f350
parenteff7dc0893c200f310e21cfb935b0bb8b13cda4d (diff)
downloadgentoo-3630b05532e288cc2a8f01332ae599f2522ae9eb.tar.gz
gentoo-3630b05532e288cc2a8f01332ae599f2522ae9eb.tar.bz2
gentoo-3630b05532e288cc2a8f01332ae599f2522ae9eb.zip
dev-ruby/rack-protection: add 4.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rack-protection/Manifest1
-rw-r--r--dev-ruby/rack-protection/rack-protection-4.2.0.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest
index 3ed9a58eaac6..028f7df2f527 100644
--- a/dev-ruby/rack-protection/Manifest
+++ b/dev-ruby/rack-protection/Manifest
@@ -1,2 +1,3 @@
DIST rack-protection-3.2.0.gem 20480 BLAKE2B ac471dd39e8aad633bf20835f8dbeb9ca53b314b038391a8b334b1e5f2dd2c88983b1988655b5c946211883956318e50a7c2990386a0a43881f29bca474c8789 SHA512 8c8a715e031bbba3a572dc70e3ebc75357e43860fb8c3c88d15c9f07c07b3d6d27b335abc2eebb29c12a78871ef7be9788231f7ccfafca692afea49397310fee
DIST rack-protection-4.1.1.gem 18432 BLAKE2B ae91504820aded17a5a819508c91f31066590a208bc64622c3e0d41176e382ad1b506101099f3b0b80a9208e94dfc6102bf8afec14cdabba60a88850cd4adb87 SHA512 0f5fd96d93eab654a7333fe75772b460e91b129da143df420f84ac259f2e24e3b1cf5a1892c1edd2dee3a2ed456cd025ae49dc961c7122a1852de3f15f77d1b1
+DIST rack-protection-4.2.0.gem 18432 BLAKE2B cc16d77ab703634e6f615979001cac7792e90f3e77aae7368d0357b14dc5838710bf4d76e9b3485c904596e26e787bf5c47aa5bd744dfd4c205c4b3bef7119c1 SHA512 63aeebf1a3dd93d98480928ed205098218611bf8e5d4512dab819f0aa11183c71c6acff98a11c6e3c7b7c0d7e9e386c78d7bcc5680cdbda70c66b62bfae5b82a
diff --git a/dev-ruby/rack-protection/rack-protection-4.2.0.ebuild b/dev-ruby/rack-protection/rack-protection-4.2.0.ebuild
new file mode 100644
index 000000000000..891040d45385
--- /dev/null
+++ b/dev-ruby/rack-protection/rack-protection-4.2.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+# There are no specs in the gem and the source cannot be downloaded separately.
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="This gem protects against typical web attacks"
+HOMEPAGE="https://sinatrarb.com/protection/"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+ruby_add_rdepend "
+ >=dev-ruby/base64-0.1.0
+ >=dev-ruby/logger-1.6.0
+ || ( dev-ruby/rack:3.2 dev-ruby/rack:3.1 dev-ruby/rack:3.0 )
+"