diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-04 09:17:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-04 09:17:06 +0100 |
commit | 5e0e6a28799c4a5134e55d203b373f1d6811c004 (patch) | |
tree | 6512a6801267b6752a4b464d52debaecb9caeedd /dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild | |
parent | f71e91f3fbcdebf01a5ecf58164716586daeaa5b (diff) |
gentoo auto-resync : 04:08:2023 - 09:17:05
Diffstat (limited to 'dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild')
-rw-r--r-- | dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild b/dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild new file mode 100644 index 000000000000..d452247b8e3e --- /dev/null +++ b/dev-ruby/rails-dom-testing/rails-dom-testing-2.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Compare doms and assert certain elements exists in doms using Nokogiri" +HOMEPAGE="https://github.com/kaspth/rails-dom-testing" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-5.0.0:* + >=dev-ruby/nokogiri-1.6 + dev-ruby/minitest +" + +each_ruby_test() { + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} |