summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-05-16 07:20:45 +0200
committerHans de Graaff <graaff@gentoo.org>2021-05-16 07:20:45 +0200
commite6288dbfaed4c921e5d88b9bf16e186227d6118b (patch)
tree012012ccfde46ff5a46d457a59ef078b9a747997 /dev-ruby/actionpack-action_caching
parentdev-perl/DBD-mysql: Added ~mips to KEYWORDS (diff)
downloadgentoo-e6288dbfaed4c921e5d88b9bf16e186227d6118b.tar.gz
gentoo-e6288dbfaed4c921e5d88b9bf16e186227d6118b.tar.bz2
gentoo-e6288dbfaed4c921e5d88b9bf16e186227d6118b.zip
dev-ruby/actionpack-action_caching: add 1.2.2
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/actionpack-action_caching')
-rw-r--r--dev-ruby/actionpack-action_caching/Manifest1
-rw-r--r--dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/actionpack-action_caching/Manifest b/dev-ruby/actionpack-action_caching/Manifest
index a2cc5cbb53ca..95828aff499b 100644
--- a/dev-ruby/actionpack-action_caching/Manifest
+++ b/dev-ruby/actionpack-action_caching/Manifest
@@ -1 +1,2 @@
DIST actionpack-action_caching-1.2.1.gem 16384 BLAKE2B 5bda3597a10bdba21fcaf6f2a854832b79c7bec4791f5ca736e3ebcc266ee1d604b932b653df592892a6c59969bb7e405f55e5ac59400762da23a1392e1e7e5a SHA512 340a0159596fbc36706cef2dd11a542353cbd2b3f5941e005e5e8e2a2bcadbdfbaa000e79db1aa6b438c9e9f2d21c125071c40e2e46b2d30c876490553b386a4
+DIST actionpack-action_caching-1.2.2.gem 16384 BLAKE2B dc41343b2645b9ca6ab2148f175c73dba8c54eef227720c8be06ff17e724338fd2edce6dac9939f379676cd759acd87d07b580cf8b53570a321adce1c009b02d SHA512 aff795fe47f6bf97875afdcc6d55ecf5769850985f3f989a95beb46e09989d70e6b05b3182b78029f98ab1545715a7877c1021dda5b4bdbf575a3a540623bbaa
diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild
new file mode 100644
index 000000000000..b3549be733db
--- /dev/null
+++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Action caching for Action Pack (removed from core in Rails 4.0)"
+HOMEPAGE="https://github.com/rails/actionpack-action_caching"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/actionpack-4.0.0:*"
+
+ruby_add_bdepend "test? ( >=dev-ruby/activerecord-4.0.0
+ dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e "/bundler/d" Rakefile test/abstract_unit.rb || die
+ sed -i -e "/git/d" ${PN}.gemspec || die
+ sed -i -e "2irequire 'mocha/setup'" test/caching_test.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test test/caching_test.rb || die
+}