public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/web-console/
Date: Tue, 23 Jan 2018 06:53:11 +0000 (UTC)	[thread overview]
Message-ID: <1516690361.4167d3593fe78501b43fadaffd469224568a9cf6.graaff@gentoo> (raw)

commit:     4167d3593fe78501b43fadaffd469224568a9cf6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 06:35:39 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 06:52:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4167d359

dev-ruby/web-console: add ruby24, fix tests

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/web-console/web-console-2.3.0.ebuild | 11 +++++++----
 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 d8e0f407253..85f233836b9 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 081438ff720..eee8ecae574 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
 }


             reply	other threads:[~2018-01-23  6:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  6:53 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14  7:48 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/web-console/ Hans de Graaff
2024-05-23  6:13 Hans de Graaff
2023-09-06  5:34 Hans de Graaff
2023-07-08 20:22 Hans de Graaff
2023-04-27  7:42 Hans de Graaff
2022-04-16  7:08 Hans de Graaff
2022-03-26  7:48 Hans de Graaff
2021-11-22  6:37 Hans de Graaff
2021-07-07 19:15 Hans de Graaff
2021-07-03  6:26 Hans de Graaff
2021-07-02  7:23 Hans de Graaff
2020-09-19  5:59 Hans de Graaff
2020-09-19  5:59 Hans de Graaff
2020-06-06  8:04 Hans de Graaff
2020-05-05  8:06 Hans de Graaff
2019-09-04  5:34 Hans de Graaff
2019-05-06 17:58 Hans de Graaff
2018-12-18  5:58 Hans de Graaff
2018-09-03  5:07 Hans de Graaff
2018-06-06  4:44 Hans de Graaff
2018-06-06  4:44 Hans de Graaff
2018-05-03  4:42 Hans de Graaff
2018-04-22  4:30 Hans de Graaff
2018-04-13  6:20 Hans de Graaff
2018-03-02  9:57 Hans de Graaff
2018-01-23  6:53 Hans de Graaff
2017-06-15  5:58 Hans de Graaff
2017-05-06  7:52 Hans de Graaff
2017-04-23  6:02 Hans de Graaff
2016-11-24  6:12 Hans de Graaff
2016-09-11  6:54 Hans de Graaff
2016-03-13  6:41 Hans de Graaff
2015-10-08  8:13 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516690361.4167d3593fe78501b43fadaffd469224568a9cf6.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox