foreman-capistrano 0.51.2 → 0.51.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/foreman/capistrano.rb +2 -0
- data/lib/foreman/version.rb +1 -1
- metadata +2 -2
data/lib/foreman/capistrano.rb
CHANGED
@@ -22,6 +22,7 @@ if defined?(Capistrano)
|
|
22
22
|
foreman_procfile = fetch(:foreman_procfile, "Procfile")
|
23
23
|
foreman_app = fetch(:foreman_app, application)
|
24
24
|
foreman_user = fetch(:foreman_user, user)
|
25
|
+
foreman_port = fetch(:foreman_port, 5000)
|
25
26
|
foreman_log = fetch(:foreman_log, "#{shared_path}/log")
|
26
27
|
foreman_concurrency = fetch(:foreman_concurrency, false)
|
27
28
|
|
@@ -30,6 +31,7 @@ if defined?(Capistrano)
|
|
30
31
|
args << "-a #{foreman_app}"
|
31
32
|
args << "-u #{foreman_user}"
|
32
33
|
args << "-l #{foreman_log}"
|
34
|
+
args << "-p #{foreman_port}"
|
33
35
|
args << "-c #{foreman_concurrency}" if foreman_concurrency
|
34
36
|
run "cd #{release_path} && #{bundle_cmd} exec foreman export #{args.join(' ')}"
|
35
37
|
end
|
data/lib/foreman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.51.
|
4
|
+
version: 0.51.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|