rvm 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/lib/VERSION.yml +1 -1
  2. data/lib/rvm/environment.rb +1 -1
  3. data/lib/rvm/shell/shell_wrapper.sh +1 -1
  4. data/rvm.gemspec +3 -110
  5. metadata +4 -111
  6. data/binscripts/rvm +0 -76
  7. data/binscripts/rvm-auto-ruby +0 -24
  8. data/binscripts/rvm-prompt +0 -208
  9. data/binscripts/rvm-shell +0 -35
  10. data/binscripts/rvm-update-head +0 -58
  11. data/binscripts/rvm-update-latest +0 -27
  12. data/binscripts/rvmsudo +0 -20
  13. data/config/db +0 -71
  14. data/config/known +0 -54
  15. data/config/md5 +0 -139
  16. data/contrib/gemset_snapshot +0 -25
  17. data/contrib/install-system-wide +0 -221
  18. data/contrib/r +0 -44
  19. data/examples/rvmrc +0 -49
  20. data/gemsets/default.gems +0 -1
  21. data/gemsets/global.gems +0 -1
  22. data/help/alias +0 -46
  23. data/help/benchmark +0 -17
  24. data/help/cleanup +0 -23
  25. data/help/debug +0 -8
  26. data/help/disk-usage +0 -15
  27. data/help/docs +0 -22
  28. data/help/exec +0 -33
  29. data/help/fetch +0 -5
  30. data/help/gem +0 -0
  31. data/help/gemdir +0 -0
  32. data/help/gemset +0 -14
  33. data/help/implode +0 -0
  34. data/help/info +0 -62
  35. data/help/install +0 -0
  36. data/help/list +0 -0
  37. data/help/migrate +0 -15
  38. data/help/monitor +0 -0
  39. data/help/notes +0 -0
  40. data/help/package +0 -0
  41. data/help/rake +0 -14
  42. data/help/remove +0 -0
  43. data/help/repair +0 -23
  44. data/help/reset +0 -0
  45. data/help/ruby +0 -84
  46. data/help/rubygems +0 -11
  47. data/help/rvmrc +0 -34
  48. data/help/snapshot +0 -15
  49. data/help/specs +0 -0
  50. data/help/srcdir +0 -0
  51. data/help/tests +0 -0
  52. data/help/tools +0 -22
  53. data/help/uninstall +0 -0
  54. data/help/update +0 -0
  55. data/help/upgrade +0 -18
  56. data/help/use +0 -0
  57. data/help/wrapper +0 -41
  58. data/install +0 -667
  59. data/man/man1/rvm.1 +0 -380
  60. data/man/man1/rvm.1.gz +0 -0
  61. data/scripts/alias +0 -226
  62. data/scripts/aliases +0 -4
  63. data/scripts/array +0 -32
  64. data/scripts/base +0 -57
  65. data/scripts/cd +0 -94
  66. data/scripts/cleanup +0 -58
  67. data/scripts/cli +0 -798
  68. data/scripts/color +0 -49
  69. data/scripts/completion +0 -151
  70. data/scripts/db +0 -87
  71. data/scripts/default +0 -64
  72. data/scripts/disk-usage +0 -60
  73. data/scripts/docs +0 -115
  74. data/scripts/env +0 -46
  75. data/scripts/environment-convertor +0 -74
  76. data/scripts/fetch +0 -231
  77. data/scripts/gemsets +0 -1045
  78. data/scripts/get +0 -126
  79. data/scripts/hash +0 -37
  80. data/scripts/help +0 -46
  81. data/scripts/hook +0 -23
  82. data/scripts/info +0 -213
  83. data/scripts/initialize +0 -29
  84. data/scripts/install +0 -667
  85. data/scripts/irbrc +0 -13
  86. data/scripts/irbrc.rb +0 -64
  87. data/scripts/list +0 -315
  88. data/scripts/log +0 -38
  89. data/scripts/maglev +0 -193
  90. data/scripts/manage +0 -2157
  91. data/scripts/match +0 -6
  92. data/scripts/md5 +0 -22
  93. data/scripts/migrate +0 -175
  94. data/scripts/monitor +0 -105
  95. data/scripts/notes +0 -140
  96. data/scripts/override_gem +0 -14
  97. data/scripts/package +0 -302
  98. data/scripts/patches +0 -64
  99. data/scripts/patchsets +0 -87
  100. data/scripts/repair +0 -199
  101. data/scripts/rubygems +0 -157
  102. data/scripts/rvm +0 -128
  103. data/scripts/rvm-install +0 -667
  104. data/scripts/selector +0 -904
  105. data/scripts/set +0 -301
  106. data/scripts/snapshot +0 -262
  107. data/scripts/tools +0 -58
  108. data/scripts/update +0 -667
  109. data/scripts/upgrade +0 -144
  110. data/scripts/utility +0 -1499
  111. data/scripts/version +0 -17
  112. data/scripts/wrapper +0 -210
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 1
4
- :patch: 4
4
+ :patch: 5
@@ -57,7 +57,7 @@ module RVM
57
57
  actual_config.each_pair do |k, v|
