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 CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "railsless-deploy", "~> 1.0.2"
3
+ gem "railsless-deploy"
4
4
  gem "multi_json", "~> 1.3.6"
5
5
 
6
6
  group :development do
@@ -27,7 +27,7 @@ DEPENDENCIES
27
27
  bundler (~> 1.1)
28
28
  jeweler (~> 1.8.3)
29
29
  multi_json (~> 1.3.6)
30
- railsless-deploy (~> 1.0.2)
30
+ railsless-deploy
31
31
  rcov
32
32
  rdoc (~> 3.12)
33
33
  shoulda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.4
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.4"
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-03-21"
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>, ["~> 1.0.2"])
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>, ["~> 1.0.2"])
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>, ["~> 1.0.2"])
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 == 'production') ? '--production' : ''} --loglevel warn"
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.4
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-03-21 00:00:00 Z
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: 19
26
+ hash: 3
27
27
  segments:
28
- - 1
29
28
  - 0
30
- - 2
31
- version: 1.0.2
29
+ version: "0"
32
30
  version_requirements: *id001
33
31
  prerelease: false
34
32
  type: :runtime