rvm-capistrano 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.1.0 / 2012-04-29
2
+
3
+ * Fix rvm installation task to use sudo and rvm_path when needed
4
+
1
5
  === 1.0.2 / 2012-03-28
2
6
 
3
7
  * Fix the bundler auto require problem
@@ -73,8 +73,17 @@ Capistrano::Configuration.instance(true).load do
73
73
  set :rvm_install_shell, :zsh
74
74
  EOF
75
75
  task :install_rvm do
76
- run "#{rvm_install_shell} -s #{rvm_install_type} \
77
- < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)", :shell => "#{rvm_install_shell}"
76
+ command="curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | "
77
+ case rvm_type
78
+ when :root, :system
79
+ if use_sudo == false
80
+ raise ":use_sudo is set to 'false' but sudo is needed to install rvm_type: #{rvm_type}."
81
+ else
82
+ command << "sudo "
83
+ end
84
+ end
85
+ command << "#{rvm_install_shell} -s #{rvm_install_type} --path #{rvm_path}"
86
+ run "#{command}", :shell => "#{rvm_install_shell}"
78
87
  end
79
88
 
80
89
  desc <<-EOF
@@ -1,5 +1,5 @@
1
1
  module RVM
2
2
  class Capistrano
3
- VERSION="1.0.2"
3
+ VERSION="1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,78 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rvm-capistrano
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Wayne E. Seguin
14
9
  - Michal Papis
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2012-03-28 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2012-04-17 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: capistrano
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
25
18
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 15
30
- segments:
31
- - 2
32
- - 0
33
- - 0
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
34
22
  version: 2.0.0
35
23
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
24
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 2.0.0
31
+ - !ruby/object:Gem::Dependency
32
+ name: rake
33
+ requirement: !ruby/object:Gem::Requirement
41
34
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 3
46
- segments:
47
- - 0
48
- version: "0"
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
49
39
  type: :development
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: minitest
53
40
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: !ruby/object:Gem::Requirement
55
50
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
63
55
  type: :development
64
- version_requirements: *id003
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
65
63
  description: RVM / Capistrano Integration Gem
66
- email:
64
+ email:
67
65
  - wayneeseguin@gmail.com
68
66
  - mpapis@gmail.com
69
67
  executables: []
70
-
71
68
  extensions: []
72
-
73
69
  extra_rdoc_files: []
74
-
75
- files:
70
+ files:
76
71
  - History.md
77
72
  - Manifest.yml
78
73
  - README.md
@@ -82,36 +77,27 @@ files:
82
77
  - spec/spec_helper.rb
83
78
  homepage: https://rvm.beginrescueend.com/integration/capistrano
84
79
  licenses: []
85
-
86
80
  post_install_message:
87
81
  rdoc_options: []
88
-
89
- require_paths:
82
+ require_paths:
90
83
  - lib
91
- required_ruby_version: !ruby/object:Gem::Requirement
84
+ required_ruby_version: !ruby/object:Gem::Requirement
92
85
  none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 3
97
- segments:
98
- - 0
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
91
  none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- hash: 3
106
- segments:
107
- - 0
108
- version: "0"
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
109
96
  requirements: []
110
-
111
97
  rubyforge_project:
112
98
  rubygems_version: 1.8.21
113
99
  signing_key:
114
100
  specification_version: 3
115
101
  summary: RVM / Capistrano Integration Gem
116
- test_files:
102
+ test_files:
117
103
  - spec/spec_helper.rb