1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby25 ruby26"
8 RUBY_FAKEGEM_RECIPE_DOC=""
10 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
12 RUBY_FAKEGEM_BINWRAP=""
14 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
18 DESCRIPTION="Job framework with pluggable queues"
19 HOMEPAGE="https://github.com/rails/rails"
20 SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
24 KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86"
27 RUBY_S="rails-${PV}/${PN}"
30 ~dev-ruby/activesupport-${PV}
31 >=dev-ruby/globalid-0.3.6
40 # Set test environment to our hand.
41 sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths"
43 # Remove all currently unpackaged queues.
44 sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \
45 -e 's/delayed_job//' Rakefile || die
46 sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die