dev-ruby/travis: add 1.8.10

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
Hans de Graaff
2019-05-08 21:56:15 +02:00
parent f8ad3d2708
commit c76cc399e5
2 changed files with 58 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST travis-1.8.10.gem 194048 BLAKE2B fa3daaa50e4c7024f6eac7978cecba526378022451deca9148a10b6f28528dc4ee5a42cc794628860b2861aafce0dc62c207023fc1f61676b48e00022112c834 SHA512 ca8adfb2d1541e157d1fa19837ce6d7a75ce491e0a3402447642f9f3b1f0c19ec16344016ed494947e3fde4e838669e4e5ba48087baea3f097605bef700dde55
DIST travis-1.8.9.gem 193536 BLAKE2B b889127e07b2126ef193d64361059d514db4df4e3dc70fd30b55dac3fe67624df20d156aa6d9842d6bb766788626358ab38d7e6a59455c91a80925628e30764b SHA512 fce5dfb8071629de172b8a91fad15b1d6fcc50af1ab1a41eaa1e5eb91042b90fd58e1be24779fb02972077af743ebd65183b2dff42ee47d48818f7ed2755980a

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_EXTRAINSTALL="assets"
inherit bash-completion-r1 ruby-fakegem
DESCRIPTION="Travis CI Client (CLI and Ruby library)"
HOMEPAGE="https://github.com/travis-ci/travis.rb"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
#RESTRICT="test"
DEPEND+="test? ( dev-vcs/git )"
RDEPEND+="dev-vcs/git"
ruby_add_bdepend "
test? ( >dev-ruby/rack-test-0.6 )
>dev-ruby/sinatra-1.3
"
ruby_add_rdepend "
dev-ruby/backports
>dev-ruby/faraday-0.9
>=dev-ruby/faraday_middleware-0.9.1
>dev-ruby/gh-0.13
>=dev-ruby/highline-1.6:0
>dev-ruby/launchy-2.1
>dev-ruby/pusher-client-0.4
dev-ruby/typhoeus:0
"
all_ruby_prepare() {
if use test ; then
git init --quiet . || die
git remote add origin "${HOMEPAGE}" || die
touch .travis.yml || die
fi
# Remove failing spec where cause is not fully clear.
# May be related to highline compatibility issues.
rm spec/cli/login_spec.rb || die
}
all_ruby_install() {
all_fakegem_install
newbashcomp "assets/travis.sh" "travis"
}