diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-01-24 07:03:18 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-01-24 07:06:46 +0100 |
commit | 62a31e81b9b11e68df8ee8d40c10c32d98242fb1 (patch) | |
tree | 953a836e3ee4e05d06d746f37fe23314296202b2 /dev-ruby | |
parent | dev-ruby/rack-cache: add 1.7.0 (diff) | |
download | gentoo-62a31e81b9b11e68df8ee8d40c10c32d98242fb1.tar.gz gentoo-62a31e81b9b11e68df8ee8d40c10c32d98242fb1.tar.bz2 gentoo-62a31e81b9b11e68df8ee8d40c10c32d98242fb1.zip |
dev-ruby/actionpack-action_caching: add 1.2.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/actionpack-action_caching/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/actionpack-action_caching/Manifest b/dev-ruby/actionpack-action_caching/Manifest index b2fa5d4c1ad6..740b1ced260d 100644 --- a/dev-ruby/actionpack-action_caching/Manifest +++ b/dev-ruby/actionpack-action_caching/Manifest @@ -1 +1,2 @@ DIST actionpack-action_caching-1.1.1.gem 13312 SHA256 e7715ff3534d124e58fd40ebf6c05708d830fe2c71c2f2643ca060025b00b224 SHA512 6ff988a5f715a8956826bb8941c15eabf9db1b08d223467cfb595c1596c955af86ddebea30a117aeff770092758d1940632acc13583aba9f3fd5793719e70efe WHIRLPOOL b2cca76a39b9fd2d6564f5f0ba96bb7286d13c86e6ddf517dd2c872c1c1573ccf52dadfe0a79433402ca0947c1cd1b68399010fe248f0974eb18935a1d9c45fe +DIST actionpack-action_caching-1.2.0.gem 15872 SHA256 260f26061342345fe5f393c839f579cc2945b3af579210188093d62466936037 SHA512 a7bb1b9ba20ef7fb03851122299722fd9a8175ccb1c5dffd21b511cae03749d35feb1653211853c8f8adc65bb79c0efa1e232ce8f977aecac76447e7a4f86f9e WHIRLPOOL e2c866adcee028f4099efbc625423dc8c3d91f3d670bc206f2d4fb468241183c22668d61bea9f15904ee2a70aeda6ab65f8c463961d1867b427a6cdd4b58a1c0 diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.0.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.0.ebuild new file mode 100644 index 000000000000..45de9d3361e4 --- /dev/null +++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +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 +} |