rvm 1.5.2 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,5 +30,5 @@ lib/rvm/shell/shell_wrapper.sh
30
30
  lib/rvm/shell/single_shot_wrapper.rb
31
31
  lib/rvm/shell/utility.rb
32
32
  lib/rvm/version.rb
33
- releases/rvm-1.5.2.tar.gz
34
- releases/rvm-1.5.2.tar.gz.md5
33
+ releases/rvm-1.6.2.tar.gz
34
+ releases/rvm-1.6.2.tar.gz.md5
data/Rakefile CHANGED
@@ -27,11 +27,11 @@ Hoe.spec "rvm" do
27
27
  In order to install RVM please use one of the methods listed in the
28
28
  documentation:
29
29
 
30
- http://rvm.beginrescueend.com/rvm/install/
30
+ https://rvm.beginrescueend.com/rvm/install/
31
31
 
32
32
  such as,
33
33
 
34
- bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )
34
+ bash < <(curl -s -B https://rvm.beginrescueend.com/install/rvm)
35
35
 
36
36
  followed by placing the sourcing line in your ~/.bash_profile or wherever may
37
37
  be appropriate for your setup (example, .zshenv, /etc/profile, ...):
@@ -44,7 +44,7 @@ Hoe.spec "rvm" do
44
44
  first Ruby. You can read more details about this process on the above
45
45
  mentioned install page as well as the basics page:
46
46
 
47
- http://rvm.beginrescueend.com/rvm/basics/
47
+ https://rvm.beginrescueend.com/rvm/basics/
48
48
 
49
49
  Enjoy!
50
50
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.2
1
+ 1.6.2
data/lib/rvm.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # == Ruby Version Manager - Ruby API
2
2
  #
3
3
  # Provides a wrapper around the command line api implemented as part of the api.
4
- # If you're not familiar with rvm, please read http://rvm.beginrescueend.com/
4
+ # If you're not familiar with rvm, please read https://rvm.beginrescueend.com/
5
5
  # first.
6
6
  #
7
7
  # == Usage
@@ -54,7 +54,7 @@
54
54
  # RVM::Environment.new, versus RVM.environment
55
55
  #
56
56
  module RVM
57
- VERSION = "1.5.2"
57
+ VERSION = "1.6.2"
58
58
 
59
59
  require "rvm/errors"
60
60
 
@@ -29,28 +29,29 @@ Capistrano::Configuration.instance(true).load do
29
29
  # full environment.
30
30
  _cset(:rvm_path) do
31
31
  case rvm_type
32
- when :system_wide, :root, :system
32
+ when :root, :system
33
33
  "/usr/local/rvm"
34
34
  when :local, :user, :default
35
35
  "$HOME/.rvm/"
36
+ else
37
+ rvm_type.to_s.empty? ? "$HOME/.rvm" : rvm_type.to_s
36
38
  end
37
39
  end
38
40
 
39
41
  # Let users override the rvm_bin_path
40
42
  _cset(:rvm_bin_path) do
41
43
  case rvm_type
42
- when :system_wide, :root, :system
43
- "/usr/local/bin"
44
+ when :root, :system
45
+ "/usr/local/rvm/bin"
44
46
  when :local, :user, :default
45
47
  "$HOME/.rvm/bin"
46
48
  else
47
- "$HOME/.rvm/bin"
49
+ rvm_type.to_s.empty? ? "#{rvm_path}/bin" : rvm_type.to_s
48
50
  end
49
51
  end
50
52
 
51
- # Use the default ruby.
53
+ # Use the default ruby on the server, by default :)
52
54
  _cset(:rvm_ruby_string, "default")
53
-
54
55
  end
55
56
 
56
57
  # E.g, to use ree and rails 3:
@@ -118,7 +118,7 @@ module RVM
118
118
 
119
119
  # Import a gemset file.
120
120
  def import(prefix)
121
- @parent.gemset_export prefix.to_s.gsub(/\.gems$/, '')
121
+ @parent.gemset_import prefix.to_s.gsub(/\.gems$/, '')
122
122
  end
123
123
  alias load import
124
124
 
Binary file
@@ -0,0 +1 @@
1
+ bd8d27f194b5f0f5003f415a8f5eca21
data/sha1 CHANGED
@@ -1 +1 @@
1
- 5dac630
1
+ 2f6c0a8
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: 7
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 5
8
+ - 6
9
9
  - 2
10
- version: 1.5.2
10
+ version: 1.6.2
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: 2011-03-25 00:00:00 -04:00
18
+ date: 2011-04-12 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 41
29
+ hash: 35
30
30
  segments:
31
31
  - 2
32
32
  - 9
33
- - 1
34
- version: 2.9.1
33
+ - 4
34
+ version: 2.9.4
35
35
  type: :development
36
36
  version_requirements: *id001
37
37
  description: |-
@@ -79,8 +79,8 @@ files:
79
79
  - lib/rvm/shell/single_shot_wrapper.rb
80
80
  - lib/rvm/shell/utility.rb
81
81
  - lib/rvm/version.rb
82
- - releases/rvm-1.5.2.tar.gz
83
- - releases/rvm-1.5.2.tar.gz.md5
82
+ - releases/rvm-1.6.2.tar.gz
83
+ - releases/rvm-1.6.2.tar.gz.md5
84
84
  - .gemtest
85
85
  has_rdoc: true
86
86
  homepage: http://github.com/wayneeseguin/rvm
@@ -94,11 +94,11 @@ post_install_message: |
94
94
  In order to install RVM please use one of the methods listed in the
95
95
  documentation:
96
96
 
97
- http://rvm.beginrescueend.com/rvm/install/
97
+ https://rvm.beginrescueend.com/rvm/install/
98
98
 
99
99
  such as,
100
100
 
101
- bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )
101
+ bash < <(curl -s -B https://rvm.beginrescueend.com/install/rvm)
102
102
 
103
103
  followed by placing the sourcing line in your ~/.bash_profile or wherever may
104
104
  be appropriate for your setup (example, .zshenv, /etc/profile, ...):
@@ -111,7 +111,7 @@ post_install_message: |
111
111
  first Ruby. You can read more details about this process on the above
112
112
  mentioned install page as well as the basics page:
113
113
 
114
- http://rvm.beginrescueend.com/rvm/basics/
114
+ https://rvm.beginrescueend.com/rvm/basics/
115
115
 
116
116
  Enjoy!
117
117
 
Binary file
@@ -1 +0,0 @@
1
- 162fe1c3b911e6b7f4522f2203ae8a1e