captainu-chinook 0.1.8 → 0.1.9
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 +4 -4
- data/lib/chinook/capistrano/symlink.rb +2 -0
- data/lib/chinook/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4d74dca2a8966ca9eb30f9ae54bf227080b1f38
|
|
4
|
+
data.tar.gz: c4734295ca2001350ab95cd95aaa53136599963b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/chinook/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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:
|