capistrano-node-deploy 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
@@ -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.2"
8
+ s.version = "1.2.3"
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-02-27"
12
+ s.date = "2013-03-21"
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 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration|
39
39
  description "#{application} node app"
40
40
  author "capistrano"
41
41
 
42
- start on (filesystem and net-device-up IFACE=lo)
42
+ start on runlevel [2345]
43
43
  stop on shutdown
44
44
 
45
45
  respawn
@@ -57,6 +57,7 @@ EOD
57
57
  task :install_packages do
58
58
  run "mkdir -p #{shared_path}/node_modules"
59
59
  run "cp #{release_path}/package.json #{shared_path}"
60
+ run "cp #{release_path}/npm-shrinkwrap.json #{shared_path}"
60
61
  run "cd #{shared_path} && npm install #{(node_env == 'production') ? '--production' : ''} --loglevel warn"
61
62
  run "ln -s #{shared_path}/node_modules #{release_path}/node_modules"
62
63
  end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 2
10
- version: 1.2.2
9
+ - 3
10
+ version: 1.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - James Smith
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-02-27 00:00:00 Z
18
+ date: 2013-03-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement
@@ -29,10 +29,10 @@ dependencies:
29
29
  - 0
30
30
  - 2
31
31
  version: 1.0.2
32
- type: :runtime
33
32
  version_requirements: *id001
34
- name: railsless-deploy
35
33
  prerelease: false
34
+ type: :runtime
35
+ name: railsless-deploy
36
36
  - !ruby/object:Gem::Dependency
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
@@ -45,10 +45,10 @@ dependencies:
45
45
  - 3
46
46
  - 6
47
47
  version: 1.3.6
48
- type: :runtime
49
48
  version_requirements: *id002
50
- name: multi_json
51
49
  prerelease: false
50
+ type: :runtime
51
+ name: multi_json
52
52
  - !ruby/object:Gem::Dependency
53
53
  requirement: &id003 !ruby/object:Gem::Requirement
54
54
  none: false
@@ -59,10 +59,10 @@ dependencies:
59
59
  segments:
60
60
  - 0
61
61
  version: "0"
62
- type: :development
63
62
  version_requirements: *id003
64
- name: shoulda
65
63
  prerelease: false
64
+ type: :development
65
+ name: shoulda
66
66
  - !ruby/object:Gem::Dependency
67
67
  requirement: &id004 !ruby/object:Gem::Requirement
68
68
  none: false
@@ -74,10 +74,10 @@ dependencies:
74
74
  - 3
75
75
  - 12
76
76
  version: "3.12"
77
- type: :development
78
77
  version_requirements: *id004
79
- name: rdoc
80
78
  prerelease: false
79
+ type: :development
80
+ name: rdoc
81
81
  - !ruby/object:Gem::Dependency
82
82
  requirement: &id005 !ruby/object:Gem::Requirement
83
83
  none: false
@@ -89,10 +89,10 @@ dependencies:
89
89
  - 1
90
90
  - 1
91
91
  version: "1.1"
92
- type: :development
93
92
  version_requirements: *id005
94
- name: bundler
95
93
  prerelease: false
94
+ type: :development
95
+ name: bundler
96
96
  - !ruby/object:Gem::Dependency
97
97
  requirement: &id006 !ruby/object:Gem::Requirement
98
98
  none: false
@@ -105,10 +105,10 @@ dependencies:
105
105
  - 8
106
106
  - 3
107
107
  version: 1.8.3
108
- type: :development
109
108
  version_requirements: *id006
110
- name: jeweler
111
109
  prerelease: false
110
+ type: :development
111
+ name: jeweler
112
112
  - !ruby/object:Gem::Dependency
113
113
  requirement: &id007 !ruby/object:Gem::Requirement
114
114
  none: false
@@ -119,10 +119,10 @@ dependencies:
119
119
  segments:
120
120
  - 0
121
121
  version: "0"
122
- type: :development
123
122
  version_requirements: *id007
124
- name: rcov
125
123
  prerelease: false
124
+ type: :development
125
+ name: rcov
126
126
  description: Capistrano recipes for deploying node apps
127
127
  email: james@loopj.com
128
128
  executables: []