summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-12 07:11:55 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-12 07:20:23 +0100
commite85e1f4dd5dfa3154c66d7540f2493c44bbdb0ce (patch)
treecb046cfe816d959309fca4991b45348e54b33568 /dev-ruby/rack-cache
parentdev-ruby/narray: add 0.6.1.2 (diff)
downloadgentoo-e85e1f4dd5dfa3154c66d7540f2493c44bbdb0ce.tar.gz
gentoo-e85e1f4dd5dfa3154c66d7540f2493c44bbdb0ce.tar.bz2
gentoo-e85e1f4dd5dfa3154c66d7540f2493c44bbdb0ce.zip
dev-ruby/rack-cache: 1.6.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/rack-cache')
-rw-r--r--dev-ruby/rack-cache/Manifest1
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.6.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest
index f90c5099471..a3d441392ff 100644
--- a/dev-ruby/rack-cache/Manifest
+++ b/dev-ruby/rack-cache/Manifest
@@ -1,3 +1,4 @@
DIST rack-cache-1.3.0.tar.gz 258225 SHA256 356f849e285fa2cf00c1d6823aa2202d14add67815b07b70048242f7c61c6df8 SHA512 d7028456b7059b775a75f35ae2f7a4a00bfe908ebc7e7f57b2f659f9690ac40085d3dc89acd0b1e540cf309e218a276504650a50f092557b7ef871a66aa6bfbf WHIRLPOOL 8e456b7eff61913cd75c2f1a20c55ff6f1430ca28384b6d743c976df7677b3334e6c83628c1fc9fb7d11b268b71c5c8e653ad8b0c59430a691071c37a657e916
DIST rack-cache-1.5.1.tar.gz 258817 SHA256 77afa21e3d2c97224795b740d4a67b23e2fbb15515b774b897993343265545f5 SHA512 e7d2804d2e4f48f8333ee9689251f760290eb15c692a55dd1bfdcfcbecc677afbf6db949c8ca9bc79e7248c58ca5f6f89bc13ab912c34f33e119befcdde902f8 WHIRLPOOL e3808050537411af5f210b7201da8f3b2b4d499a20e9a161ef29c88edba80348919629b23b929d9361982c4c328dcdae25eba3c616cbbab0ef626da6bfa0d590
DIST rack-cache-1.6.0.tar.gz 259383 SHA256 6c365f1a80a21701dd86b24bf5aa832fb3c70bd0ab1ede594ddc4a15e2376291 SHA512 d15e0eb55213e4ba7c528417c7f460606f4ac24222a0aa913859b8801e8b608600818c230a7677ccec99b1040a62a7067c1911ac109ae14d58c4ff140e502070 WHIRLPOOL 05f37a92b8affd318092218c871b1b3b7b7fe6f55088eb617af783fb178b6552dc5c19461ed2104053832fb9d84bddd0b0f34d250127167044961c7d10c810cb
+DIST rack-cache-1.6.1.tar.gz 259823 SHA256 59cc43d86f4147dd899c09bf6222f1509702b471aeed52525802bf6585237e27 SHA512 326643c9b438b94e556b38530401d2ef2cda8b86ccc5b2e8bdbd79bcba93cec6124ca425f12b993b9090a11210586f8772b552b4a526eb07c7d91ed71275f2ff WHIRLPOOL 938e3e2dfbee7d3fd2974a4337156ca2bcdefdbf9de588d1d1940348ec6440f93e63900bd56a04a184141aa078457581058de2f73658c66bf2d9439eaacd41c2
diff --git a/dev-ruby/rack-cache/rack-cache-1.6.1.ebuild b/dev-ruby/rack-cache/rack-cache-1.6.1.ebuild
new file mode 100644
index 00000000000..120d56e416d
--- /dev/null
+++ b/dev-ruby/rack-cache/rack-cache-1.6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info"
+HOMEPAGE="https://github.com/rtomayko/rack-cache"
+SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.2"
+KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rack:*"
+
+ruby_add_bdepend "test? (
+ dev-ruby/maxitest
+ >=dev-ruby/minitest-5.7.0:5
+ >=dev-ruby/mocha-0.13.0 )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' \
+ -e "2i require 'timeout'" \
+ test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}