diff options
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r-- | dev-ruby/stringex/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/stringex/stringex-2.8.5-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/stringex/stringex-2.8.5-r3.ebuild | 36 |
3 files changed, 39 insertions, 2 deletions
diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest index a59b20c6e06f..b784d822940e 100644 --- a/dev-ruby/stringex/Manifest +++ b/dev-ruby/stringex/Manifest @@ -1,3 +1,4 @@ DIST stringex-2.8.5.gem 130048 BLAKE2B c07eaaee07bf348690166b41b0846bc49eb49c5ba9e39c7eaeea2a3a60d6089edd7c7d1d75fd9a5208c9883c4bff8840ccf56c6f186daeabcf79e7f4fb6b4d25 SHA512 53f9908f176f465d2e884e92dffb26abcdf75593c94ee8250253da0eb29eddf489cf5b3f539135659ad4c0e2dd738d2affff6a946c50abd5f36517148d8338ce -EBUILD stringex-2.8.5-r2.ebuild 837 BLAKE2B 44013be4703b7196af7a2ba4fd99f996627a94acdc3ad1d5a8c4d6fdc5d0a8235298bafce60e547e6ca13f8abbb782f4e2e3bef31be24b13c7ea5861a6d98051 SHA512 f215224fddde09119ddad841bb7d6cc69adb72c06b57357dac3fff692a1d8447a4880e0372fe3e959fbc45c84dffef208952a778459a817b39b60b86fce0436e +EBUILD stringex-2.8.5-r2.ebuild 844 BLAKE2B 75936c5fbb8d1f776fb143a947d5337a354bda0c60d6320f314b40ee061355c944d9c61d20e533c47fbe3c02faaae88bbaf38f2ce66bdfa27723b72f307a5329 SHA512 ab10bb7d1ffa7e156348ef9e9306ff42a4e6601555e47506fe17bafa273ed04272c5b6ec27a066e0a5831a0f1bf04261931becbaf7cac7f8150f600725a3a34d +EBUILD stringex-2.8.5-r3.ebuild 881 BLAKE2B 651756ef5560be043dea8c6e061dcff8ab9a453f21453d72084900b6fd45fdc13b576d805d61b653789154f6ffc54607ed0dbd8d36eab94a9e21653ba4611fcc SHA512 b45ca6c682db0d0344b7b43a93dc685453f3eb476763705ab2d3f4eab12529575370a13adbaaf3f0f742654e9f58c729413bba1093169ff734da246bd18e0229 MISC metadata.xml 339 BLAKE2B f73c3a0f80358652d11426529ad603b32ea4ef3b882be5d1862ffa94d35fc49a154406d66eff59d61544d6c35a8aaf841f553f689e4fdedffd88337d2be3ce4c SHA512 87d2f65efec8bab706894e788d2c6ac548221684034bc93cf43efc104fd2340188ad8aaf1e9e484ab40475aee38a7bd9227b55f73e8ae31c39548c297bb18d32 diff --git a/dev-ruby/stringex/stringex-2.8.5-r2.ebuild b/dev-ruby/stringex/stringex-2.8.5-r2.ebuild index 8a1bc01b272d..3cf725072051 100644 --- a/dev-ruby/stringex/stringex-2.8.5-r2.ebuild +++ b/dev-ruby/stringex/stringex-2.8.5-r2.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" inherit ruby-fakegem DESCRIPTION="Extensions for Ruby's String class" diff --git a/dev-ruby/stringex/stringex-2.8.5-r3.ebuild b/dev-ruby/stringex/stringex-2.8.5-r3.ebuild new file mode 100644 index 000000000000..f05feaccc48d --- /dev/null +++ b/dev-ruby/stringex/stringex-2.8.5-r3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" +RUBY_FAKEGEM_EXTRAINSTALL="locales" +inherit ruby-fakegem + +DESCRIPTION="Extensions for Ruby's String class" +HOMEPAGE="https://github.com/rsl/stringex" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend " + test? ( + dev-ruby/i18n:1 + dev-ruby/redcloth + dev-ruby/test-unit:2 + )" + +all_ruby_prepare() { + # Let tests work with newer rails versions + sed -i -e 's/update_attributes/update/' test/unit/acts_as_url/adapter/* || die +} + +each_ruby_prepare() { + if has_version "dev-ruby/activerecord[ruby_targets_${_ruby_implementation},sqlite]" ; then + einfo "Testing activerecord integration" + else + rm -f test/unit/acts_as_url_integration_test.rb || die + fi +} |