summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/web-console/Manifest1
-rw-r--r--dev-ruby/web-console/web-console-4.0.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index 9a9d571ee3c4..da359b2a3fac 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,3 +1,4 @@
DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b
DIST web-console-4.0.1.tar.gz 54076 BLAKE2B d1c93d828f7c0c33edaac664e2f763aff55bd8437c3f8e3b20cc5c065129a0b213234ea372147d5d6df0917d17cc458e63dad1aa64f9cbd67fbf0a02ab631c5e SHA512 7f2d931b94fc2e51edd28ca0f83473c382bd7ade6e425dd9c79770885efcdfbcf6a3a3223d36572d749da15b05126fd287412d2365d9faa33039de4bcb1c9b27
DIST web-console-4.0.2.tar.gz 54115 BLAKE2B fe1250ee27cb4df4367e6578d8f644be28fc0cc93b4c9df0f130490d57af1cf14e0d98459ea8404bd7633eb9ec88e6723626d69ec9ea8e39c8566d14c0d3eb04 SHA512 471728a66148bca36c2d7130bbb63d3fa427318bcf01a424b0e26781657990fcc836fb8707a53c396ab934003e53bb9282130a7cd36168007c774beb49e15d4d
+DIST web-console-4.0.4.tar.gz 54372 BLAKE2B 5b52c7dbeeeb13ae6cb8bff8982a7a696311e3667ef69b17611cf3ec8ab26b19869ec799e10d4140cc41cfb31a22af1f51134da06d05cca12b488c5470f6ae2a SHA512 66dbfb9d13be57b790053d748c88a9266e673cfcc253df67b4dbb00c874a4bd3601a61b633d5e3e470e010cb764c13846a7038247122140bdb78f40f673cd82b
diff --git a/dev-ruby/web-console/web-console-4.0.4.ebuild b/dev-ruby/web-console/web-console-4.0.4.ebuild
new file mode 100644
index 000000000000..d5cc8c49ccf8
--- /dev/null
+++ b/dev-ruby/web-console/web-console-4.0.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26"
+
+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="$(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/arel
+ 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.
+ sed -i -e '/\(rack\|arel\|rails\|simplecov\)/ s/,/#/' \
+ -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die
+
+ sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die
+}