dev-ruby/activejob - 8.0.5.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ruby/activejob-8.0.5.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ruby/activejob-8.0.5.1

Or alternatively:

emerge --autounmask-write -a =dev-ruby/activejob-8.0.5.1

Package Information

Description:
Job framework with pluggable queues
Homepage:
https://github.com/rails/rails
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
8.0.5.1 8 ~amd64 ~arm64 ~ppc64 ~riscv ~sparc ~x86 $(ver_cut 1-2)
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33 ruby34 ruby40"

RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_DOCDIR=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_RECIPE_DOC=""

inherit edo ruby-fakegem

DESCRIPTION="Job framework with pluggable queues"
HOMEPAGE="https://github.com/rails/rails"

SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
RUBY_S="rails-${PV}/${PN}"

LICENSE="MIT"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~sparc ~x86"

ruby_add_rdepend "
	~dev-ruby/activesupport-${PV}
	>=dev-ruby/globalid-0.3.6
"

ruby_add_bdepend "
	test? (
		dev-ruby/bundler
		dev-ruby/minitest:6
		dev-ruby/minitest-mock
	)
"

all_ruby_prepare() {
	# Replace Gemfile with something simpler for the test run
	cat <<-EOF > ../Gemfile || die
	source "https://rubygems.org"
	gemspec

	gem "rake"

	gem "minitest", "~> 6.0"
	gem "minitest-mock"
	EOF
	rm ../Gemfile.lock || die

	# Unpackaged
	sed -e '/SneakersAdapter/ s:^:#:' -i test/cases/exceptions_test.rb || die
}

each_ruby_test() {
	local -x BUNDLE_GEMFILE="../Gemfile"
	local -x MT_NO_PLUGINS=true
	edo ${RUBY} -S bundle exec ${RUBY} --disable=did_you_mean -S rake test:test
}

Inherited Eclasses

edo

Manifest for 8.0.5.1

Type File Size Source URLs
DIST rails-8.0.5.1.tgz 11920723 bytes https://github.com/rails/rails/archive/v8.0.5.1.tar.gz