summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-04 06:56:20 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-04 06:59:17 +0200
commit6b1309d9a1a4fabb9c942a1a12618ac915fc269e (patch)
tree0aae3b65ac17d796cd09c4e73568ed5439fc59b1 /dev-ruby
parentdev-ruby/rails: add rails 4.2.9 (diff)
downloadgentoo-6b1309d9a1a4fabb9c942a1a12618ac915fc269e.tar.gz
gentoo-6b1309d9a1a4fabb9c942a1a12618ac915fc269e.tar.bz2
gentoo-6b1309d9a1a4fabb9c942a1a12618ac915fc269e.zip
dev-ruby/rails-deprecated_sanitizer: add ruby24
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild b/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..53d2935b8d6b
--- /dev/null
+++ b/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Deprecated sanitizer API extracted from Action View"
+HOMEPAGE="https://github.com/rails/rails-deprecated_sanitizer"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~amd64-linux"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-4.2"
+
+ruby_add_bdepend "test? ( >=dev-ruby/actionview-4.2 )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}