dev-ruby/travis: install bash-comp as well
authorChristoph Junghans <ottxor@gentoo.org>
Wed, 24 Feb 2016 23:30:55 +0000 (16:30 -0700)
committerChristoph Junghans <ottxor@gentoo.org>
Mon, 29 Feb 2016 20:21:17 +0000 (13:21 -0700)
Package-Manager: portage-2.2.26

dev-ruby/travis/travis-1.8.2-r1.ebuild [moved from dev-ruby/travis/travis-1.8.2.ebuild with 84% similarity]

similarity index 84%
rename from dev-ruby/travis/travis-1.8.2.ebuild
rename to dev-ruby/travis/travis-1.8.2-r1.ebuild
index c786ee423a1186108ee8a01108569c6afd9c847e..6b1eb288cde3a9827076c8565af97607c2ed4048 100644 (file)
@@ -7,7 +7,7 @@ USE_RUBY="ruby20 ruby21"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
-inherit ruby-fakegem
+inherit bash-completion-r1 ruby-fakegem
 
 DESCRIPTION="Travis CI Client (CLI and Ruby library) "
 HOMEPAGE="https://github.com/travis-ci/travis.rb"
@@ -33,3 +33,9 @@ ruby_add_rdepend "
        >dev-ruby/pusher-client-0.4
        >=dev-ruby/typhoeus-0.6.8
 "
+
+all_ruby_install() {
+       all_fakegem_install
+
+       newbashcomp "assets/travis.sh" "travis"
+}