rvm 0.0.70 → 0.0.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/lib/VERSION.yml +1 -1
  2. data/rvm.gemspec +1 -1
  3. data/scripts/utility +36 -8
  4. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 70
4
+ :patch: 71
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.0.70"
8
+ s.version = "0.0.71"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wayne E. Seguin"]
@@ -401,9 +401,9 @@ __rvm_list() {
401
401
  fi
402
402
  done ; unset version
403
403
 
404
- echo -e "\njruby:\n"
405
- for version in $(/bin/ls -l $rvm_path/ 2> /dev/null | awk '/jruby-.*/ { print $NF }') ; do
406
- string=$($rvm_path/$version/bin/ruby -v)
404
+ echo -e "\nree:\n"
405
+ for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/ree-.*/ { print $NF }') ; do
406
+ string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
407
407
  if [[ "$version" = "$current_ruby" ]] ; then
408
408
  echo -e "=> $version : $string"
409
409
  selected="1"
@@ -412,8 +412,8 @@ __rvm_list() {
412
412
  fi
413
413
  done ; unset version
414
414
 
415
- echo -e "\nree:\n"
416
- for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/ree-.*/ { print $NF }') ; do
415
+ echo -e "\nmput:\n"
416
+ for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/mput-.*/ { print $NF }') ; do
417
417
  string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
418
418
  if [[ "$version" = "$current_ruby" ]] ; then
419
419
  echo -e "=> $version : $string"
@@ -423,9 +423,9 @@ __rvm_list() {
423
423
  fi
424
424
  done ; unset version
425
425
 
426
- echo -e "\nmput:\n"
427
- for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/mput-.*/ { print $NF }') ; do
428
- string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
426
+ echo -e "\njruby:\n"
427
+ for version in $(/bin/ls -l $rvm_path/ 2> /dev/null | awk '/jruby-.*/ { print $NF }') ; do
428
+ string=$($rvm_path/$version/bin/ruby -v)
429
429
  if [[ "$version" = "$current_ruby" ]] ; then
430
430
  echo -e "=> $version : $string"
431
431
  selected="1"
@@ -434,6 +434,34 @@ __rvm_list() {
434
434
  fi
435
435
  done ; unset version
436
436
 
437
+ echo -e "\nrbx:\n"
438
+ # for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/rbx-.*/ { print $NF }') ; do
439
+ for version in "rbx-head" ; do
440
+ if [[ -f "$rvm_path/$version/bin/ruby" ]] ; then
441
+ string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
442
+ if [[ "$version" = "$current_ruby" ]] ; then
443
+ echo -e "=> $version : $string"
444
+ selected="1"
445
+ else
446
+ echo -e " $version : $string"
447
+ fi
448
+ fi
449
+ done ; unset version
450
+
451
+
452
+ if [[ "Darwin" = "$(uname)" ]] ; then
453
+ echo -e "\nmacruby:\n"
454
+ for version in $(/bin/ls $rvm_path/ 2> /dev/null | awk '/macruby-.*/ { print $NF }') ; do
455
+ string="$($rvm_path/$version/bin/ruby -v | tr "\n" ' ' )"
456
+ if [[ "$version" = "$current_ruby" ]] ; then
457
+ echo -e "=> $version : $string"
458
+ selected="1"
459
+ else
460
+ echo -e " $version : $string"
461
+ fi
462
+ done ; unset version
463
+ fi
464
+
437
465
  if [[ -f "$rvm_path/default" ]] && [[ -s $rvm_path/default ]] ; then
438
466
  version=$(grep '^MY_RUBY_HOME' ~/.rvm/default | awk -F"'" '{print $2}' | xargs basename)
439
467
  if [[ ! -z "$version" ]] ; then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.70
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin