rvm 1.11.3.5 → 1.11.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rvm/environment/utility.rb +8 -6
- data/lib/rvm/version.rb +1 -1
- metadata +61 -47
@@ -50,25 +50,27 @@ module RVM
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Lets you build a command up, without needing to see the output.
|
53
|
-
#
|
53
|
+
# Examples:
|
54
54
|
#
|
55
55
|
# rvm :use, "ree@rails3", :install => true
|
56
|
+
# > rvm use ree@rails3 --install
|
56
57
|
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# rvm use ree@rails3 --install
|
58
|
+
# rvm :install, "ree@rails3", :rvm_by_path => true
|
59
|
+
# > $rvm_path/bin/rvm install ree@rails3
|
60
60
|
#
|
61
61
|
def rvm(*args)
|
62
62
|
options = extract_options!(args)
|
63
63
|
silent = options.delete(:silent)
|
64
|
+
rvm_by_path = options.delete(:rvm_by_path)
|
64
65
|
rearrange_options!(args, options)
|
65
66
|
args += hash_to_options(options)
|
66
67
|
args.map! { |a| a.to_s }
|
67
68
|
|
69
|
+
program = rvm_by_path ? "#{self.class.default_rvm_path}/bin/rvm" : "rvm"
|
68
70
|
if silent
|
69
|
-
run_silently(
|
71
|
+
run_silently(program, *args)
|
70
72
|
else
|
71
|
-
run(
|
73
|
+
run(program, *args)
|
72
74
|
end
|
73
75
|
end
|
74
76
|
|
data/lib/rvm/version.rb
CHANGED
metadata
CHANGED
@@ -1,57 +1,63 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 11
|
9
|
+
- 3
|
10
|
+
- 6
|
11
|
+
version: 1.11.3.6
|
6
12
|
platform: ruby
|
7
|
-
authors:
|
13
|
+
authors:
|
8
14
|
- Wayne E. Seguin
|
9
15
|
- Michal Papis
|
10
16
|
autorequire:
|
11
17
|
bindir: bin
|
12
18
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
19
|
+
|
20
|
+
date: 2013-01-24 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
16
23
|
name: rake
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ! '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0'
|
23
|
-
type: :development
|
24
24
|
prerelease: false
|
25
|
-
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - ! '>='
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '0'
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: minitest
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
34
26
|
none: false
|
35
|
-
requirements:
|
36
|
-
- -
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
39
34
|
type: :development
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: minitest
|
40
38
|
prerelease: false
|
41
|
-
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
40
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id002
|
47
50
|
description: RVM ~ Ruby Environment Manager ~ Ruby Gem Library.
|
48
|
-
email:
|
51
|
+
email:
|
49
52
|
- wayneeseguin@gmail.com
|
50
53
|
- mpapis@gmail.com
|
51
54
|
executables: []
|
55
|
+
|
52
56
|
extensions: []
|
57
|
+
|
53
58
|
extra_rdoc_files: []
|
54
|
-
|
59
|
+
|
60
|
+
files:
|
55
61
|
- History.md
|
56
62
|
- Manifest.yml
|
57
63
|
- README.md
|
@@ -82,29 +88,37 @@ files:
|
|
82
88
|
- lib/rvm/version.rb
|
83
89
|
- spec/spec_helper.rb
|
84
90
|
homepage: https://rvm.beginrescueend.com/
|
85
|
-
licenses:
|
91
|
+
licenses:
|
86
92
|
- MIT
|
87
93
|
post_install_message:
|
88
94
|
rdoc_options: []
|
89
|
-
|
95
|
+
|
96
|
+
require_paths:
|
90
97
|
- lib
|
91
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
99
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
hash: 3
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
version: "0"
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
108
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
103
116
|
requirements: []
|
117
|
+
|
104
118
|
rubyforge_project:
|
105
119
|
rubygems_version: 1.8.24
|
106
120
|
signing_key:
|
107
121
|
specification_version: 3
|
108
122
|
summary: RVM Ruby Gem Library
|
109
|
-
test_files:
|
123
|
+
test_files:
|
110
124
|
- spec/spec_helper.rb
|