capistrano-node-deploy 1.2.8 → 1.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48bc79a5c428750a33a2d281537ac9a9a5b873a2
4
- data.tar.gz: 68285084930084b95bb5594ae2f4680c03c5d3a0
3
+ metadata.gz: 54188b7e9bec1da1e65ff858c606985bdb8bffb1
4
+ data.tar.gz: 436787836d1bc89f4ae973965a1fbd7e51b8471f
5
5
  SHA512:
6
- metadata.gz: a1210ec1d30fe5a110531267e9014bb685294296d02b0330fd6ca624bfb8b2b2fea0852a5a78e24ca89afceed1fc69e82740d297ea78b8a8ee602561df808db0
7
- data.tar.gz: 09323d50290171bf568a5128f2917a0398444f25fe398273299140a1584d970a6bcaabbedea8b401aafb0cae83a003f2ab61a57b359f7e3a0fc302c813bb0cdb
6
+ metadata.gz: 6d3fac897b1f23cdffd646223514d4d3d0a3b886dd25eb5a65f62d1199a7d9d1cb618ee09832317b0ff152105b7431121247d0dddcb8e6a0d0a29f92abf6dbe6
7
+ data.tar.gz: 242133d2f09c229e29ab9e6e52f9d19ad4a1ee1f2ef0a05e24d80b166a207e41f0e04d5637faa88214d7fbf00396c817fd6708982a90ffa89ccc07dfbc4a4722
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.8
1
+ 1.2.9
@@ -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"
8
+ s.version = "1.2.9"
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-26"
12
+ s.date = "2013-08-07"
13
13
  s.description = "Capistrano recipes for deploying node apps"
14
14
  s.email = "james@loopj.com"
15
15
  s.extra_rdoc_files = [
@@ -70,7 +70,7 @@ EOD
70
70
  run "mkdir -p #{shared_path}/node_modules"
71
71
  run "cp #{release_path}/package.json #{shared_path}"
72
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 #{(node_env != 'production') ? '--dev' : ''} --loglevel warn"
73
+ run "cd #{shared_path} && npm install #{(node_env == 'production') ? '--production' : '--dev' } --loglevel warn"
74
74
  run "ln -s #{shared_path}/node_modules #{release_path}/node_modules"
75
75
  end
76
76
 
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.8
4
+ version: 1.2.9
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-26 00:00:00.000000000 Z
11
+ date: 2013-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railsless-deploy