rvm 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/config/db CHANGED
@@ -25,7 +25,7 @@ jruby_url=http://jruby.kenai.com/downloads
25
25
  macruby_version=nightly
26
26
  macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
27
27
  macruby_nightly_url=http://macruby.icoretech.org/latest/macruby_nightly-latest.pkg
28
- maglev_version=22725
28
+ maglev_version=22780
29
29
  maglev_url=http://glass-downloads.gemstone.com/maglev
30
30
  maglev_repo_url=git://github.com/MagLev/maglev.git
31
31
  rubinius_repo_url=git://github.com/evanphx/rubinius.git
data/config/md5 CHANGED
@@ -21,9 +21,13 @@ rubygems-1.3.5.tgz=6e317335898e73beab15623cdd5f8cff
21
21
  MagLev-22683.Darwin-i386.tar.gz=bf58b17bc2ca62ac0ca9304e8909985c
22
22
  MagLev-22725.Darwin-i386.tar.gz=31f615a51c1bd02b002ba502d3af6b9b
23
23
  MagLev-22725.Linux-x86_64.tar.gz=b20d1ccf2071537c66d382079db947ae
24
+ MagLev-22780.Darwin-i386.tar.gz=e0a23dff3a9c67a6873faf4b82727bd9
25
+ MagLev-22780.Linux-x86_64.tar.gz=63e3acc32ef49c8198c811fcc29c52de
24
26
  GemStone-22725.Linux-x86_64.tar.gz=41747ab3ff3207a007026a8161e286bc
25
27
  GemStone-22683.Darwin-i386.tar.gz=62ff6be1a99ae708e97d6d43eb044e5a
26
28
  GemStone-22725.Darwin-i386.tar.gz=a183fd8dc593258a0ca067283414227a
29
+ GemStone-22780.Darwin-i386.tar.gz=54d5c92153f9473e4f892f583706106c
30
+ GemStone-22780.Linux-x86_64.tar.gz=97a511b4f4d835653d4a2c6ccef3e9e1
27
31
  zlib-1.2.3.tar.gz=debc62758716a169df9f62e6ab2bc634
28
32
  curl-7.19.7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
29
33
  jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
data/lib/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
data/rvm.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
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"]
data/scripts/manage CHANGED
@@ -708,18 +708,25 @@ __rvm_fetch_ruby() {
708
708
  fi
709
709
  fi
710
710
  else
711
- if [[ ! -z "$rvm_head_flag" ]] || [[ "trunk" = "$rvm_ruby_revision" ]] ; then
712
- rvm_url="${rvm_url:-"$rvm_ruby_repo_url/trunk"}"
713
- rvm_rev=""
714
- elif [[ ! -z "$rvm_ruby_tag" ]] ; then
711
+ if [[ ! -z "$rvm_ruby_tag" ]] ; then
715
712
  # TODO: Check if tag v is valid
716
713
  rvm_url="${rvm_url:-"$rvm_ruby_repo_url/tags/$(echo $rvm_ruby_tag | sed 's/^t//')"}"
717
- rvm_rev=""
718
- elif [[ "$rvm_major_version.$rvm_minor_version" = "8.8" ]] ; then
714
+ elif [[ -z "$rvm_ruby_version" ]] && [[ ! -z "$rvm_head_flag" ]] ; then
715
+ rvm_url="${rvm_url:-"$rvm_ruby_repo_url/trunk"}"
716
+ elif [[ "$rvm_major_version" = "9" ]] ; then
717
+ if [[ -z "$rvm_minor_version" ]] || [[ "$rvm_minor_version" = 2 ]] ; then
718
+ rvm_url="${rvm_url:-"$rvm_ruby_repo_url/trunk"}"
719
+ else
720
+ rvm_url="${rvm_url:-"$rvm_ruby_repo_url/branches/ruby_1_${rvm_major_version}_${rvm_minor_version}"}"
721
+ fi
722
+ elif [[ -z "$rvm_minor_version" ]] || [[ "$rvm_major_version.$rvm_minor_version" = "8.8" ]] ; then
719
723
  rvm_url="${rvm_url:-"$rvm_ruby_repo_url/branches/ruby_1_${rvm_major_version}"}"
720
- rvm_rev="-$rvm_ruby_revision"
721
724
  else
722
725
  rvm_url="${rvm_url:-"$rvm_ruby_repo_url/branches/ruby_1_${rvm_major_version}_${rvm_minor_version}"}"
726
+ fi
727
+
728
+ rvm_rev=""
729
+ if [ ! -z "$rvm_ruby_revision" ] ; then
723
730
  rvm_rev="-$rvm_ruby_revision"
724
731
  fi
725
732
 
data/scripts/selector CHANGED
@@ -153,8 +153,11 @@ __rvm_select() {
153
153
  ;;
154
154
 
155
155
  ruby)
156
- rvm_ruby_repo_url="${rvm_ruby_repo_url:-"$(__rvm_db "ruby_repo_url")"}"
157
- if [[ -z "$rvm_ruby_version" ]] ; then $rvm_scripts_path/log "fail" "Unknown ruby version: $rvm_ruby_version" ; fi
156
+ if [[ -z "$rvm_ruby_version" ]] && [[ -z "$rvm_head_flag" ]]; then
157
+ $rvm_scripts_path/log "fail" "Unknown ruby version: $rvm_ruby_version"
158
+ else
159
+ rvm_ruby_repo_url="${rvm_ruby_repo_url:-"$(__rvm_db "ruby_repo_url")"}"
160
+ fi
158
161
  ;;
159
162
 
160
163
  current)
@@ -385,8 +388,6 @@ __rvm_ruby_string() {
385
388
  elif $rvm_scripts_path/match "$string" "^rc[0-9]" ; then
386
389
  rvm_ruby_patch_level="$string"
387
390
  elif $rvm_scripts_path/match "$string" "^[0-9]\.[0-9]" ; then
388
- if [[ "1.8" = "$string" ]] ; then string="1.8.6" ; fi
389
- if [[ "1.9" = "$string" ]] ; then string="1.9.1" ; fi
390
391
  rvm_ruby_version="$string"
391
392
  unset rvm_ruby_revision rvm_ruby_tag
392
393
  elif $rvm_scripts_path/match "$string" "^p[0-9]" ; then
data/scripts/utility CHANGED
@@ -754,7 +754,10 @@ __rvm_gems_use() {
754
754
  if [[ -z "$rvm_ruby_selected_flag" ]] ; then __rvm_select ; fi
755
755
 
756
756
  if [[ ! -z "$rvm_ruby_gem_home" ]] ; then
757
- mkdir -p "$rvm_ruby_gem_home"
757
+ if [[ ! -d "$rvm_ruby_gem_home" ]] ; then
758
+ mkdir -p "$rvm_ruby_gem_home"
759
+ gem update --system
760
+ fi
758
761
  GEM_HOME="$rvm_ruby_gem_home" ; export GEM_HOME
759
762
  GEM_PATH="$GEM_HOME" ; export GEM_PATH
760
763
  __rvm_use
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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin