summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-11 08:38:53 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-11 08:52:41 +0200
commit88f0c979704c9b2ba56fc17c2d11a8f4a82b2f56 (patch)
treee6558309e13460e74e48279e860689de1a37abf3 /dev-ruby/web-console
parentdev-ruby/debug_inspector: add ruby23 (diff)
downloadgentoo-88f0c979704c9b2ba56fc17c2d11a8f4a82b2f56.tar.gz
gentoo-88f0c979704c9b2ba56fc17c2d11a8f4a82b2f56.tar.bz2
gentoo-88f0c979704c9b2ba56fc17c2d11a8f4a82b2f56.zip
dev-ruby/web-console: add 3.3.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/web-console')
-rw-r--r--dev-ruby/web-console/Manifest1
-rw-r--r--dev-ruby/web-console/web-console-3.3.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index d7665f662f91..6e2f5ccf8a0c 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,2 +1,3 @@
DIST web-console-2.2.1.tar.gz 37554 SHA256 147727d34bd4165a0c214a7f2761e2999dd4355f11661acb6da43f414fa33f9e SHA512 832838a975f805b8c35fb03233fc1a39c90ba5c36908b4e3fb355bcad3b7b7113cbbb2544474948453353a89953cdd2fecdd71bdbeab5ab06f71bd7f67a3be31 WHIRLPOOL d4d1e55a1864daab086e86e33debc800afb90c099556199c7cc13bfbd25098420df1756171f2722aecb449fec1df60a3f79725216ff3b28b8658de3369f0aa10
DIST web-console-2.3.0.tar.gz 47641 SHA256 8caf3bc1a9c426bb5f1745ec23da191589af4dc8e8ca9d0a359ecc9f8bf68efb SHA512 36136242012053c2049b0faef682a8fe79f931904cd1007a6e08f36aca7a8923fc47fc058304f11cc0b205db876ca77b1cca65048c8ba4db401123ed9c05c834 WHIRLPOOL fce26e3ab6a11187c3cbeb25d6529fd60d83bdcd384e221b9e7c68e2a48639ee2c9a04c9ee7d91d7ba3bd77fbdaa05e4fe333f4f38637264e18536d4e8ce82a9
+DIST web-console-3.3.1.tar.gz 46556 SHA256 767c2aec4501d5b3bc81958ff374ea8a5367ea52606df1ea235b62fe36afbebe SHA512 8acb619b47c4b91fde647b83c01ae57f25a329b2597801e51c5e2d4dfec0a232e9335528672ff036a2391677ba88679ae69fc9aeebd960071b7a8541bfe9667f WHIRLPOOL 3717e6aebf6de9a759ac8f305c28e02c6acc46f4ff7f00fa294ce98f84f03069c64e566a1832babde4aee610fb5e20997d7fd136961ebc766481147a877a2609
diff --git a/dev-ruby/web-console/web-console-3.3.1.ebuild b/dev-ruby/web-console/web-console-3.3.1.ebuild
new file mode 100644
index 000000000000..89e756266742
--- /dev/null
+++ b/dev-ruby/web-console/web-console-3.3.1.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
+}