From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
Date: Tue, 29 Dec 2015 10:39:31 +0000 (UTC) [thread overview]
Message-ID: <1451385553.8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1.graaff@gentoo> (raw)
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"
next reply other threads:[~2015-12-29 10:39 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 10:39 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-25 5:41 [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/ Hans de Graaff
2023-12-26 8:24 Hans de Graaff
2023-10-08 8:39 Hans de Graaff
2023-08-13 6:41 Hans de Graaff
2023-08-13 6:41 Hans de Graaff
2023-04-09 7:37 Hans de Graaff
2022-03-13 7:11 Hans de Graaff
2020-12-25 8:01 Hans de Graaff
2019-12-22 9:05 Hans de Graaff
2019-01-21 18:36 Hans de Graaff
2018-12-25 6:28 Hans de Graaff
2017-12-25 7:33 Hans de Graaff
2017-12-25 7:33 Hans de Graaff
2017-07-23 7:46 Hans de Graaff
2017-07-23 7:46 Hans de Graaff
2017-07-23 7:46 Hans de Graaff
2016-12-26 16:38 Hans de Graaff
2015-12-29 10:56 Hans de Graaff
2014-12-27 19:07 Manuel Rüger
2013-12-27 7:35 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2012-01-05 21:47 Alex Legler
2011-03-06 15:28 Alex Legler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451385553.8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox