rvm 1.6.20 → 1.6.21

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.
@@ -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.6.20.tar.gz
34
- releases/rvm-1.6.20.tar.gz.md5
33
+ releases/rvm-1.6.21.tar.gz
34
+ releases/rvm-1.6.21.tar.gz.md5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.20
1
+ 1.6.21
data/lib/rvm.rb CHANGED
@@ -54,13 +54,13 @@
54
54
  # RVM::Environment.new, versus RVM.environment
55
55
  #
56
56
  module RVM
57
- VERSION = "1.6.20"
57
+ VERSION = "1.6.21"
58
58
 
59
59
  require "rvm/errors"
60
60
 
61
- autoload :Shell, "rvm/shell"
62
- autoload :Environment, "rvm/environment"
63
- autoload :Version, "rvm/version"
61
+ require "rvm/shell"
62
+ require "rvm/environment"
63
+ require "rvm/version"
64
64
 
65
65
  class << self
66
66
 
@@ -3,13 +3,14 @@ module RVM
3
3
  # For more details, see AbstractWrapper.
4
4
  module Shell
5
5
 
6
- autoload :AbstractWrapper, 'rvm/shell/abstract_wrapper'
7
- autoload :SingleShotWrapper, 'rvm/shell/single_shot_wrapper'
6
+ require 'rvm/shell/utility'
7
+ require 'rvm/shell/abstract_wrapper'
8
+ require 'rvm/shell/single_shot_wrapper'
8
9
  # Current unimplemented
9
- #autoload :PersistingWrapper, 'rvm/shell/persisting_wrapper'
10
- autoload :TestWrapper, 'rvm/shell/test_wrapper'
11
- autoload :Utility, 'rvm/shell/utility'
12
- autoload :Result, 'rvm/shell/result'
10
+ #require 'rvm/shell/persisting_wrapper'
11
+ # File missing
12
+ #require 'rvm/shell/test_wrapper'
13
+ require 'rvm/shell/result'
13
14
 
14
15
  # Returns the default shell wrapper class to use
15
16
  def self.default_wrapper
@@ -11,7 +11,7 @@ module RVM
11
11
  def initialize(command, status, stdout, stderr)
12
12
  @command = command.dup.freeze
13
13
  @raw_status = status
14
- @environment = @raw_status["environment"] || {}
14
+ @environment = (@raw_status ? (@raw_status["environment"] || {}) : {})
15
15
  @successful = (exit_status == 0)
16
16
  @stdout = stdout.freeze
17
17
  @stderr = stderr.freeze
@@ -0,0 +1 @@
1
+ ff43c3ec50f7b464b17fd1d2cb53095d
data/sha1 CHANGED
@@ -1 +1 @@
1
- 92262b5
1
+ 08979cb
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: 39
4
+ hash: 37
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
- - 20
10
- version: 1.6.20
9
+ - 21
10
+ version: 1.6.21
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-06-07 00:00:00 -04:00
18
+ date: 2011-07-06 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -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.6.20.tar.gz
83
- - releases/rvm-1.6.20.tar.gz.md5
82
+ - releases/rvm-1.6.21.tar.gz
83
+ - releases/rvm-1.6.21.tar.gz.md5
84
84
  - .gemtest
85
85
  has_rdoc: true
86
86
  homepage: http://github.com/wayneeseguin/rvm
Binary file
@@ -1 +0,0 @@
1
- d62aba9c0aa0a87f6f173415315acec7