commit:     5964d8727bde4d3ea155b2f8eb7556e9e865cef2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 05:52:43 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 06:19:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5964d872

dev-ruby/web-console: add 3.6.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/web-console/Manifest                 |  1 +
 dev-ruby/web-console/web-console-3.6.0.ebuild | 44 +++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest
index ace635f6aca..5ecc0febf35 100644
--- a/dev-ruby/web-console/Manifest
+++ b/dev-ruby/web-console/Manifest
@@ -1,2 +1,3 @@
 DIST web-console-2.3.0.tar.gz 47641 BLAKE2B 
2756f3958ea77df7dbdf7e7bd79f64711b4f958433f347175a29db2272ba549c79f1f94e2be18c17ceb8f4f1e8d281cf09995354f6ccd21da314df14dde886ec
 SHA512 
36136242012053c2049b0faef682a8fe79f931904cd1007a6e08f36aca7a8923fc47fc058304f11cc0b205db876ca77b1cca65048c8ba4db401123ed9c05c834
 DIST web-console-3.5.1.tar.gz 50779 BLAKE2B 
e94ebd0bb5ddea665849155bed0bf5a1c9025a48ebdf6a8ea7b032ee5397aa75d63a91e173ba03b49af7833d27950398f50fd189c20b8fdf53738ed4af7bf0cf
 SHA512 
0a28744f8d138a8900f368884cb65a3ab147e3f3fbabe194b15def5f05098a519692155e13a15a758b95c943e861057018b60c75e664b7dc4991a6c3803d1290
+DIST web-console-3.6.0.tar.gz 52676 BLAKE2B 
53ed5bab0f30c756f930d1f5531b7100fe468d186841b9a7e646dc0b993649fe3c7d253ab4442e490011aac7f0fb13803f3877f7694dfbf481ce2a2e71653500
 SHA512 
4ac94124bb0b1161cda0c4060f888d2e442f0f63f38ef77762f62e0c84016461c3641453c7ffef17c5a6005e824c9a59821d5719aa97d72f5717423ed585fdd2

diff --git a/dev-ruby/web-console/web-console-3.6.0.ebuild 
b/dev-ruby/web-console/web-console-3.6.0.ebuild
new file mode 100644
index 00000000000..eee8ecae574
--- /dev/null
+++ b/dev-ruby/web-console/web-console-3.6.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}

Reply via email to