capistrano-helpers 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/capistrano-helpers.gemspec +3 -2
- data/lib/capistrano-helpers/bundler.rb +14 -0
- metadata +5 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.5.0
|
data/capistrano-helpers.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{capistrano-helpers}
|
|
8
|
-
s.version = "0.
|
|
8
|
+
s.version = "0.5.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Scott Woods"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-09-16}
|
|
13
13
|
s.description = %q{A set of optional extensions to capistrano to make common tasks easier.}
|
|
14
14
|
s.email = %q{scott@westarete.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
"capistrano-helpers.gemspec",
|
|
28
28
|
"lib/capistrano-helpers.rb",
|
|
29
29
|
"lib/capistrano-helpers/branch.rb",
|
|
30
|
+
"lib/capistrano-helpers/bundler.rb",
|
|
30
31
|
"lib/capistrano-helpers/campfire.rb",
|
|
31
32
|
"lib/capistrano-helpers/features.rb",
|
|
32
33
|
"lib/capistrano-helpers/gems.rb",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require File.dirname(__FILE__) + '/../capistrano-helpers' if ! defined?(CapistranoHelpers)
|
|
2
|
+
|
|
3
|
+
CapistranoHelpers.with_configuration do
|
|
4
|
+
|
|
5
|
+
namespace :deploy do
|
|
6
|
+
desc "Install gems on the remote server using Bundler."
|
|
7
|
+
task :bundler do
|
|
8
|
+
run "cd #{release_path} && bundle install --deployment"
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
after "deploy:symlink_shared", "deploy:bundler"
|
|
13
|
+
|
|
14
|
+
end
|
metadata
CHANGED
|
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
version: 0.
|
|
7
|
+
- 5
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.5.0
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Scott Woods
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-09-16 00:00:00 -04:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -51,6 +51,7 @@ files:
|
|
|
51
51
|
- capistrano-helpers.gemspec
|
|
52
52
|
- lib/capistrano-helpers.rb
|
|
53
53
|
- lib/capistrano-helpers/branch.rb
|
|
54
|
+
- lib/capistrano-helpers/bundler.rb
|
|
54
55
|
- lib/capistrano-helpers/campfire.rb
|
|
55
56
|
- lib/capistrano-helpers/features.rb
|
|
56
57
|
- lib/capistrano-helpers/gems.rb
|