wayneeseguin-rvm 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bash/rvm-update +19 -0
  2. data/bin/rvm-update +5 -0
  3. data/rvm.gemspec +45 -0
  4. metadata +5 -2
data/bash/rvm-update ADDED
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ user=`whoami`
4
+ if [ "$user" = "root" ] ; then
5
+ echo -e "\e[0;31m <e> \e[0mroot user support is not yet implemented.\e[0m"
6
+ exit 1
7
+ fi
8
+
9
+ info="\n\e[0;32m<i>\e[0m"
10
+
11
+ echo -e "$info Updating rvm source ~/.rvm/bin/rvm ..."
12
+ mkdir -p ~/.rvm/src ~/.rvm/bin
13
+ cp $(pwd)/bash/rvm ~/.rvm/bin/
14
+
15
+ echo -e "\n Thank you, come again! \n"
16
+ echo -e " ~ Wayne"
17
+
18
+ source ~/.rvm/bin/rvm
19
+
data/bin/rvm-update ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # Hot potato!!! Bash it!
4
+ exec "bash -l -c 'cd #{File.dirname(File.dirname(__FILE__))} && ./bash/rvm-update #{ARGV.join(' ')} && source ~/.rvm/bin/rvm'"
5
+
data/rvm.gemspec ADDED
@@ -0,0 +1,45 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{rvm}
8
+ s.version = "0.0.19"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Wayne E. Seguin"]
12
+ s.date = %q{2009-08-25}
13
+ s.description = %q{Manages Ruby interpreter installations and switching between them.}
14
+ s.email = %q{wayneeseguin@gmail.com}
15
+ s.executables = ["rvm-install", "rvm-update"]
16
+ s.extra_rdoc_files = [
17
+ "README"
18
+ ]
19
+ s.files = [
20
+ "INSTALL",
21
+ "LICENCE",
22
+ "README",
23
+ "bash/rvm",
24
+ "bash/rvm-install",
25
+ "bash/rvm-update",
26
+ "lib/rvm.rb",
27
+ "rvm.gemspec"
28
+ ]
29
+ s.homepage = %q{http://github.com/wayneeseguin/rvm}
30
+ s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
31
+ s.require_paths = ["lib"]
32
+ s.rubyforge_project = %q{dynamicreports}
33
+ s.rubygems_version = %q{1.3.5}
34
+ s.summary = %q{Ruby Version Manager (rvm)}
35
+
36
+ if s.respond_to? :specification_version then
37
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
38
+ s.specification_version = 3
39
+
40
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
41
+ else
42
+ end
43
+ else
44
+ end
45
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wayneeseguin-rvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin
@@ -10,13 +10,14 @@ bindir: bin
10
10
  cert_chain: []
11
11
 
12
12
  date: 2009-08-25 00:00:00 -07:00
13
- default_executable: rvm-install
13
+ default_executable:
14
14
  dependencies: []
15
15
 
16
16
  description: Manages Ruby interpreter installations and switching between them.
17
17
  email: wayneeseguin@gmail.com
18
18
  executables:
19
19
  - rvm-install
20
+ - rvm-update
20
21
  extensions: []
21
22
 
22
23
  extra_rdoc_files:
@@ -27,7 +28,9 @@ files:
27
28
  - README
28
29
  - bash/rvm
29
30
  - bash/rvm-install
31
+ - bash/rvm-update
30
32
  - lib/rvm.rb
33
+ - rvm.gemspec
31
34
  has_rdoc: false
32
35
  homepage: http://github.com/wayneeseguin/rvm
33
36
  post_install_message: