captainu-chinook 0.1.8 → 0.1.9

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: 53a09a71f61969ab51eb3faae0e20afe6a921d03
4
- data.tar.gz: 365525cfbd713b6c5cc6842e06dd1b6e7d7f735c
3
+ metadata.gz: d4d74dca2a8966ca9eb30f9ae54bf227080b1f38
4
+ data.tar.gz: c4734295ca2001350ab95cd95aaa53136599963b
5
5
  SHA512:
6
- metadata.gz: cd9b0050eca9dc452f26cd6ee3ede18c7cdd4b8592cce2446d0830339a1e4f2159ffd14e186faacab5b153981998c7a72241fcaa1face723fc8459924c5d568a
7
- data.tar.gz: 38d1f138faf5947f2a8886e846a3ca3b90d7adda74369e343ef64183ed5ce76cd541c7caee12a580ca768281efe9a2793496f7743a1d5624653124d0cc4a2f01
6
+ metadata.gz: d6cfec5fa82451feaa6c2c0e18bc7d5e0b8ad449a7961c9fa4ecf86fb25ec36ea85b8bd28a0cf50885f44f0a164f9d53a7777a361ae93eabd97b749da4ed597c
7
+ data.tar.gz: 22110b78fe94dbd91178d610382e6ff37e813a49f3bf2527652044c3dbe097eaff15637981ad8e490c97f17eacb4356f6a27ee70a3e0feb4d43c24180758b5a7
@@ -1,5 +1,6 @@
1
1
  # Defines a task that will symlink directories into the deployed site.
2
2
  require 'capistrano'
3
+ require 'fileutils'
3
4
 
4
5
  module Chinook::Capistrano
5
6
  module Symlink
@@ -11,6 +12,7 @@ module Chinook::Capistrano
11
12
  logger.info "Symlinking directories from shared into public."
12
13
  fetch(:public_directories, []).each do |directory|
13
14
  source = File.join(deploy_to, 'shared', directory)
15
+ FileUtils.mkdir_p(source) unless Dir.exist?(source)
14
16
  destination = File.join(release_path, 'public', directory)
15
17
  invoke_command "ln -nfs #{source} #{destination}", via: run_method
16
18
  end
@@ -1,3 +1,3 @@
1
1
  module Chinook
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: captainu-chinook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Kreeger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2014-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -136,9 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.2.0
139
+ rubygems_version: 2.2.2
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Abstraction of Capistrano v2 deployment tasks.
143
143
  test_files: []
144
- has_rdoc: