summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-21 11:21:31 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-22 07:37:31 +0100
commitee3199cbd09a969a6a7cba3ba66498b039388e9b (patch)
treef272a5d9f8becd72641c5c1028cdc78ca43e87fe /dev-ruby/web-console
parentdev-ruby/xdr: add 3.0.2 (diff)
downloadgentoo-ee3199cbd09a969a6a7cba3ba66498b039388e9b.tar.gz
gentoo-ee3199cbd09a969a6a7cba3ba66498b039388e9b.tar.bz2
gentoo-ee3199cbd09a969a6a7cba3ba66498b039388e9b.zip
dev-ruby/web-console: add 4.2.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/web-console')
-rw-r--r--dev-ruby/web-console/Manifest1
-rw-r--r--dev-ruby/web-console/web-console-4.2.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index c337ab873a20..13455cf358e5 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,2 +1,3 @@
DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b
DIST web-console-4.1.0.tar.gz 54722 BLAKE2B 242e588843e713b77c0689b17906bb0dad8784ad9b5fd255a174364afa83014d3cb022f1fb52a759aaa9f2453a1a944796c1a84edff65de6a5e1adaebccc4071 SHA512 c295dac733094a4ee4ce9dffa0d65001aa179cd17cc5b9a2a0a418e1e1a4ca3d40fab8bc3f8e099d55a0b7b07295e40d40dd1b3335ac98e9b0cd51590b130e10
+DIST web-console-4.2.0.tar.gz 53991 BLAKE2B 8145e5bf2e13230c7411a49af34129130fb99c8a65afc7b628d77572723cdfcb2afbdc9f3be63a9bad0d3d92013cc291882bbe228058e2b84595566a48b5cdba SHA512 3a9fd5c7a184fd28961a4d8d0e4ad9850d8a4fe39a9c97f13cbd78b34a69be49a78ad94570fcd45e8af6ef523948ead3fb4350a4e49fbbe76855b4115a9afc61
diff --git a/dev-ruby/web-console/web-console-4.2.0.ebuild b/dev-ruby/web-console/web-console-4.2.0.ebuild
new file mode 100644
index 000000000000..c81c9d39ea20
--- /dev/null
+++ b/dev-ruby/web-console/web-console-4.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/actionview-6.0:*
+ >=dev-ruby/activemodel-6.0:*
+ >=dev-ruby/bindex-0.4.0
+ >=dev-ruby/railties-6.0:*
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/bundler
+ >=dev-ruby/rails-6.0
+ dev-ruby/rack
+ dev-ruby/sqlite3
+ dev-ruby/mocha
+ www-servers/puma
+)"
+
+all_ruby_prepare() {
+ # Use an installed rails version rather than live source from github, and
+ # rack is now part of rails.
+ sed -e '/\(rack\|arel\|rails\|simplecov\)/ s/,/#/' \
+ -e '/\(byebug\|simplecov\)/ s:^:#:' \
+ -e '/arel/ s:^:#:' \
+ -i Gemfile || die
+
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die
+}