rvm 1.11.3.6 → 1.11.3.7

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.
@@ -18,17 +18,20 @@ module RVM
18
18
 
19
19
  # Changes the ruby string for the current environment.
20
20
  #
21
- # env.use '1.9.2' # => nil
22
- # env.use 'ree' # => nil
21
+ # env.use '1.9.2' # => true
22
+ # env.use 'ree' # => true
23
+ # env.use 'foo' # => false
23
24
  #
24
25
  def use(ruby_string, opts = {})
25
26
  ruby_string = ruby_string.to_s
26
27
  result = rvm(:use, ruby_string)
27
- if result.successful?
28
+ successful = result.successful?
29
+ if successful
28
30
  @environment_name = ruby_string
29
31
  @expanded_name = nil
30
32
  use_env_from_result! result if opts[:replace_env]
31
33
  end
34
+ successful
32
35
  end
33
36
 
34
37
  # Like use but with :replace_env defaulting to true.
@@ -1,3 +1,3 @@
1
1
  module RVM
2
- Version = "1.11.3.6"
2
+ Version = "1.11.3.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 11
9
9
  - 3
10
- - 6
11
- version: 1.11.3.6
10
+ - 7
11
+ version: 1.11.3.7
12
12
  platform: ruby
13
13
  authors:
14
14
  - Wayne E. Seguin
@@ -17,7 +17,8 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2013-01-24 00:00:00 Z
20
+ date: 2013-03-30 23:00:00 +01:00
21
+ default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: rake
@@ -87,6 +88,7 @@ files:
87
88
  - lib/rvm/shell.rb
88
89
  - lib/rvm/version.rb
89
90
  - spec/spec_helper.rb
91
+ has_rdoc: true
90
92
  homepage: https://rvm.beginrescueend.com/
91
93
  licenses:
92
94
  - MIT
@@ -116,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
118
  requirements: []
117
119
 
118
120
  rubyforge_project:
119
- rubygems_version: 1.8.24
121
+ rubygems_version: 1.6.2
120
122
  signing_key:
121
123
  specification_version: 3
122
124
  summary: RVM Ruby Gem Library