diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-09-04 07:20:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-09-04 07:34:15 +0200 |
commit | ed379b9f5cdd03b42f786c164334c08f8dc6f328 (patch) | |
tree | 43a5a856f64b03c0ef4956f3b8c4d1334aac276f /dev-ruby/web-console/web-console-4.0.1.ebuild | |
parent | dev-ruby/webmock: add 3.7.1 (diff) | |
download | gentoo-ed379b9f5cdd03b42f786c164334c08f8dc6f328.tar.gz gentoo-ed379b9f5cdd03b42f786c164334c08f8dc6f328.tar.bz2 gentoo-ed379b9f5cdd03b42f786c164334c08f8dc6f328.zip |
dev-ruby/web-console: add 4.0.1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/web-console/web-console-4.0.1.ebuild')
-rw-r--r-- | dev-ruby/web-console/web-console-4.0.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/web-console/web-console-4.0.1.ebuild b/dev-ruby/web-console/web-console-4.0.1.ebuild new file mode 100644 index 000000000000..fc404eb434cc --- /dev/null +++ b/dev-ruby/web-console/web-console-4.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 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/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 +} |