1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby22 ruby23 ruby24"
8 RUBY_FAKEGEM_TASK_DOC=""
10 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
12 RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
14 RUBY_FAKEGEM_BINWRAP=""
16 inherit ruby-fakegem versionator
18 DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource"
19 HOMEPAGE="https://github.com/rails/rails"
20 SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
23 SLOT="$(get_version_component_range 1-2)"
24 KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
27 RUBY_S="rails-${PV}/${PN}"
30 ~dev-ruby/activesupport-${PV}:*
35 ~dev-ruby/railties-${PV}
37 >=dev-ruby/mocha-0.14.0:0.14
38 >=dev-ruby/bcrypt-ruby-3.1.7
42 # Set test environment to our hand.
43 sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"