captainu-chinook 0.1.9 → 0.1.10

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: d4d74dca2a8966ca9eb30f9ae54bf227080b1f38
4
- data.tar.gz: c4734295ca2001350ab95cd95aaa53136599963b
3
+ metadata.gz: d748f74a38c6894645648d164ebd9f394f87f327
4
+ data.tar.gz: cbb5e84d1ed479d2d2641d63331263c4567b0ffa
5
5
  SHA512:
6
- metadata.gz: d6cfec5fa82451feaa6c2c0e18bc7d5e0b8ad449a7961c9fa4ecf86fb25ec36ea85b8bd28a0cf50885f44f0a164f9d53a7777a361ae93eabd97b749da4ed597c
7
- data.tar.gz: 22110b78fe94dbd91178d610382e6ff37e813a49f3bf2527652044c3dbe097eaff15637981ad8e490c97f17eacb4356f6a27ee70a3e0feb4d43c24180758b5a7
6
+ metadata.gz: 87e812a7b153a53e4605c48c7be94fee00b86cb18e6cfcfcad77a5344ccabf1cc7f9c371b599e2777b9798e44f47f13e0c0a3d6448041b5b2cb36b57e91dc098
7
+ data.tar.gz: dd85e16c9c0317ebab1567c7af19c8a0d403f8affe3166da87204e62496c443ad44ce7aff7bdd8dbb4311e4bd1da668a9619528605bd39d85db895ab53610550
@@ -12,7 +12,7 @@ module Chinook::Capistrano
12
12
  logger.info "Symlinking directories from shared into public."
13
13
  fetch(:public_directories, []).each do |directory|
14
14
  source = File.join(deploy_to, 'shared', directory)
15
- FileUtils.mkdir_p(source) unless Dir.exist?(source)
15
+ invoke_command "mkdir -p #{source}", via: run_method
16
16
  destination = File.join(release_path, 'public', directory)
17
17
  invoke_command "ln -nfs #{source} #{destination}", via: run_method
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Chinook
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: captainu-chinook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Kreeger