arsh 1.0.8 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/libs/rvm.rb +2 -2
  2. data/libs/version.rb +1 -1
  3. metadata +5 -5
@@ -1,10 +1,10 @@
1
1
  module ArshCommands
2
2
  def self.rvm(command)
3
3
  command = command.join(' ')
4
- output = %x{bash -c "source #{ENV['HOME']}/.rvm/scripts/rvm; rvm #{command}; env | grep -i rvm"}
4
+ output = %x{bash -c "source #{ENV['rvm_path']}/scripts/rvm; rvm #{command}; env | grep -i rvm"}
5
5
  output.split("\n").select { |l| l[/=/] }.each do |n|
6
6
  var, value = n.split(/=/,2)
7
- ENV[var.upcase] = value
7
+ ENV[var] = value
8
8
  end
9
9
  case command
10
10
  when /^use /
@@ -1,3 +1,3 @@
1
1
  module Arsh
2
- VERSION = "1.0.8"
2
+ VERSION = "1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: '1.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-12 00:00:00.000000000 Z
14
+ date: 2012-01-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb-readline
18
- requirement: &6110640 !ruby/object:Gem::Requirement
18
+ requirement: &6107880 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *6110640
26
+ version_requirements: *6107880
27
27
  description: Provides a shell that can run pure Ruby code as well as ordinary linux
28
28
  commands.
29
29
  email:
@@ -57,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ! '>='
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: 1.9.3
61
61
  required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements: