capistrano-node-deploy 1.2.6 → 1.2.7
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/capistrano-node-deploy.gemspec +2 -2
- data/lib/capistrano/node-deploy.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0535c0dd46b84fe70d0cbb1d1eb96ef12aececd
|
|
4
|
+
data.tar.gz: 0dab6c91e9e12f2e714cb0b7c796f786cecaf306
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7116ad8d353413c1dfdf3ed5328a4984e84f1aebb0eb2b0fecfd97c613297649aeb0cfa32636276e6368628d5ad2bbb25efc2c717cc30bbe1949146ec864d01e
|
|
7
|
+
data.tar.gz: eae50ff52922e6178ec1246da6cf62efba5086f1b534ec4839dfb4d90d5ea6cb5331f257e8df4cce79e372ad716b93f56c9df6efaaae832acc2ae22474cb67b5
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.7
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "capistrano-node-deploy"
|
|
8
|
-
s.version = "1.2.
|
|
8
|
+
s.version = "1.2.7"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["James Smith"]
|
|
12
|
-
s.date = "2013-07-
|
|
12
|
+
s.date = "2013-07-21"
|
|
13
13
|
s.description = "Capistrano recipes for deploying node apps"
|
|
14
14
|
s.email = "james@loopj.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -40,6 +40,9 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration|
|
|
|
40
40
|
set :node_env, "production" unless defined? node_env
|
|
41
41
|
set :node_user, "deploy" unless defined? node_user
|
|
42
42
|
|
|
43
|
+
set :stdout_log_path, lambda { "#{shared_path}/log/#{node_env}.out.log" }
|
|
44
|
+
set :stderr_log_path, lambda { "#{shared_path}/log/#{node_env}.err.log" }
|
|
45
|
+
|
|
43
46
|
set :upstart_job_name, lambda { "#{application}-#{node_env}" } unless defined? upstart_job_name
|
|
44
47
|
set :upstart_file_path, lambda { "/etc/init/#{upstart_job_name}.conf" } unless defined? upstart_file_path
|
|
45
48
|
_cset(:upstart_file_contents) {
|
|
@@ -55,7 +58,7 @@ respawn
|
|
|
55
58
|
respawn limit 99 5
|
|
56
59
|
|
|
57
60
|
script
|
|
58
|
-
cd #{current_path} && exec sudo -u #{node_user} NODE_ENV=#{node_env} #{app_environment} #{node_binary} #{current_path}/#{app_command} 2>> #{
|
|
61
|
+
cd #{current_path} && exec sudo -u #{node_user} NODE_ENV=#{node_env} #{app_environment} #{node_binary} #{current_path}/#{app_command} 2>> #{stderr_log_path} 1>> #{stdout_log_path}
|
|
59
62
|
end script
|
|
60
63
|
EOD
|
|
61
64
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-node-deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railsless-deploy
|