rvm-capistrano 1.3.0.rc11 → 1.3.0.rc12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 306f784cddc89f763e8d11f4f11e49953b5ea412
4
+ data.tar.gz: 80429d698c74cc1704fca6a06af1c0a7686322d2
5
+ SHA512:
6
+ metadata.gz: d99158d6f1627893757adb6723a482fd53a0a6aa0f461f29c6267ad594d36526c4765fad4b2d8b15de7dd1c83c31a252c5a22e8501d705b5fd0ea90f154edf13
7
+ data.tar.gz: f3b07661ccd6eb38c5d4f9b4f440092d033b5707da417642d0341fb0910aad4c9bae972c9d0709c7cf24cb1b31fa1b1c0b8b4e62d3f3d39aa03959e0ae099b26
@@ -1,5 +1,5 @@
1
1
  module RVM
2
2
  class Capistrano
3
- VERSION="1.3.0.rc11"
3
+ VERSION="1.3.0.rc12"
4
4
  end
5
5
  end
@@ -169,7 +169,12 @@ module Capistrano
169
169
  command_install = case rvm_type
170
170
  when :root, :system
171
171
  if fetch(:use_sudo, true) == false && rvm_install_with_sudo == false
172
- 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"
172
+ raise "
173
+
174
+ :use_sudo is set to 'false' but sudo is needed to install rvm_type: #{rvm_type}.
175
+ 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
176
+
177
+ "
173
178
  else
174
179
  "#{sudo} "
175
180
  end
@@ -201,13 +206,43 @@ module Capistrano
201
206
  rvm_task :install_ruby do
202
207
  ruby, gemset = fetch(:rvm_ruby_string_evaluated).to_s.strip.split /@/
203
208
  if %w( release_path default ).include? "#{ruby}"
204
- raise "ruby can not be installed when using :rvm_ruby_string => :#{ruby}"
209
+ raise "
210
+
211
+ ruby can not be installed when using :rvm_ruby_string => :#{ruby}
212
+
213
+ "
205
214
  else
206
- command_install = with_rvm_group("#{File.join(rvm_bin_path, "rvm")} #{rvm_install_ruby} #{ruby} -j #{rvm_install_ruby_threads} #{rvm_install_ruby_params}")
215
+ command_install = ""
216
+
217
+ autolibs_flag = fetch(:rvm_autolibs_flag, 2).to_s
218
+ autolibs_flag_no_requirements = %w(
219
+ 0 disable disabled
220
+ 1 read read-only
221
+ 2 fail read-fail
222
+ ).include?( autolibs_flag )
223
+
224
+ if autolibs_flag_no_requirements
225
+ command_install << with_rvm_group("#{File.join(rvm_bin_path, "rvm")} --autolibs=#{autolibs_flag} #{rvm_install_ruby} #{ruby} -j #{rvm_install_ruby_threads} #{rvm_install_ruby_params}")
226
+ else
227
+ if fetch(:use_sudo, true) == false && rvm_install_with_sudo == false
228
+ raise "
229
+
230
+ :use_sudo is set to 'false' but sudo is needed to install requirements with autolibs '#{autolibs_flag}'.
231
+ You can enable use_sudo within rvm for use only by this ruby install operation by adding to deploy.rb: set :rvm_install_with_sudo, true
232
+
233
+ "
234
+ else
235
+ command_install << "#{sudo} #{File.join(rvm_bin_path, "rvm")} --autolibs=#{autolibs_flag} requirements #{ruby}"
236
+ command_install << "; "
237
+ command_install << with_rvm_group("#{File.join(rvm_bin_path, "rvm")} --autolibs=1 #{rvm_install_ruby} #{ruby} -j #{rvm_install_ruby_threads} #{rvm_install_ruby_params}")
238
+ end
239
+ end
240
+
207
241
  if gemset
208
242
  command_install << "; "
209
243
  command_install << with_rvm_group("#{File.join(rvm_bin_path, "rvm")} #{ruby} do rvm gemset create #{gemset}")
210
244
  end
245
+
211
246
  run_silent_curl command_install
212
247
  end
213
248
  end
@@ -233,7 +268,11 @@ module Capistrano
233
268
  rvm_task :create_gemset do
234
269
  ruby, gemset = fetch(:rvm_ruby_string_evaluated).to_s.strip.split /@/
235
270
  if %w( release_path default ).include? "#{ruby}"
236
- raise "gemset can not be created when using :rvm_ruby_string => :#{ruby}"
271
+ raise "
272
+
273
+ gemset can not be created when using :rvm_ruby_string => :#{ruby}
274
+
275
+ "
237
276
  else
238
277
  if gemset
239
278
  run with_rvm_group("#{File.join(rvm_bin_path, "rvm")} #{ruby} do rvm gemset create #{gemset}"), :shell => "#{rvm_install_shell}"
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.rc11
5
- prerelease: 6
4
+ version: 1.3.0.rc12
6
5
  platform: ruby
7
6
  authors:
8
7
  - Wayne E. Seguin
@@ -10,54 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-15 00:00:00.000000000 Z
12
+ date: 2013-04-12 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: capistrano
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: 2.0.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: 2.0.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rake
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: minitest
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  description: RVM / Capistrano Integration Gem
@@ -79,27 +72,26 @@ files:
79
72
  homepage: https://rvm.beginrescueend.com/integration/capistrano
80
73
  licenses:
81
74
  - MIT
75
+ metadata: {}
82
76
  post_install_message:
83
77
  rdoc_options: []
84
78
  require_paths:
85
79
  - lib
86
80
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
81
  requirements:
89
- - - ! '>='
82
+ - - '>='
90
83
  - !ruby/object:Gem::Version
91
84
  version: '0'
92
85
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
86
  requirements:
95
- - - ! '>'
87
+ - - '>'
96
88
  - !ruby/object:Gem::Version
97
89
  version: 1.3.1
98
90
  requirements: []
99
91
  rubyforge_project:
100
- rubygems_version: 1.8.25
92
+ rubygems_version: 2.0.3
101
93
  signing_key:
102
- specification_version: 3
94
+ specification_version: 4
103
95
  summary: RVM / Capistrano Integration Gem
104
96
  test_files:
105
97
  - spec/spec_helper.rb