summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-10-06 18:09:53 +0000
committerHans de Graaff <graaff@gentoo.org>2011-10-06 18:09:53 +0000
commitc7548cb6546a95869da5d3d597a59b63167e5e22 (patch)
treebdcec5bf5401c8949a4a040918297ead8c597554 /dev-ruby
parentStable for HPPA (bug #371807). (diff)
downloadgentoo-2-c7548cb6546a95869da5d3d597a59b63167e5e22.tar.gz
gentoo-2-c7548cb6546a95869da5d3d597a59b63167e5e22.tar.bz2
gentoo-2-c7548cb6546a95869da5d3d597a59b63167e5e22.zip
Initial import. New dependency for forthcoming Rails 3.1 release.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rack-cache/ChangeLog10
-rw-r--r--dev-ruby/rack-cache/metadata.xml5
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.0.3.ebuild29
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/rack-cache/ChangeLog b/dev-ruby/rack-cache/ChangeLog
new file mode 100644
index 000000000000..74eb696d9874
--- /dev/null
+++ b/dev-ruby/rack-cache/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/rack-cache
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-cache/ChangeLog,v 1.1 2011/10/06 18:09:53 graaff Exp $
+
+*rack-cache-1.0.3 (06 Oct 2011)
+
+ 06 Oct 2011; Hans de Graaff <graaff@gentoo.org> +rack-cache-1.0.3.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for forthcoming Rails 3.1 release.
+
diff --git a/dev-ruby/rack-cache/metadata.xml b/dev-ruby/rack-cache/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/rack-cache/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/rack-cache/rack-cache-1.0.3.ebuild b/dev-ruby/rack-cache/rack-cache-1.0.3.ebuild
new file mode 100644
index 000000000000..17f8c528d3f2
--- /dev/null
+++ b/dev-ruby/rack-cache/rack-cache-1.0.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-cache/rack-cache-1.0.3.ebuild,v 1.1 2011/10/06 18:09:53 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="A drop-in component to enable HTTP caching for Rack-based applications that produce freshness info."
+HOMEPAGE="http://tomayko.com/src/rack-cache/"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bacon )"
+
+each_ruby_test() {
+ ${RUBY} -S bacon -q -I.:lib:test test/*_test.rb || die
+}