capistrano-node-deploy 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- 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 +2 -1
- metadata +7 -9
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.5
|
@@ -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.5"
|
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-
|
12
|
+
s.date = "2013-07-17"
|
13
13
|
s.description = "Capistrano recipes for deploying node apps"
|
14
14
|
s.email = "james@loopj.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.specification_version = 3
|
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>, ["
|
42
|
+
s.add_runtime_dependency(%q<railsless-deploy>, [">= 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"])
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
|
47
47
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
48
48
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
49
49
|
else
|
50
|
-
s.add_dependency(%q<railsless-deploy>, ["
|
50
|
+
s.add_dependency(%q<railsless-deploy>, [">= 0"])
|
51
51
|
s.add_dependency(%q<multi_json>, ["~> 1.3.6"])
|
52
52
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
53
53
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.add_dependency(%q<rcov>, [">= 0"])
|
57
57
|
end
|
58
58
|
else
|
59
|
-
s.add_dependency(%q<railsless-deploy>, ["
|
59
|
+
s.add_dependency(%q<railsless-deploy>, [">= 0"])
|
60
60
|
s.add_dependency(%q<multi_json>, ["~> 1.3.6"])
|
61
61
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
62
62
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -16,6 +16,7 @@ def remote_file_differs?(full_path, content)
|
|
16
16
|
end
|
17
17
|
|
18
18
|
Capistrano::Configuration.instance(:must_exist).load do |configuration|
|
19
|
+
default_run_options[:pty] = true
|
19
20
|
before "deploy", "deploy:create_release_dir"
|
20
21
|
before "deploy", "node:check_upstart_config"
|
21
22
|
after "deploy:update", "node:install_packages", "node:restart"
|
@@ -58,7 +59,7 @@ EOD
|
|
58
59
|
run "mkdir -p #{shared_path}/node_modules"
|
59
60
|
run "cp #{release_path}/package.json #{shared_path}"
|
60
61
|
run "cp #{release_path}/npm-shrinkwrap.json #{shared_path}"
|
61
|
-
run "cd #{shared_path} && npm install #{(node_env
|
62
|
+
run "cd #{shared_path} && npm install #{(node_env != 'production') ? '--dev' : ''} --loglevel warn"
|
62
63
|
run "ln -s #{shared_path}/node_modules #{release_path}/node_modules"
|
63
64
|
end
|
64
65
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-node-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 5
|
10
|
+
version: 1.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Smith
|
@@ -15,20 +15,18 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-07-17 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
22
22
|
none: false
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
hash:
|
26
|
+
hash: 3
|
27
27
|
segments:
|
28
|
-
- 1
|
29
28
|
- 0
|
30
|
-
|
31
|
-
version: 1.0.2
|
29
|
+
version: "0"
|
32
30
|
version_requirements: *id001
|
33
31
|
prerelease: false
|
34
32
|
type: :runtime
|