58
58
  config << "#{k}=#{escape_argument(v.to_s)}"
59
59
  end
60
- run_silently :export, config.join(" ")
60
+ run_silently "export #{config.join(" ")}"
61
61
  run_silently :source, File.join(rvm_path, "scripts", "rvm")
62
62
  end
63
63
 
@@ -5,6 +5,6 @@ __rvm_show_command_epilog() {
5
5
  echo "---"
6
6
  echo " exit_status: \"$last_command_result\""
7
7
  echo " environment:"
8
- env | sed "s#'#\\'#g" | sed -e 's#"#\\"#g' -e "s#\\([^=]*\\)=\\(.*\\)# '\1': \"\2\"#"
8
+ \env | \sed "s#'#\\'#g" | \sed -e 's#"#\\"#g' -e "s#\\([^=]*\\)=\\(.*\\)# '\1': \"\2\"#"
9
9
  echo "----------------RVM-RESULTS-END----------------"
10
10
  }
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "1.1.4"
8
+ s.version = "1.1.5"
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-12-09}
12
+ s.date = %q{2010-12-14}
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}
@@ -20,59 +20,6 @@ Gem::Specification.new do |s|
20
20
  s.files = [
21
21
  "LICENCE",
22
22
  "README",
23
- "binscripts/rvm",
24
- "binscripts/rvm-auto-ruby",
25
- "binscripts/rvm-prompt",
26
- "binscripts/rvm-shell",
27
- "binscripts/rvm-update-head",
28
- "binscripts/rvm-update-latest",
29
- "binscripts/rvmsudo",
30
- "config/db",
31
- "config/known",
32
- "config/md5",
33
- "contrib/gemset_snapshot",
34
- "contrib/install-system-wide",
35
- "contrib/r",
36
- "examples/rvmrc",
37
- "gemsets/default.gems",
38
- "gemsets/global.gems",
39
- "help/alias",
40
- "help/benchmark",
41
- "help/cleanup",
42
- "help/debug",
43
- "help/disk-usage",
44
- "help/docs",
45
- "help/exec",
46
- "help/fetch",
47
- "help/gem",
48
- "help/gemdir",
49
- "help/gemset",
50
- "help/implode",
51
- "help/info",
52
- "help/install",
53
- "help/list",
54
- "help/migrate",
55
- "help/monitor",
56
- "help/notes",
57
- "help/package",
58
- "help/rake",
59
- "help/remove",
60
- "help/repair",
61
- "help/reset",
62
- "help/ruby",
63
- "help/rubygems",
64
- "help/rvmrc",
65
- "help/snapshot",
66
- "help/specs",
67
- "help/srcdir",
68
- "help/tests",
69
- "help/tools",
70
- "help/uninstall",
71
- "help/update",
72
- "help/upgrade",
73
- "help/use",
74
- "help/wrapper",
75
- "install",
76
23
  "lib/VERSION.yml",
77
24
  "lib/rvm.rb",
78
25
  "lib/rvm/capistrano.rb",
@@ -99,61 +46,7 @@ Gem::Specification.new do |s|
99
46
  "lib/rvm/shell/single_shot_wrapper.rb",
100
47
  "lib/rvm/shell/utility.rb",
101
48
  "lib/rvm/version.rb",
102
- "man/man1/rvm.1",
103
- "man/man1/rvm.1.gz",
104
- "rvm.gemspec",
105
- "scripts/alias",
106
- "scripts/aliases",
107
- "scripts/array",
108
- "scripts/base",
109
- "scripts/cd",
110
- "scripts/cleanup",
111
- "scripts/cli",
112
- "scripts/color",
113
- "scripts/completion",
114
- "scripts/db",
115
- "scripts/default",
116
- "scripts/disk-usage",
117
- "scripts/docs",
118
- "scripts/env",
119
- "scripts/environment-convertor",
120
- "scripts/fetch",
121
- "scripts/gemsets",
122
- "scripts/get",
123
- "scripts/hash",
124
- "scripts/help",
125
- "scripts/hook",
126
- "scripts/info",
127
- "scripts/initialize",
128
- "scripts/install",
129
- "scripts/irbrc",
130
- "scripts/irbrc.rb",
131
- "scripts/list",
132
- "scripts/log",
133
- "scripts/maglev",
134
- "scripts/manage",
135
- "scripts/match",
136
- "scripts/md5",
137
- "scripts/migrate",
138
- "scripts/monitor",
139
- "scripts/notes",
140
- "scripts/override_gem",
141
- "scripts/package",
142
- "scripts/patches",
143
- "scripts/patchsets",
144
- "scripts/repair",
145
- "scripts/rubygems",
146
- "scripts/rvm",
147
- "scripts/rvm-install",
148
- "scripts/selector",
149
- "scripts/set",
150
- "scripts/snapshot",
151
- "scripts/tools",
152
- "scripts/update",
153
- "scripts/upgrade",
154
- "scripts/utility",
155
- "scripts/version",
156
- "scripts/wrapper"
49
+ "rvm.gemspec"
157
50
  ]
