protected_attributes: correct deps

This commit is contained in:
blshkv 2016-07-10 22:51:49 +08:00
parent b4ca622770
commit d411b36dbd
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
3 changed files with 27 additions and 24 deletions

View file

@ -0,0 +1,27 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21"
inherit ruby-fakegem
DESCRIPTION="Protect attributes from mass assignment"
HOMEPAGE="https://github.com/rails/protected_attributes"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="|| ( dev-ruby/activemodel:4.0 dev-ruby/activemodel:4.1 dev-ruby/activemodel:4.2 )"
#dev deps:
#|| ( dev-ruby/actionpack:4.0 dev-ruby/actionpack:4.1 dev-ruby/actionpack:4.2 )
# || ( dev-ruby/activerecord:4.0 dev-ruby/activerecord:4.1 dev-ruby/activerecord:4.2 )
# || ( dev-ruby/railties:4.0 dev-ruby/railties:4.1 dev-ruby/railties:4.2 )
# dev-ruby/sqlite3
# dev-ruby/mocha:=
#"

View file

@ -1,24 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21"
inherit ruby-fakegem
DESCRIPTION="Protect attributes from mass assignment"
HOMEPAGE="https://github.com/rails/protected_attributes"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="|| ( dev-ruby/actionpack:4.0 dev-ruby/actionpack:4.1 dev-ruby/actionpack:4.2 )
|| ( dev-ruby/activerecord:4.0 dev-ruby/activerecord:4.1 dev-ruby/activerecord:4.2 )
|| ( dev-ruby/railties:4.0 dev-ruby/railties:4.1 dev-ruby/railties:4.2 )
dev-ruby/sqlite3
dev-ruby/mocha:=
"