From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-854092-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 669AD1384B4
	for <garchives@archives.gentoo.org>; Tue, 29 Dec 2015 10:39:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AAD7A21C001;
	Tue, 29 Dec 2015 10:39:36 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 513A721C001
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Dec 2015 10:39:36 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 728B4340702
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Dec 2015 10:39:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D7CB213A
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Dec 2015 10:39:31 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1451385553.8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1.graaff@gentoo>
Subject: [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
X-VCS-Repository: proj/ruby-scripts
X-VCS-Files: eselect-ruby/ruby.eselect
X-VCS-Directories: eselect-ruby/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1
X-VCS-Branch: master
Date: Tue, 29 Dec 2015 10:39:31 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 8911ab99-3e3d-4e00-89b1-3a8a3594b5ac
X-Archives-Hash: e0c2327981530dc1295743706f9e3ae2

commit:     8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Dec 29 10:39:13 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:39:13 2015 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=8d1eff1a

Add ruby23 support

 eselect-ruby/ruby.eselect | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 883d1ff..2dfcd33 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20141227"
-VERSION="20141227"
+SVN_DATE="20151229"
+VERSION="20151229"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done
@@ -62,7 +62,7 @@ create_symlinks() {
 	local target=${1} version
 
 	version=${target##*ruby}
-	
+
 	local path="${EROOT}${bindir}/"
 	# these have to work
 	for f in "ruby" "irb" "erb" "ri" "testrb" "rdoc" ; do
@@ -108,7 +108,7 @@ do_show() {
 		write_kv_list_entry "(none)"
 		return 1
 	fi
-	
+
 	write_list_start "Current Rubygems version:"
 	if [[ -L "${EROOT}${bindir}/gem" ]] ; then
 		write_kv_list_entry "$(basename $(canonicalise ${EROOT}${bindir}/gem ) )" ""
@@ -163,11 +163,11 @@ describe_set_parameters() {
 
 do_set() {
 	[[ -z ${@} ]] && die -q "Parameter expected."
-	
+
 	local target=$(check_target ${1})
-	
+
 	[[ $target = "invalid" ]] && die -q "Can't use that profile. No suitable Ruby interpreter found."
-	
+
 	remove_symlinks || \
 		die -q "Could not remove symlinks"