sumodev_deploy 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cf6d2004276f4c1aa441f4a77735132057c2bf2
4
- data.tar.gz: b3ea6d9417c4cf243396d1e8ed685c2e7b07d8ad
3
+ metadata.gz: a1c0453fd905d955456ef02aee30e3a08b960b75
4
+ data.tar.gz: 315d2d27daa4c6a619ed3337cc93cec89eab15d4
5
5
  SHA512:
6
- metadata.gz: c78c9dad2de9fcd84affd5bcafcaf1eacb3fc1bbf798dae9fb949d7e04af71afbbda010fd07a9aca9166c7b0f06a04d156508f486353f3ab6f265960031a191f
7
- data.tar.gz: 01da11402017fa207d16280def321fef9f69699ddcee49ea5f3f60da56d74f09872a1a5a7a7fe29c4251d7cafd70218f3dc9ac9638c60dd6a114a394dc28db14
6
+ metadata.gz: 41edb043258cccddb3b297344bf875ae6f02a9298d5fe62511720f44d221069f2233f11539adcd27d2635cd8a4e46531c1c252081307371046f10183c900433d
7
+ data.tar.gz: a838598afa0e7c9c06e8051d6456cb7d837dddfd2663159f8d7a2f9c4ed636a627a0cc1374c2c1cc857deed34ab3153528814ff56ecb595d6d44bcebd8a58ec0
@@ -19,6 +19,11 @@ Capistrano::Configuration.instance.load do
19
19
  else
20
20
  logger.important "No Gruntfile.coffee or gulpfile.js found"
21
21
  end
22
+ if File.exists?("package.json")
23
+ run_locally "rm -rf temporary_node_modules; mkdir temporary_node_modules; cp package.json temporary_node_modules; cd temporary_node_modules; npm install --production"
24
+ upload "./temporary_node_modules", "#{latest_release.shellescape}"
25
+ run_locally "rm -rf temporary_node_modules"
26
+ end
22
27
  end
23
28
  end
24
29
  end
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "sumodev_deploy"
5
- s.version = "0.7.2"
5
+ s.version = "0.8.0"
6
6
 
7
7
  s.authors = ["Jan De Poorter"]
8
8
  s.date = "2012-04-18"
9
9
  s.description = "Deploy to Sumocoders Dev server"
10
- s.summary = "Deployment for Fork 3.x.x with Capistrano"
10
+ s.summary = "Deployment for Fork [3|4].x.x with Capistrano"
11
11
  s.email = "info@sumocoders.be"
12
12
  # s.extra_rdoc_files = [
13
13
  # ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan De Poorter
@@ -74,5 +74,5 @@ rubyforge_project:
74
74
  rubygems_version: 2.5.1
75
75
  signing_key:
76
76
  specification_version: 4
77
- summary: Deployment for Fork 3.x.x with Capistrano
77
+ summary: Deployment for Fork [3|4].x.x with Capistrano
78
78
  test_files: []