summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/actionpack-action_caching/Manifest1
-rw-r--r--dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.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 8bb6db225486..b1ff85e1e5d9 100644
--- a/dev-ruby/actionpack-action_caching/Manifest
+++ b/dev-ruby/actionpack-action_caching/Manifest
@@ -1 +1,2 @@
DIST actionpack-action_caching-1.2.0.gem 15872 BLAKE2B de62971a21bddb39d1e811ef1c4e821b3303cd0b0105d8027c02a130c06ec9f527a2879e24b2644bb15db6775d9e6d1835c6c4bdf44f00fb6315f0aaf93f399b SHA512 a7bb1b9ba20ef7fb03851122299722fd9a8175ccb1c5dffd21b511cae03749d35feb1653211853c8f8adc65bb79c0efa1e232ce8f977aecac76447e7a4f86f9e
+DIST actionpack-action_caching-1.2.1.gem 16384 BLAKE2B 5bda3597a10bdba21fcaf6f2a854832b79c7bec4791f5ca736e3ebcc266ee1d604b932b653df592892a6c59969bb7e405f55e5ac59400762da23a1392e1e7e5a SHA512 340a0159596fbc36706cef2dd11a542353cbd2b3f5941e005e5e8e2a2bcadbdfbaa000e79db1aa6b438c9e9f2d21c125071c40e2e46b2d30c876490553b386a4
diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild
new file mode 100644
index 000000000000..14bce484fa62
--- /dev/null
+++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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
+}