mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ruby/globalid: add 1.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST globalid-1.2.1.tar.gz 24210 BLAKE2B 0cd47d65b6af78b9201ba4300820f94c126e5e69683b87503967a8b7887b9638693d51a9a1d20277dc5678ca925c567d29ed21dc1805825386fe028ddc475074 SHA512 35f3252afd41226a3dd728238be226a1f2ebb62ca853874fdf35e296dd807603319105117d4585df98cdb577efda9166fc5e5733b7af5bea7073d5c44ddec2c1
|
||||
DIST globalid-1.3.0.tar.gz 24179 BLAKE2B 3e5e361850c7bec75ac25d1afb7528c0d4b759122d7b8b89cf164c4fef16432f2bbf346c59d8b4482e5ed82bfadc8cacca799dc82d89c7bbc402d1b11acb2cab SHA512 fc23616850a6500e6774c8cb6755f8bce08eca2516b8d03d1036c5e371eba682aca760996b8262cfac98ab3dd61c9fbceea875c7a6dfafdbd0989a6bd9cdfb60
|
||||
|
||||
40
dev-ruby/globalid/globalid-1.3.0.ebuild
Normal file
40
dev-ruby/globalid/globalid-1.3.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="globalid.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Reference models by URI"
|
||||
HOMEPAGE="https://github.com/rails/globalid"
|
||||
SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
<dev-ruby/activemodel-8.1
|
||||
<dev-ruby/railties-8.1
|
||||
)"
|
||||
ruby_add_rdepend ">=dev-ruby/activesupport-6.1:*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -f Gemfile.lock || die
|
||||
|
||||
# Ensure a version of rails compatible with the tests.
|
||||
sed -e '/^gem / s/$/, "<8.1"/' \
|
||||
-i Gemfile || die
|
||||
|
||||
# Work around a bug in Rails: https://github.com/rails/rails/pull/55227
|
||||
sed -e '3irequire "action_controller"' \
|
||||
-i test/cases/railtie_test.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user