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/will_paginate/
Date: Thu,  1 Sep 2016 19:49:55 +0000 (UTC)	[thread overview]
Message-ID: <1472759384.700a91cdc0de080c0cc47fabfdf312a4681828ab.graaff@gentoo> (raw)

commit:     700a91cdc0de080c0cc47fabfdf312a4681828ab
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 19:21:20 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 19:49:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700a91cd

dev-ruby/will_paginate: fix tests, add ruby23 revision

Package-Manager: portage-2.2.28

 ..._paginate-3.1.0.ebuild => will_paginate-3.1.0-r1.ebuild} | 13 ++++++++++---
 dev-ruby/will_paginate/will_paginate-3.1.0.ebuild           |  9 ++++++++-
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild b/dev-ruby/will_paginate/will_paginate-3.1.0-r1.ebuild
similarity index 61%
copy from dev-ruby/will_paginate/will_paginate-3.1.0.ebuild
copy to dev-ruby/will_paginate/will_paginate-3.1.0-r1.ebuild
index a27a210..4a59d88 100644
--- a/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild
+++ b/dev-ruby/will_paginate/will_paginate-3.1.0-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -17,11 +17,18 @@ HOMEPAGE="https://github.com/mislav/will_paginate/"
 
 LICENSE="MIT"
 SLOT="3"
-KEYWORDS="~amd64 ~x86 ~x86-macos"
+KEYWORDS="~amd64 ~x86-macos"
 IUSE=""
 
+all_ruby_prepare() {
+	sed -i -e '1igem "rails", "<5"' spec/spec_helper.rb || die
+
+	# Remove tests for unpackaged ORMs
+	rm -f spec/finders/{sequel,mongoid,data_mapper}* || die
+}
+
 ruby_add_bdepend "
 	test? (
-		dev-ruby/rails
+		<dev-ruby/rails-5
 		dev-ruby/mocha
 	)"

diff --git a/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild b/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild
index a27a210..ec0e482 100644
--- a/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild
+++ b/dev-ruby/will_paginate/will_paginate-3.1.0.ebuild
@@ -20,8 +20,15 @@ SLOT="3"
 KEYWORDS="~amd64 ~x86 ~x86-macos"
 IUSE=""
 
+all_ruby_prepare() {
+	sed -i -e '1igem "rails", "<5"' spec/spec_helper.rb || die
+
+	# Remove tests for unpackaged ORMs
+	rm -f spec/finders/{sequel,mongoid,data_mapper}* || die
+}
+
 ruby_add_bdepend "
 	test? (
-		dev-ruby/rails
+		<dev-ruby/rails-5
 		dev-ruby/mocha
 	)"


             reply	other threads:[~2016-09-01 19:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 19:49 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-16  7:09 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/will_paginate/ Hans de Graaff
2024-06-15  6:04 Hans de Graaff
2024-05-23  6:13 Hans de Graaff
2023-08-28  9:25 Hans de Graaff
2023-07-09 12:23 Hans de Graaff
2023-07-08 20:22 Hans de Graaff
2023-04-07 18:11 Sam James
2022-06-26  5:43 Hans de Graaff
2022-04-16  7:08 Hans de Graaff
2022-04-09 12:08 Hans de Graaff
2021-08-13  6:56 Hans de Graaff
2021-07-06 10:26 Hans de Graaff
2021-01-06 18:32 Fabian Groffen
2020-09-06  6:48 Hans de Graaff
2020-06-06  9:02 Hans de Graaff
2020-06-06  9:02 Hans de Graaff
2020-02-26  6:25 Hans de Graaff
2019-10-15  6:04 Hans de Graaff
2019-10-15  6:04 Hans de Graaff
2019-10-10  5:42 Hans de Graaff
2019-08-25  6:38 Hans de Graaff
2019-05-06 17:58 Hans de Graaff
2019-03-24  8:35 Hans de Graaff
2018-08-07 18:03 Hans de Graaff
2017-12-09  7:55 Hans de Graaff
2017-08-23  6:14 Hans de Graaff
2017-08-09  4:49 Hans de Graaff
2017-08-09  4:49 Hans de Graaff
2016-10-16 14:53 Manuel Rüger
2016-08-29  0:14 Manuel Rüger
2016-03-17  0:35 Manuel Rüger
2016-01-05  6:07 Hans de Graaff
2016-01-05  6:07 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=1472759384.700a91cdc0de080c0cc47fabfdf312a4681828ab.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