fulmar 1.8.13 → 1.8.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 906b8d1d91aa1dba5cc9172abfbf780ab94491e7
|
4
|
+
data.tar.gz: 1a80fec65abb7e3b8dc8af47ef5255554ba0c528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311c8349f2c86fd1cbec2a1d6c4cda697a012669554d73e8bbf52e3ae49a1230506165da1da2b65c51544aed10e0f5e40ce1c5dc1ee46eddaeddf09fbd42648f
|
7
|
+
data.tar.gz: fcdb1c522108ebec0a26d568b533e07aadd3eae03960a46ff6e707aabc0a650f583991dd36b225fb327f58307e4528457b19468d536eb8272567820a92d6e6a0
|
@@ -190,19 +190,18 @@ module Fulmar
|
|
190
190
|
# @return [true, false] success
|
191
191
|
def add_shared
|
192
192
|
commands = [] # Collect all remote commands first, then execute them in one step to avoid reconnecting very often
|
193
|
-
@config[:shared].each do |
|
194
|
-
commands << "mkdir -p \"#{release_dir}/#{
|
193
|
+
@config[:shared].each do |path|
|
194
|
+
commands << "mkdir -p \"#{release_dir}/#{File.dirname(path)}\""
|
195
195
|
|
196
|
-
unless remote_dir_exists?("#{@config[:shared_dir]}/#{
|
197
|
-
commands << "mkdir -p \"#{@config[:shared_dir]}/#{File.dirname(
|
198
|
-
commands << "cp -pr \"#{release_dir}/#{
|
196
|
+
unless remote_dir_exists?("#{@config[:shared_dir]}/#{path}")
|
197
|
+
commands << "mkdir -p \"#{@config[:shared_dir]}/#{File.dirname(path)}\""
|
198
|
+
commands << "cp -pr \"#{release_dir}/#{path}\" \"#{@config[:shared_dir]}/#{File.dirname(path)}\""
|
199
199
|
end
|
200
200
|
|
201
|
-
commands << "rm -fr \"#{release_dir}/#{
|
202
|
-
commands << "mkdir -p \"#{release_dir}/#{File.dirname(
|
203
|
-
commands << "ln -s \"#{@config[:remote_path]}/#{@config[:shared_dir]}/#{
|
201
|
+
commands << "rm -fr \"#{release_dir}/#{path}\""
|
202
|
+
commands << "mkdir -p \"#{release_dir}/#{File.dirname(path)}\""
|
203
|
+
commands << "ln -s \"#{@config[:remote_path]}/#{@config[:shared_dir]}/#{path}\" \"#{release_dir}/#{path}\""
|
204
204
|
end
|
205
|
-
|
206
205
|
@remote_shell.run commands if commands.length > 0
|
207
206
|
end
|
208
207
|
|
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.14
|
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-
|
12
|
+
date: 2016-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|