summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-09-03 07:07:05 +0200
committerHans de Graaff <graaff@gentoo.org>2018-09-03 07:07:05 +0200
commit850bec7142d18607c53826ef120faa2dd009fb54 (patch)
tree69aaf7e80dc98a67d70b5cee2843592766ab0ef4
parentdev-ruby/capybara: cleanup (diff)
downloadgentoo-850bec7142d18607c53826ef120faa2dd009fb54.tar.gz
gentoo-850bec7142d18607c53826ef120faa2dd009fb54.tar.bz2
gentoo-850bec7142d18607c53826ef120faa2dd009fb54.zip
dev-ruby/web-console: add 3.7.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/web-console/Manifest1
-rw-r--r--dev-ruby/web-console/web-console-3.7.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index 9bfa83086322..775c7c15e7c3 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,3 +1,4 @@
DIST web-console-2.3.0.tar.gz 47641 BLAKE2B 2756f3958ea77df7dbdf7e7bd79f64711b4f958433f347175a29db2272ba549c79f1f94e2be18c17ceb8f4f1e8d281cf09995354f6ccd21da314df14dde886ec SHA512 36136242012053c2049b0faef682a8fe79f931904cd1007a6e08f36aca7a8923fc47fc058304f11cc0b205db876ca77b1cca65048c8ba4db401123ed9c05c834
DIST web-console-3.6.1.tar.gz 52769 BLAKE2B c021ba7cbd75494f58443a9d01d69ea90b31836f87af863ef920ee38147e458e04f07a9e82609091d07992ee851de78c35b68eda0c94f804c93e75cd51bbba24 SHA512 56d27371e856cd38a3c897da411be3922dac9bdd6f16b1019b45fa884f9d7974bf1bdc41930ae0ed9df4e2e06dde59330a717952f6ab2dfb6ed69be6717ceb2f
DIST web-console-3.6.2.tar.gz 53094 BLAKE2B e832f9ffcb2221156f441e2f08509c79c4c723fc2a1ea4af5904309f310be1110abc757e455ba5c9bbdce41cb34a1b4ff9139c5f5f0c394262f2bdf9fe1dc1fc SHA512 16401e4ae1ee82af290174db0132362199451137b1862e973fdde7dbf0a9e80e73f5cc84baa76f230d5c6feaf0f42def69dc9da517230bff9d316ce0c7c2f085
+DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b
diff --git a/dev-ruby/web-console/web-console-3.7.0.ebuild b/dev-ruby/web-console/web-console-3.7.0.ebuild
new file mode 100644
index 000000000000..1228f004d912
--- /dev/null
+++ b/dev-ruby/web-console/web-console-3.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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/bindex-0.4.0
+ >=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 '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die
+
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die
+}