commit:     f529f97b793533dd2196be2ebf81c1fd96c456b0
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Mar 10 19:06:35 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 19:06:35 2015 +0000
URL:        https://gitweb.gentoo.org/dev/graaff.git/commit/?id=f529f97b

Fix use of hardcoded /tmp path in specs.

Package-Manager: portage-2.2.14

 dev-ruby/rubocop/ChangeLog             | 3 +++
 dev-ruby/rubocop/rubocop-0.29.1.ebuild | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/dev-ruby/rubocop/ChangeLog b/dev-ruby/rubocop/ChangeLog
index 43f3b08..8a659ae 100644
--- a/dev-ruby/rubocop/ChangeLog
+++ b/dev-ruby/rubocop/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Mar 2015; Hans de Graaff <[email protected]> rubocop-0.29.1.ebuild:
+  Fix use of hardcoded /tmp path in specs.
+
 *rubocop-0.29.1 (10 Mar 2015)
 
   10 Mar 2015; Hans de Graaff <[email protected]> +rubocop-0.29.1.ebuild,

diff --git a/dev-ruby/rubocop/rubocop-0.29.1.ebuild 
b/dev-ruby/rubocop/rubocop-0.29.1.ebuild
index 31fca23..38b13d5 100644
--- a/dev-ruby/rubocop/rubocop-0.29.1.ebuild
+++ b/dev-ruby/rubocop/rubocop-0.29.1.ebuild
@@ -32,4 +32,6 @@ ruby_add_rdepend "
 all_ruby_prepare() {
        # Remove failing spec, to be investigated later.
        rm spec/rubocop/formatter/json_formatter_spec.rb || die
+
+       sed -i -e 's:/tmp/example:'${TMPDIR}'/example:' 
spec/rubocop/cop/team_spec.rb || die
 }

Reply via email to