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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efc3376775912d009784534e31744557281a477a
4
- data.tar.gz: 72b9ea9e77673c17e04fb1dfaad99af3ac8902bf
3
+ metadata.gz: c51781e97ebb29d0ee0c4c0ea4fb2e3fe508882a
4
+ data.tar.gz: 46a13fcc3c8074922404b750f488ec40913cee65
5
5
  SHA512:
6
- metadata.gz: 73d41d5c35e8604d8faa1de89f6a3404f02c7eea840da004068789e1bf53274668ee719b091dce9eab3cc84bac99a36f06a874e52ecb7e6e7ec67b9eee1f49e0
7
- data.tar.gz: e98ec8816ccca707c65f7a2926bab0682ab56c625d42913b1d504e71a4d7cec57e1412bb30dec949dd9a6dd1b3b19226b019b79dd4daa6f167c4827fb58125b3
6
+ metadata.gz: 855b84d312100e3a9666292fc95e01ec93495a60cd6dc17f49a194d78f22d51c083ffe3760d20ced9a787000811e545ad0314397c197c324ad776a5e52cdacd2
7
+ data.tar.gz: 9a20ca3d7022fbb03cc0e85ab25d3c4a1ea0fb3d8f486cf4d95dbeb4021eb60499481b1d104ec000414f53dae9b7c25d7cef0e290219112d420ae56885075f8b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -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.3
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-09 00:00:00.000000000 Z
12
+ date: 2017-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler