forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ruby/will_paginate: fix tests, add ruby23 revision
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
USE_RUBY="ruby20 ruby21 ruby22 ruby23" | ||
|
||
RUBY_FAKEGEM_RECIPE_TEST="rspec" | ||
|
||
RUBY_FAKEGEM_TASK_DOC="" | ||
RUBY_FAKEGEM_EXTRADOC="README.md" | ||
|
||
inherit ruby-fakegem | ||
|
||
DESCRIPTION="Most awesome pagination solution for Ruby" | ||
HOMEPAGE="https://github.com/mislav/will_paginate/" | ||
|
||
LICENSE="MIT" | ||
SLOT="3" | ||
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-5 | ||
dev-ruby/mocha | ||
)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters