pludoni-capistrano 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,8 @@
1
- require 'bundler/capistrano'
2
- # Add RVM's lib directory to the load ...path.
3
- $:.unshift("#{ENV["HOME"]}/.rvm/lib")
4
- $:.unshift(File.expand_path('./lib', ENV['rvm_path']))
5
-
6
- require 'rvm'
7
- require "rvm/capistrano" # Load RVM's capistrano plugin.
8
1
  require 'capistrano_colors'
9
-
2
+ # Add RVM's lib directory to the load ...path.
3
+ #$:.unshift("#{ENV["HOME"]}/.rvm/lib")
4
+ #$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
5
+ Capistrano::Configuration.instance.load do
6
+ set :use_sudo, false
7
+ after "deploy", "deploy:cleanup"
8
+ end
@@ -0,0 +1,11 @@
1
+ Capistrano::Configuration.instance.load do
2
+ require 'bundler/capistrano'
3
+
4
+ before 'deploy:setup', 'rvm:install_rvm' # install RVM
5
+ before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, or:
6
+ set :rvm_type, :user
7
+
8
+ set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"") if !exists?(:rvm_ruby_string)
9
+ require "rvm/capistrano"
10
+
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Pludoni
2
2
  module Capistrano
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -16,4 +16,5 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Pludoni::Capistrano::VERSION
17
17
  gem.add_runtime_dependency "capistrano_colors"
18
18
  gem.add_runtime_dependency "capistrano"
19
+ gem.add_runtime_dependency "rvm-capistrano"
19
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pludoni-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano_colors
16
- requirement: &6462540 !ruby/object:Gem::Requirement
16
+ requirement: &7999140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *6462540
24
+ version_requirements: *7999140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano
27
- requirement: &6461340 !ruby/object:Gem::Requirement
27
+ requirement: &7998080 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,18 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *6461340
35
+ version_requirements: *7998080
36
+ - !ruby/object:Gem::Dependency
37
+ name: rvm-capistrano
38
+ requirement: &7997520 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *7997520
36
47
  description: Some common tasks for capistrano
37
48
  email:
38
49
  - stefan.wienert@pludoni.de
@@ -52,6 +63,7 @@ files:
52
63
  - lib/pludoni-capistrano/local_deployment.rb
53
64
  - lib/pludoni-capistrano/paperclip.rb
54
65
  - lib/pludoni-capistrano/passenger.rb
66
+ - lib/pludoni-capistrano/ruby.rb
55
67
  - lib/pludoni-capistrano/setup.rb
56
68
  - lib/pludoni-capistrano/specs.rb
57
69
  - lib/pludoni-capistrano/sphinx.rb