diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-23 07:35:39 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-23 07:52:41 +0100 |
commit | 4167d3593fe78501b43fadaffd469224568a9cf6 (patch) | |
tree | 9dce479cacd075d88775f3144dc64c0898e7dfb7 /dev-ruby/web-console | |
parent | dev-ruby/web-console: cleanup (diff) | |
download | gentoo-4167d3593fe78501b43fadaffd469224568a9cf6.tar.gz gentoo-4167d3593fe78501b43fadaffd469224568a9cf6.tar.bz2 gentoo-4167d3593fe78501b43fadaffd469224568a9cf6.zip |
dev-ruby/web-console: add ruby24, fix tests
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/web-console')
-rw-r--r-- | dev-ruby/web-console/web-console-2.3.0.ebuild | 11 | ||||
-rw-r--r-- | dev-ruby/web-console/web-console-3.5.1.ebuild | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-ruby/web-console/web-console-2.3.0.ebuild b/dev-ruby/web-console/web-console-2.3.0.ebuild index d8e0f4072532..85f233836b9d 100644 --- a/dev-ruby/web-console/web-console-2.3.0.ebuild +++ b/dev-ruby/web-console/web-console-2.3.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23" +USE_RUBY="ruby22 ruby23" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" @@ -29,7 +29,7 @@ ruby_add_rdepend " ruby_add_bdepend "test? ( dev-ruby/bundler - >=dev-ruby/rails-4.0 + dev-ruby/rails:4.2 dev-ruby/sqlite3 dev-ruby/mocha dev-ruby/simplecov @@ -37,5 +37,8 @@ ruby_add_bdepend "test? ( all_ruby_prepare() { # Use an installed rails version rather than live source from github. - sed -i -e '/rails/ s/,/#/' Gemfile || die + sed -i -e "/'rails'/ s/,/, '~> 4.2' #/" \ + -e "/'arel'/ s/,/#/" \ + -e '/simplecov/ s:^:#:' Gemfile || die + sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die } diff --git a/dev-ruby/web-console/web-console-3.5.1.ebuild b/dev-ruby/web-console/web-console-3.5.1.ebuild index 081438ff720a..eee8ecae5741 100644 --- a/dev-ruby/web-console/web-console-3.5.1.ebuild +++ b/dev-ruby/web-console/web-console-3.5.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby22 ruby23" +USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" @@ -38,7 +38,7 @@ ruby_add_bdepend "test? ( all_ruby_prepare() { # Use an installed rails version rather than live source from github. sed -i -e '/\(rack\|rails\|simplecov\)/ s/,/#/' \ - -e '/simplecov/d' Gemfile || die + -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die } |