rvm-capistrano 1.2.5 → 1.2.6

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.2.6 / 2012-08-28
2
+
3
+ * fix undefined use_sudo, merged #32
4
+
1
5
  ### 1.2.5 / 2012-07-17
2
6
 
3
7
  * silence `rvm:rvm_install`, closes #22
@@ -98,7 +98,7 @@ module Capistrano
98
98
  command_fetch = "curl -L get.rvm.io"
99
99
  command_install = case rvm_type
100
100
  when :root, :system
101
- if use_sudo == false && rvm_install_with_sudo == false
101
+ if fetch(:use_sudo, true) == false && rvm_install_with_sudo == false
102
102
  raise ":use_sudo is set to 'false' but sudo is needed to install rvm_type: #{rvm_type}. You can enable use_sudo within rvm for use only by this install operation by adding to deploy.rb: set :rvm_install_with_sudo, true"
103
103
  else
104
104
  "#{sudo} "
@@ -159,6 +159,6 @@ end
159
159
 
160
160
  # E.g, to use ree and rails 3:
161
161
  #
162
- # require 'rvm-capistrano'
162
+ # require 'rvm/capistrano'
163
163
  # set :rvm_ruby_string, "ree@rails3"
164
164
  #
@@ -1,5 +1,5 @@
1
1
  module RVM
2
2
  class Capistrano
3
- VERSION="1.2.5"
3
+ VERSION="1.2.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,73 +1,78 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rvm-capistrano
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.5
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 6
10
+ version: 1.2.6
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Wayne E. Seguin
9
14
  - Michal Papis
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2012-07-17 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2012-08-27 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: capistrano
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
- type: :runtime
24
23
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 0
30
34
  version: 2.0.0
31
- - !ruby/object:Gem::Dependency
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
32
38
  name: rake
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :development
40
39
  prerelease: false
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
40
+ requirement: &id002 !ruby/object:Gem::Requirement
50
41
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
55
49
  type: :development
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: minitest
56
53
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
58
55
  none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ type: :development
64
+ version_requirements: *id003
63
65
  description: RVM / Capistrano Integration Gem
64
- email:
66
+ email:
65
67
  - wayneeseguin@gmail.com
66
68
  - mpapis@gmail.com
67
69
  executables: []
70
+
68
71
  extensions: []
72
+
69
73
  extra_rdoc_files: []
70
- files:
74
+
75
+ files:
71
76
  - History.md
72
77
  - Manifest.yml
73
78
  - README.md
@@ -77,29 +82,37 @@ files:
77
82
  - lib/rvm/capistrano/version.rb
78
83
  - spec/spec_helper.rb
79
84
  homepage: https://rvm.beginrescueend.com/integration/capistrano
80
- licenses:
85
+ licenses:
81
86
  - MIT
82
87
  post_install_message:
83
88
  rdoc_options: []
84
- require_paths:
89
+
90
+ require_paths:
85
91
  - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
92
+ required_ruby_version: !ruby/object:Gem::Requirement
87
93
  none: false
88
- requirements:
89
- - - ! '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
100
+ version: "0"
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
102
  none: false
94
- requirements:
95
- - - ! '>='
96
- - !ruby/object:Gem::Version
97
- version: '0'
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
98
110
  requirements: []
111
+
99
112
  rubyforge_project:
100
113
  rubygems_version: 1.8.24
101
114
  signing_key:
102
115
  specification_version: 3
103
116
  summary: RVM / Capistrano Integration Gem
104
- test_files:
117
+ test_files:
105
118
  - spec/spec_helper.rb