rvm 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
data/lib/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 19
4
+ :patch: 20
data/rvm.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.1.19"
8
+ s.version = "0.1.20"
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"]
12
- s.date = %q{2010-02-27}
12
+ s.date = %q{2010-02-28}
13
13
  s.default_executable = %q{rvm-install}
14
14
  s.description = %q{Manages Ruby interpreter environments and switching between them.}
15
15
  s.email = %q{wayneeseguin@gmail.com}
data/scripts/cli CHANGED
@@ -14,7 +14,7 @@ __rvm_parse_args() {
14
14
 
15
15
  package)
16
16
  rvm_action="$rvm_token"
17
- export rvm_ruby_args="$@"
17
+ rvm_ruby_args="$@"
18
18
  rvm_parse_break=1
19
19
  ;;
20
20
 
@@ -26,7 +26,7 @@ __rvm_parse_args() {
26
26
 
27
27
  inspect)
28
28
  rvm_action=$rvm_token
29
- export rvm_ruby_args=$*
29
+ rvm_ruby_args="$@"
30
30
  rvm_parse_break=1
31
31
  ;;
32
32
 
@@ -60,7 +60,7 @@ __rvm_parse_args() {
60
60
  rvm_parse_break=1
61
61
  elif [[ "delete" = "$1" ]] || [[ "use" = "$1" ]] ; then
62
62
  export rvm_${1}_flag=1
63
- export rvm_ruby_args="$*" ; shift
63
+ export rvm_ruby_args="$@" ; shift
64
64
  rvm_gemset_name="$1"; shift
65
65
  export rvm_ruby_string=$(echo $rvm_gemset_name | sed 's/\(.*\)%.*/\1/')
66
66
  export rvm_gemset_name=$(echo $rvm_gemset_name | sed 's/.*%\(.*\)/\1/')
data/scripts/md5 CHANGED
@@ -9,7 +9,7 @@ if [[ "Linux" = "$(uname)" ]] ; then
9
9
  #md5sum --status -c "$file"
10
10
  elif [[ "Darwin" = "$(uname)" ]] ; then
11
11
  #md5 --status -c "$1"
12
- command="md5"
12
+ command="/sbin/md5"
13
13
  fi
14
14
 
15
15
  file_md5=$($command $file | awk '{print $NF}')
data/scripts/package CHANGED
@@ -10,7 +10,9 @@ source $rvm_scripts_path/utility
10
10
  trap "rm -f $rvm_tmp_path/$$* > /dev/null 2>&1 ; exit" 0 1 2 3 15
11
11
  if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi
12
12
 
13
- action="$1" ; shift ; library="$1" ; shift ; args="$*"
13
+ action="$(echo $* | awk '{print $1}')"
14
+ library="$(echo $* | awk '{print $2}')"
15
+ args=$(echo "$*" | awk '{$1="" ; $2="" ; print}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
14
16
 
15
17
  install_package() {
16
18
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 19
9
- version: 0.1.19
8
+ - 20
9
+ version: 0.1.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - Wayne E. Seguin
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-27 00:00:00 -05:00
17
+ date: 2010-02-28 00:00:00 -05:00
18
18
  default_executable: rvm-install
19
19
  dependencies: []
20
20