Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rails-dom-testing/
Date: Tue, 04 Jul 2017 05:00:19
Message-Id: 1499144359.9b8695c7296e33b4884e5de72d250240908aee1e.graaff@gentoo
1 commit: 9b8695c7296e33b4884e5de72d250240908aee1e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 4 04:56:45 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 4 04:59:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b8695c7
7
8 dev-ruby/rails-dom-testing: add ruby24
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 .../rails-dom-testing-1.0.8-r1.ebuild | 27 ++++++++++++++++++++++
13 1 file changed, 27 insertions(+)
14
15 diff --git a/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild b/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild
16 new file mode 100644
17 index 00000000000..fd352258a83
18 --- /dev/null
19 +++ b/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild
20 @@ -0,0 +1,27 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=5
25 +USE_RUBY="ruby21 ruby22 ruby23 ruby24"
26 +
27 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
28 +RUBY_FAKEGEM_EXTRADOC="README.md"
29 +
30 +inherit ruby-fakegem
31 +
32 +DESCRIPTION="Compare doms and assert certain elements exists in doms using Nokogiri"
33 +HOMEPAGE="https://github.com/kaspth/rails-dom-testing"
34 +
35 +LICENSE="MIT"
36 +SLOT="1"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~amd64-linux"
38 +IUSE=""
39 +
40 +ruby_add_rdepend "
41 + dev-ruby/activesupport:4.2
42 + >=dev-ruby/nokogiri-1.6.0 =dev-ruby/nokogiri-1*
43 + >=dev-ruby/rails-deprecated_sanitizer-1.0.1"
44 +
45 +each_ruby_test() {
46 + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
47 +}