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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec82bbdb0d866d3893d1e45ebc47ae0814181065
|
|
4
|
+
data.tar.gz: b70a3328e5af985ea349bfa3f05fb6c80211154f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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 -
|
|
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
|
data/lib/fulmar/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2016-08-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|