158
51
  s.homepage = %q{http://github.com/wayneeseguin/rvm}
159
52
  s.post_install_message = %q{********************************************************************************
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 4
10
- version: 1.1.4
9
+ - 5
10
+ version: 1.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wayne E. Seguin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-09 00:00:00 -05:00
18
+ date: 2010-12-14 00:00:00 -05:00
19
19
  default_executable: rvm-install
20
20
  dependencies: []
21
21
 
@@ -30,59 +30,6 @@ extra_rdoc_files:
30
30
  files:
31
31
  - LICENCE
32
32
  - README
33
- - binscripts/rvm
34
- - binscripts/rvm-auto-ruby
35
- - binscripts/rvm-prompt
36
- - binscripts/rvm-shell
37
- - binscripts/rvm-update-head
38
- - binscripts/rvm-update-latest
39
- - binscripts/rvmsudo
40
- - config/db
41
- - config/known
42
- - config/md5
43
- - contrib/gemset_snapshot
44
- - contrib/install-system-wide
45
- - contrib/r
46
- - examples/rvmrc
47
- - gemsets/default.gems
48
- - gemsets/global.gems
49
- - help/alias
50
- - help/benchmark
51
- - help/cleanup
52
- - help/debug
53
- - help/disk-usage
54
- - help/docs
55
- - help/exec
56
- - help/fetch
57
- - help/gem
58
- - help/gemdir
59
- - help/gemset
60
- - help/implode
61
- - help/info
62
- - help/install
63
- - help/list
64
- - help/migrate
65
- - help/monitor
66
- - help/notes
67
- - help/package
68
- - help/rake
69
- - help/remove
70
- - help/repair
71
- - help/reset
72
- - help/ruby
73
- - help/rubygems
74
- - help/rvmrc
75
- - help/snapshot
76
- - help/specs
77
- - help/srcdir
78
- - help/tests
79
- - help/tools
80
- - help/uninstall
81
- - help/update
82
- - help/upgrade
83
- - help/use
84
- - help/wrapper
85
- - install
86
33
  - lib/VERSION.yml
87
34
  - lib/rvm.rb
88
35
  - lib/rvm/capistrano.rb
@@ -109,61 +56,7 @@ files:
109
56
  - lib/rvm/shell/single_shot_wrapper.rb
110
57
  - lib/rvm/shell/utility.rb
111
58
  - lib/rvm/version.rb
112
- - man/man1/rvm.1
113
- - man/man1/rvm.1.gz
114
59
  - rvm.gemspec
115
- - scripts/alias
116
- - scripts/aliases
117
- - scripts/array
118
- - scripts/base
119
- - scripts/cd
120
- - scripts/cleanup
121
- - scripts/cli
122
- - scripts/color
123
- - scripts/completion
124
- - scripts/db
125
- - scripts/default
126
- - scripts/disk-usage
127
- - scripts/docs
128
- - scripts/env
129
- - scripts/environment-convertor
130
- - scripts/fetch
131
- - scripts/gemsets
132
- - scripts/get
133
- - scripts/hash
134
- - scripts/help
135
- - scripts/hook
136
- - scripts/info
137
- - scripts/initialize
138
- - scripts/install
139
- - scripts/irbrc
140
- - scripts/irbrc.rb
141
- - scripts/list
142
- - scripts/log
143
- - scripts/maglev
144
- - scripts/manage
145
- - scripts/match
146
- - scripts/md5
147
- - scripts/migrate
148
- - scripts/monitor
149
- - scripts/notes
150
- - scripts/override_gem
151
- - scripts/package
152
- - scripts/patches
153
- - scripts/patchsets
154
- - scripts/repair
155
- - scripts/rubygems
156
- - scripts/rvm
157
- - scripts/rvm-install
158
- - scripts/selector
159
- - scripts/set
160
- - scripts/snapshot
161
- - scripts/tools
162
- - scripts/update
163
- - scripts/upgrade
164
- - scripts/utility
165
- - scripts/version
166
- - scripts/wrapper
167
60
  - bin/rvm-install
168
61
  has_rdoc: true
169
62
  homepage: http://github.com/wayneeseguin/rvm
@@ -1,76 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- if [[ ${rvm_ignore_rvmrc:-0} -eq 0 ]]; then
4
-
5
- for rvmrc in /etc/rvmrc "$HOME/.rvmrc" ; do
6
-
7
- if [[ -f "$rvmrc" ]] ; then
8
-
9
- if grep -q '^\s*rvm .*$' "$rvmrc" ; then
10
-
11
- printf "\n Error:
12
- $rvmrc is for rvm settings only.
13
- rvm CLI may NOT be called from within $rvmrc.
14
- Skipping the loading of $rvmrc
15
- "
16
- exit 1
17
-
18
- else
19
-
20
- source "$rvmrc"
21
-
22
- fi
23
-
24
- fi
25
-
26
- done
27
-
28
- fi
29
-
30
- # Setup default sandbox value. See scripts/rvm for origin.
31
- if [[ ${rvm_selfcontained:-0} -eq 0 ]]; then
32
-
33
- if [[ $(id -u) -eq 0 || -n "$rvm_prefix" && "$rvm_prefix" != "$HOME"/* ]]; then
34
-
35
- rvm_selfcontained=0
36
-
37
- else
38
-
39
- rvm_selfcontained=1
40
-
41
- fi
42
-
43
- fi
44
-
45
- if [[ -z "${rvm_prefix:-""}" ]] ; then
46
-
47
- if [[ ${rvm_selfcontained:-0} -eq 0 ]] ; then
48
-
49
- rvm_prefix="/usr/local/"
50
-
51
- else
52
-
53
- rvm_prefix="$HOME/."
54
-
55
- fi
56
-
57
- fi
58
-
59
- # Fix rvm_prefix changes.
60
- echo "$rvm_prefix" | grep -vq '\(\/\|\.\)$' && [[ -d "$rvm_prefix/rvm/scripts" ]]
61
-
62
- rvm_prefix_needs_trailing_slash="$?"
63
-
64
- if [[ "$rvm_prefix" = "/usr/local" || "$rvm_prefix_needs_trailing_slash" = "0" ]]; then
65
- rvm_prefix="$rvm_prefix/"
66
- fi
67
-
68
- if [[ -z "${rvm_path:-""}" ]] ; then
69
- rvm_path="${rvm_prefix}rvm"
70
- fi
71
-
72
- source "$rvm_path/scripts/rvm"
73
-
74
- export rvm_interactive_flag=0
75
-
76
- rvm "$@"
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- if [[ -n "$rvm_path" && -s "$rvm_path/scripts/rvm" ]]; then
4
- source "$rvm_path/scripts/rvm"
5
-
6
- elif [[ -s "/usr/local/lib/rvm" ]]; then
7
- source "/usr/local/lib/rvm"
8
-
9
- elif [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
10
- source "$HOME/.rvm/scripts/rvm"
11
-
12
- elif [[ -s "/usr/local/rvm/scripts/rvm" ]]; then
13
- source "/usr/local/rvm/scripts/rvm"
14
-
15
- else
16
- echo "Unable to detect rvm, please manually set the rvm_path env variable." >&2
17
- exit 1
18
- fi
19
-
20
- [[ -s "$rvm_path/environments/default" ]] && source "$rvm_path/environments/default"
21
-
22
- rvm rvmrc load > /dev/null 2>&1
23
-
24
- exec ruby "$@"
@@ -1,208 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- add(){
4
-
5
- token=${1:-""}
6
-
7
- eval "${token}_flag=1" ; shift
8
-
9
- if [[ -n "$format" ]] ; then
10
-
11
- format="${format}-\$${token}"
12
-
13
- else
14
-
15
- format="\$${token}"
16
-
17
- fi
18
-
19
- return 0
20
- }
21
-
22
- rvm_gemset_separator="${rvm_gemset_separator:-"@"}"
23
-
24
- ruby=$(command -v ruby)
25
-
26
- if [[ -n "$ruby" && -n "$(echo "$ruby" | awk '/rvm/{print}')" ]] ; then
27
-
28
- unset format
29
-
30
- while [[ $# -gt 0 ]] ; do
31
-
32
- token="$1" ; shift
33
-
34
- case "$token" in
35
-
36
- i|interpreter) add "interpreter" ;;
37
-
38
- v|version) add "version" ;;
39
-
40
- p|patchlevel) add "patchlevel" ;;
41
-
42
- r|revision) add "revision" ;;
43
-
44
- a|architecture) add "architecture" ;;
45
-
46
- g|gemset) add "gemset" ;;
47
-
48
- u|unicode) add "unicode" ;;
49
-
50
- s|system) add "system" ;;
51
-
52
- -d|--no-default) no_default=1 ;;
53
-
54
- *) echo "Unrecognized command line option '$token' for $0" ; exit 1 ;;
55
-
56
- esac
57
-
58
- done
59
-
60
-
61
- if [[ -z "$format" ]] ; then
62
-
63
- add "interpreter"
64
-
65
- add "version"
66
-
67
- add "patchlevel"
68
-
69
- add "gemset"
70
-
71
- fi
72
-
73
- ruby_string=$(dirname "$ruby" | xargs dirname | xargs basename)
74
-
75
- if [[ -n "$no_default" ]]; then
76
-
77
- # Do not display anything if no default flag was provided
78
- # and we are using the default ruby
79
-
80
- # Only people who explicitely ask for this will have the
81
- # slight performance penalty associated.
82
-
83
- if [[ "$(rvm tools identifier)" = "$(rvm alias show default)" ]] ; then
84
-
85
- exit 0
86
-
87
- fi
88
-
89
- fi
90
-
91
- strings=(${ruby_string//-/ })
92
-
93
- if [[ ${interpreter_flag:-0} -gt 0 || -n "$unicode_flag" ]] ; then
94
-
95
- interpreter=${strings[0]}
96
-
97
- fi
98
-
99
- if [[ ${version_flag:-0} -gt 0 || -n "$unicode_flag" ]] ; then
100
-
101
- version=${strings[1]}
102
-
103
- fi
104
-
105
- if [[ ${#strings[@]} -gt 2 ]] ; then
106
-
107
- if [[ ${patchlevel_flag:-0} -gt 0 ]] ; then
108
-
109
- patchlevel=${strings[2]}
110
-
111
- fi
112
-
113
- fi
114
-
115
- if [[ ${architecture_flag:-0} -gt 0 ]] ; then
116
-
117
- architecture="$(echo "$(ruby -v)" | sed 's/^.*\[//' | sed 's/\].*$//')"
118
-
119
- fi
120
-
121
- if [[ ${gemset_flag:-0} -gt 0 ]] ; then
122
-
123
- case "${GEM_HOME:-""}" in
124
-
125
- *${rvm_gemset_separator:-"@"}*)
126
-
127
- gemset="${rvm_gemset_separator:-"@"}${GEM_HOME/*${rvm_gemset_separator:-"@"}/}"
128
-
129
- ;;
130
-
131
- esac
132
-
133
- fi
134
-
135
- if [[ ${unicode_flag:-0} -gt 0 ]] ; then
136
-
137
- case "$interpreter" in
138
-
139
- jruby) unicode="☯" ;;
140
-
141
- rbx) unicode="☃" ;;
142
-
143
- ree) unicode="✈" ;;
144
-
145
- macruby) unicode="⌘" ;;
146
-
147
- maglev) unicode="㎖" ;;
148
-
149
- ironruby) unicode="♭" ;;
150
-
151
- system) unicode="➆" ;;
152
-
153
- goruby) unicode="⛳";;
154
-
155
- ruby)
156
-
157
- case ${version:-""} in
158
-
159
- 1.8.6) unicode="❻" ;;
160
-
161
- 1.8.7) unicode="❼" ;;
162
-
163
- 1.9.1) unicode="❶" ;;
164
-
165
- 1.9.2) unicode="❷" ;;
166
-
167
- *) unicode="♢" ;;
168
-
169
- esac ;;
170
-
171
- *) unicode="♢" ;;
172
-
173
- esac
174
-
175
- if echo "$ruby_string" | \grep -q '-head' ; then
176
-
177
- unicode="${unicode}〠"
178
-
179
- fi
180
-
181
- fi
182
-
183
- eval "prompt=\"$format\""
184
-
185
- echo "$prompt" \
186
- | sed -e 's#^[[:space:]]*-*##g' \
187
- -e 's#--*#-#g' \
188
- -e 's#-*[[:space:]]*$##' \
189
- -e 's#-'${rvm_gemset_separator:-"@"}'#'${rvm_gemset_separator:-"@"}'#'
190
-
191
-
192
- else
193
-
194
- while [[ $# -gt 0 ]] ; do
195
-
196
- token="$1" ; shift
197
-
198
- case "$token" in
199
-
200
- s|system) echo "system" ;;
201
-
202
- esac
203
-
204
- done
205
-
206
- fi
207
-
208
- exit 0