capistrano-cul 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/capistrano/tasks/wp.cap +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51781e97ebb29d0ee0c4c0ea4fb2e3fe508882a
|
4
|
+
data.tar.gz: 46a13fcc3c8074922404b750f488ec40913cee65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 855b84d312100e3a9666292fc95e01ec93495a60cd6dc17f49a194d78f22d51c083ffe3760d20ced9a787000811e545ad0314397c197c324ad776a5e52cdacd2
|
7
|
+
data.tar.gz: 9a20ca3d7022fbb03cc0e85ab25d3c4a1ea0fb3d8f486cf4d95dbeb4021eb60499481b1d104ec000414f53dae9b7c25d7cef0e290219112d420ae56885075f8b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/capistrano/tasks/wp.cap
CHANGED
@@ -113,11 +113,17 @@ namespace :cul do
|
|
113
113
|
def self.symlink_custom_plugins_and_themes
|
114
114
|
on roles(:web) do
|
115
115
|
wp_data_wp_content_path = File.join(fetch(:wp_data_path), 'wp-content')
|
116
|
-
wp_data_mu_plugin_path = File.join(wp_data_wp_content_path, 'mu-plugins')
|
117
116
|
wp_data_plugin_path = File.join(wp_data_wp_content_path, 'plugins')
|
117
|
+
wp_data_mu_plugin_path = File.join(wp_data_wp_content_path, 'mu-plugins')
|
118
118
|
wp_data_themes_path = File.join(wp_data_wp_content_path, 'themes')
|
119
119
|
|
120
120
|
if test("[ -d #{wp_data_wp_content_path} ]")
|
121
|
+
|
122
|
+
# Create necessary directories
|
123
|
+
execute :mkdir, '-p', wp_data_plugin_path
|
124
|
+
execute :mkdir, '-p', wp_data_mu_plugin_path
|
125
|
+
execute :mkdir, '-p', wp_data_themes_path
|
126
|
+
|
121
127
|
# Remove old symlinks
|
122
128
|
[wp_data_plugin_path, wp_data_themes_path].each do |dir|
|
123
129
|
execute :find, dir, '-maxdepth 1', '-type l', '-exec rm {} \;'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-cul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carla Galarza
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|