summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-14 10:11:41 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-14 10:48:08 +0200
commit3444e94b6d572710c73bfccdad2cd408645c6e0c (patch)
tree794ad74cf77e8ea6efc9308791c8526af4605359 /dev-ruby/rack-protection
parentdev-ruby/zeitwerk: Stabilize 2.6.15 x86, #936023 (diff)
downloadgentoo-3444e94b6d572710c73bfccdad2cd408645c6e0c.tar.gz
gentoo-3444e94b6d572710c73bfccdad2cd408645c6e0c.tar.bz2
gentoo-3444e94b6d572710c73bfccdad2cd408645c6e0c.zip
dev-ruby/rack-protection: add 4.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-protection')
-rw-r--r--dev-ruby/rack-protection/Manifest1
-rw-r--r--dev-ruby/rack-protection/rack-protection-4.0.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest
index 9dc1c7cf8fe0..740c1aead874 100644
--- a/dev-ruby/rack-protection/Manifest
+++ b/dev-ruby/rack-protection/Manifest
@@ -1 +1,2 @@
DIST rack-protection-3.2.0.gem 20480 BLAKE2B ac471dd39e8aad633bf20835f8dbeb9ca53b314b038391a8b334b1e5f2dd2c88983b1988655b5c946211883956318e50a7c2990386a0a43881f29bca474c8789 SHA512 8c8a715e031bbba3a572dc70e3ebc75357e43860fb8c3c88d15c9f07c07b3d6d27b335abc2eebb29c12a78871ef7be9788231f7ccfafca692afea49397310fee
+DIST rack-protection-4.0.0.gem 17408 BLAKE2B e49827ada7524d4e93734f8513502f9c12cb83e0bfb1a5bd02a9a382a2f7be162114984d4ba06e76832d50b26bae17a542856dd40c3d41d8b59004baa2e0328f SHA512 5eb33e4829e5e0d320a14d169fd007111641e388f2b6e5f8de98d45dfd1e6705cdb4e1ce29524ebb6fb5afe14079b8e5370c9c389cb2befca4ca508da73165b3
diff --git a/dev-ruby/rack-protection/rack-protection-4.0.0.ebuild b/dev-ruby/rack-protection/rack-protection-4.0.0.ebuild
new file mode 100644
index 000000000000..3dccab69e979
--- /dev/null
+++ b/dev-ruby/rack-protection/rack-protection-4.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+# 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/rack:3.0
+"