diff options
author | Hans de Graaff <hans@degraaff.org> | 2024-03-22 07:21:36 +0100 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2024-03-22 07:21:36 +0100 |
commit | 2a71e6817f5317b3ce9d8d58db20fb5d7a341394 (patch) | |
tree | 9565dcd2748a95dc25f47eacc0f60ddd66a26c26 /dev-ruby/better_html | |
parent | dev-ruby/html_tokenizer: add 0.0.8 (diff) | |
download | graaff-2a71e6817f5317b3ce9d8d58db20fb5d7a341394.tar.gz graaff-2a71e6817f5317b3ce9d8d58db20fb5d7a341394.tar.bz2 graaff-2a71e6817f5317b3ce9d8d58db20fb5d7a341394.zip |
dev-ruby/better_html: add 2.1.1
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-ruby/better_html')
-rw-r--r-- | dev-ruby/better_html/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/better_html/better_html-2.1.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/better_html/Manifest b/dev-ruby/better_html/Manifest index 318ee8e0..7e4eb123 100644 --- a/dev-ruby/better_html/Manifest +++ b/dev-ruby/better_html/Manifest @@ -1,2 +1,3 @@ DIST better_html-2.0.2.tar.gz 55721 BLAKE2B 6b23221b0e68da17a6e5401d17d7bc05388abacabf9a772e5318d7e76ec5d0bb4557ff7b11db650ba909da30a20e60271669e28e7ccb760dadd3ac831be93b2b SHA512 232666f5643466e3088deb12e003ff68d9a6edcefd425c5ac7c6428418632a14d393c0c3f7b803711afc0380784aec42c6de3c615df6f40ef0c0997bcdb80255 DIST better_html-2.1.0.tar.gz 56380 BLAKE2B 4337d368caba080003e5a8583ada04079da8c14f4135513a28bdfd8e2d229983b64df77bb96db920e37df3dc2f288ace3f3f462f76c7ffce2b3319a485df6614 SHA512 a74f512e810bc1667e01b2f3e9bac0dfc1c6bfb7f5ca83d893e07296cffe6418d50a7f0076c7db641dcf592ff8fbeebf0d85266dda40c83f79e20f9dfe65634b +DIST better_html-2.1.1.tar.gz 56572 BLAKE2B 77bdc7b0436cf4e0fbe51b7db9bc402da5a2bc41ad684a0f27e034bf2400fa030cef269ccaded9d599e85b3b2a87475334e039d28b55c99e53d7e94f60c11fbc SHA512 154799ade7885bba70ebc651cecdcf02439ca17d6812099edf6a428da42f9a2caf8020b3478650898cfd65201b6a069dc4a8e13a6c6c59e3e93263dfa70de7b3 diff --git a/dev-ruby/better_html/better_html-2.1.1.ebuild b/dev-ruby/better_html/better_html-2.1.1.ebuild new file mode 100644 index 00000000..4e809a51 --- /dev/null +++ b/dev-ruby/better_html/better_html-2.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTENSIONS=(ext/better_html_ext/extconf.rb) +RUBY_FAKEGEM_GEMSPEC="better_html.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Better HTML for Rails" +HOMEPAGE="https://github.com/Shopify/better-html" +SRC_URI="https://github.com/Shopify/better-html/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="better-html-${PV}" + +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/actionview-6.0:* + >=dev-ruby/activesupport-6.0:* + dev-ruby/ast:0 + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/parser-2.4 + dev-ruby/smart_properties +" + +ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/railties )" + +all_ruby_prepare() { + # Avoid test that requires bundler and a very specific associated + # setup. + rm -rf test/better_html/railtie_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/**/*_test.rb'].each{|f| require f}" || die +} |