summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-11-24 07:12:23 +0100
committerHans de Graaff <graaff@gentoo.org>2016-11-24 07:12:23 +0100
commit4c1307ac1c58c5f14d7a184b8c4fbb698b570a4f (patch)
treefb05b452dcb8d9f06c1a7dc15d325d47f24c91ee /dev-ruby/web-console/web-console-3.4.0.ebuild
parentdev-ruby/tins: add 1.13.0 (diff)
downloadgentoo-4c1307ac1c58c5f14d7a184b8c4fbb698b570a4f.tar.gz
gentoo-4c1307ac1c58c5f14d7a184b8c4fbb698b570a4f.tar.bz2
gentoo-4c1307ac1c58c5f14d7a184b8c4fbb698b570a4f.zip
dev-ruby/web-console: add 3.4.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/web-console/web-console-3.4.0.ebuild')
-rw-r--r--dev-ruby/web-console/web-console-3.4.0.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/web-console/web-console-3.4.0.ebuild b/dev-ruby/web-console/web-console-3.4.0.ebuild
new file mode 100644
index 000000000000..89e756266742
--- /dev/null
+++ b/dev-ruby/web-console/web-console-3.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="web-console.gemspec"
+
+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="3"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/actionview-5.0:*
+ >=dev-ruby/activemodel-5.0:*
+ dev-ruby/debug_inspector
+ >=dev-ruby/railties-5.0:*
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/bundler
+ >=dev-ruby/rails-5.0
+ dev-ruby/sqlite3
+ dev-ruby/mocha
+ www-servers/puma
+)"
+
+all_ruby_prepare() {
+ # Use an installed rails version rather than live source from github.
+ sed -i -e '/\(rack\|rails\|simplecov\)/ s/,/#/' \
+ -e '/simplecov/d' Gemfile || die
+
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die
+}