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
|
data/pludoni-capistrano.gemspec
CHANGED
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.
|
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: &
|
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: *
|
24
|
+
version_requirements: *7999140
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: capistrano
|
27
|
-
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: *
|
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
|