# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

USE_RUBY="ruby31 ruby32"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"

inherit ruby-fakegem

RUBY_FAKEGEM_EXTRAINSTALL="app config db spec"

DESCRIPTION="Code for modeling and managing credentials in Metasploit"
HOMEPAGE="https://github.com/rapid7/metasploit-credential"

LICENSE="BSD"
SLOT="$(ver_cut 1-2)"
#FIXME: Gentoo's net-ssh/rubyntlm is not arm64
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT=test

ruby_add_rdepend "dev-ruby/metasploit-concern:4.0
	dev-ruby/metasploit_data_models:5.0
	dev-ruby/metasploit-model
	dev-ruby/net-ssh:*
	dev-ruby/pg:*
	dev-ruby/railties:6.0
	dev-ruby/rex-socket
	dev-ruby/rubyntlm
	dev-ruby/rubyzip:*"