summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-03-06 07:10:35 +0000
committerHans de Graaff <graaff@gentoo.org>2015-03-06 07:10:35 +0000
commit874b9d5329401c3b9655597bacc8105717857711 (patch)
tree0f73f6c20ae7c4911dd1096901483f2718355fef /dev-ruby
parentInitial import. Dependency for forthcoming web-console. (diff)
downloadgentoo-2-874b9d5329401c3b9655597bacc8105717857711.tar.gz
gentoo-2-874b9d5329401c3b9655597bacc8105717857711.tar.bz2
gentoo-2-874b9d5329401c3b9655597bacc8105717857711.zip
Initial import.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/web-console/ChangeLog10
-rw-r--r--dev-ruby/web-console/metadata.xml5
-rw-r--r--dev-ruby/web-console/web-console-2.1.1.ebuild40
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/web-console/ChangeLog b/dev-ruby/web-console/ChangeLog
new file mode 100644
index 000000000000..eaadb59f2f57
--- /dev/null
+++ b/dev-ruby/web-console/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/web-console
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/web-console/ChangeLog,v 1.1 2015/03/06 07:10:35 graaff Exp $
+
+*web-console-2.1.1 (06 Mar 2015)
+
+ 06 Mar 2015; Hans de Graaff <graaff@gentoo.org> +web-console-2.1.1.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/dev-ruby/web-console/metadata.xml b/dev-ruby/web-console/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/web-console/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/web-console/web-console-2.1.1.ebuild b/dev-ruby/web-console/web-console-2.1.1.ebuild
new file mode 100644
index 000000000000..afd35592e780
--- /dev/null
+++ b/dev-ruby/web-console/web-console-2.1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/web-console/web-console-2.1.1.ebuild,v 1.1 2015/03/06 07:10:35 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A debugging tool for your Ruby on Rails applications"
+HOMEPAGE="https://github.com/rails/web-console"
+SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/activemodel-4.0
+ >=dev-ruby/binding_of_caller-0.7.2
+ >=dev-ruby/railties-4.0
+ >=dev-ruby/sprockets-rails-2.0 <dev-ruby/sprockets-rails-4.0
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/bundler
+ >=dev-ruby/rails-4.0
+ dev-ruby/sqlite3
+ dev-ruby/mocha
+ dev-ruby/simplecov
+)"
+
+all_ruby_prepare() {
+ # Use an installed rails version rather than live source from github.
+ sed -i -e '/rails/ s/,/#/' Gemfile || die
+}