fulmar 1.8.11 → 1.8.12

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: 3c529c93d1013dae2c5c8ecfb75114345661d16e
4
- data.tar.gz: 889fa50be3dd0a58e9b47acb439a6ed87c5be4ca
3
+ metadata.gz: ec82bbdb0d866d3893d1e45ebc47ae0814181065
4
+ data.tar.gz: b70a3328e5af985ea349bfa3f05fb6c80211154f
5
5
  SHA512:
6
- metadata.gz: 457075aa1d11d14e7fe3d0ac191c360738da70cc45030635b120389191256a87229537ccbbda259247d873665ca984c66e308c4a2f0bb2b4721aaf8a22b3a521
7
- data.tar.gz: 8bf2d20f3ce4781b8654845e039b3a306433d2ade4037843d8cf7a37055506f8187526144d09ee6a01e996bc9bf99eadf90576639e97ce1d522615984d7ff095
6
+ metadata.gz: c1ff194c5d4d20181e8c8269b8f1d70cd4a8ee250c0f03bd4211520088e1386e20e54d5e8eab606505f0329829d5c1a5e4cbf4373610270b3db266591e0f2f02
7
+ data.tar.gz: c3f2749ed5a4008cf59859b7c3d2ff42e50ba23b5a180e373bd79b6ed51968863414c6c9427a3047646f2ec5f7968422c71fab5d3861adabef6f1e5cc8e0e32f
@@ -56,7 +56,10 @@ module Fulmar
56
56
  def transfer
57
57
  prepare unless @prepared
58
58
 
59
- create_paths && @local_shell.run(rsync_command) && copy_temp_to_release && add_shared
59
+ fail 'Deployment failed when trying to prepare remote directories for sync.' unless create_paths
60
+ fail 'Deployment failed. Cannot sync files.' unless @local_shell.run(rsync_command)
61
+ fail 'Deployment failed when trying to move file from temporary upload dir.' unless copy_temp_to_release
62
+ fail 'Deployment failed when creating symlinks for shared folders' unless add_shared
60
63
  end
61
64
 
62
65
  # Publishes the current release (i.e. sets the 'current' symlink)
@@ -166,7 +169,7 @@ module Fulmar
166
169
  # Copies the data from the sync temp to the actual release directory
167
170
  # @return [true, false] success
168
171
  def copy_temp_to_release
169
- @remote_shell.run "cp -pr #{@config[:temp_dir]} #{release_dir}"
172
+ @remote_shell.run "cp -pR #{@config[:temp_dir]} #{release_dir}"
170
173
  end
171
174
 
172
175
  # Set the symlink to the given release or the return value of release_dir() otherwise
@@ -1,4 +1,4 @@
1
1
  # Provides a global version number
2
2
  module Fulmar
3
- VERSION = '1.8.11'
3
+ VERSION = '1.8.12'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fulmar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.11
4
+ version: 1.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Siegl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
12
+ date: 2016-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler