diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-11-13 07:03:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-11-13 07:05:27 +0100 |
commit | 310780b924bcd611317f89eb9551a0831e5ffb6e (patch) | |
tree | 1621227654c0e1ab2bcc5fb487360625812e8de8 /dev-ruby/actionpack-action_caching | |
parent | dev-ruby/ffi: add 1.11.2 (diff) | |
download | gentoo-310780b924bcd611317f89eb9551a0831e5ffb6e.tar.gz gentoo-310780b924bcd611317f89eb9551a0831e5ffb6e.tar.bz2 gentoo-310780b924bcd611317f89eb9551a0831e5ffb6e.zip |
dev-ruby/actionpack-action_caching: add 1.2.1
Package-Manager: Portage-2.3.76, Repoman-2.3.16
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/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild | 32 |
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 +} |