capistrano-node-deploy 1.2.10 → 1.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/capistrano-node-deploy.gemspec +5 -5
- data/lib/capistrano/node-deploy.rb +3 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc2c6402da7a9ad3840c26688b6cad62781a72b7
|
4
|
+
data.tar.gz: 75abe34a3ba8746a55746895adb679a8241152aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f16b6553172e4348e2fd4fbf73b2775a0f477a62113d5a8d482f04598d90eea58841db9c0f76fb171175ff05867c6934a0e55585476daf381e6bd0d3ca87f462
|
7
|
+
data.tar.gz: 8315717065027aced4dd8e8aab01b7cf9108fa438da856ec0c1f7351ab644aa001f25ad72946a31ed42a9e5bca4ceea1f8155e2b802664750d46f2dfc3812285
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.11
|
@@ -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.11"
|
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-10-
|
12
|
+
s.date = "2013-10-25"
|
13
13
|
s.description = "Capistrano recipes for deploying node apps"
|
14
14
|
s.email = "james@loopj.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -39,14 +39,14 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.specification_version = 4
|
40
40
|
|
41
41
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
-
s.add_runtime_dependency(%q<railsless-deploy>, [">= 0"])
|
42
|
+
s.add_runtime_dependency(%q<railsless-deploy>, [">= 1.1.0"])
|
43
43
|
s.add_runtime_dependency(%q<multi_json>, ["~> 1.3.6"])
|
44
44
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
45
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
46
46
|
s.add_development_dependency(%q<bundler>, ["~> 1.1"])
|
47
47
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
48
48
|
else
|
49
|
-
s.add_dependency(%q<railsless-deploy>, [">= 0"])
|
49
|
+
s.add_dependency(%q<railsless-deploy>, [">= 1.1.0"])
|
50
50
|
s.add_dependency(%q<multi_json>, ["~> 1.3.6"])
|
51
51
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
52
52
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
55
55
|
end
|
56
56
|
else
|
57
|
-
s.add_dependency(%q<railsless-deploy>, [">= 0"])
|
57
|
+
s.add_dependency(%q<railsless-deploy>, [">= 1.1.0"])
|
58
58
|
s.add_dependency(%q<multi_json>, ["~> 1.3.6"])
|
59
59
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
60
60
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -27,7 +27,8 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration|
|
|
27
27
|
default_run_options[:pty] = true
|
28
28
|
before "deploy", "deploy:create_release_dir"
|
29
29
|
before "deploy", "node:check_upstart_config"
|
30
|
-
|
30
|
+
before "deploy:create_symlink", "node:install_packages"
|
31
|
+
after "deploy:update", "node:restart"
|
31
32
|
after "deploy:rollback", "node:restart"
|
32
33
|
|
33
34
|
package_json = MultiJson.load(File.open("package.json").read) rescue {}
|
@@ -67,11 +68,7 @@ EOD
|
|
67
68
|
namespace :node do
|
68
69
|
desc "Check required packages and install if packages are not installed"
|
69
70
|
task :install_packages do
|
70
|
-
run "
|
71
|
-
run "cp #{release_path}/package.json #{shared_path}"
|
72
|
-
run "cp #{release_path}/npm-shrinkwrap.json #{shared_path}" if remote_file_exists?("#{release_path}/npm-shrinkwrap.json")
|
73
|
-
run "cd #{shared_path} && npm install --loglevel warn"
|
74
|
-
run "ln -s #{shared_path}/node_modules #{release_path}/node_modules"
|
71
|
+
run "cd #{release_path} && npm install --loglevel warn"
|
75
72
|
end
|
76
73
|
|
77
74
|
task :check_upstart_config do
|
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.11
|
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-10-
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railsless-deploy
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: multi_json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|