summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-19 08:06:26 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-19 08:06:26 +0200
commitac8feffa456b17d76fbf0639500ee45283f3e3b9 (patch)
treefd7fb083bbc6e81304d55247433bb254d928c10d /dev-ruby/rack-protection/rack-protection-2.1.0.ebuild
parentdev-ruby/web-console: cleanup (diff)
downloadgentoo-ac8feffa456b17d76fbf0639500ee45283f3e3b9.tar.gz
gentoo-ac8feffa456b17d76fbf0639500ee45283f3e3b9.tar.bz2
gentoo-ac8feffa456b17d76fbf0639500ee45283f3e3b9.zip
dev-ruby/rack-protection: add 2.1.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-protection/rack-protection-2.1.0.ebuild')
-rw-r--r--dev-ruby/rack-protection/rack-protection-2.1.0.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/rack-protection/rack-protection-2.1.0.ebuild b/dev-ruby/rack-protection/rack-protection-2.1.0.ebuild
new file mode 100644
index 000000000000..06b55d8939fa
--- /dev/null
+++ b/dev-ruby/rack-protection/rack-protection-2.1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+# 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://github.com/rkh/rack-protection"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rack:*"
+
+# ruby_add_bdepend "test? ( dev-ruby/rack-test )"