capistrano-cul 0.0.2 → 0.0.3
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/README.md +1 -0
- data/VERSION +1 -1
- data/lib/capistrano/tasks/wp.cap +5 -0
- 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: efc3376775912d009784534e31744557281a477a
|
|
4
|
+
data.tar.gz: 72b9ea9e77673c17e04fb1dfaad99af3ac8902bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73d41d5c35e8604d8faa1de89f6a3404f02c7eea840da004068789e1bf53274668ee719b091dce9eab3cc84bac99a36f06a874e52ecb7e6e7ec67b9eee1f49e0
|
|
7
|
+
data.tar.gz: e98ec8816ccca707c65f7a2926bab0682ab56c625d42913b1d504e71a4d7cec57e1412bb30dec949dd9a6dd1b3b19226b019b79dd4daa6f167c4827fb58125b3
|
data/README.md
CHANGED
|
@@ -79,6 +79,7 @@ set :url # (string) Public website URL
|
|
|
79
79
|
set :title # (string) Website title
|
|
80
80
|
set :multisite # (boolean) Whether or not this is a multisite wordpress installation
|
|
81
81
|
set :wp_custom_plugins # (hash) Map of custom plugin file/directory names to repo-relative paths
|
|
82
|
+
set :wp_custom_mu_plugins # (hash) Map of custom MUST-USE plugin file/directory names to repo-relative paths
|
|
82
83
|
set :wp_custom_themes # (hash) Map of custom theme file/directory names to repo-relative paths
|
|
83
84
|
```
|
|
84
85
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/lib/capistrano/tasks/wp.cap
CHANGED
|
@@ -113,6 +113,7 @@ 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')
|
|
116
117
|
wp_data_plugin_path = File.join(wp_data_wp_content_path, 'plugins')
|
|
117
118
|
wp_data_themes_path = File.join(wp_data_wp_content_path, 'themes')
|
|
118
119
|
|
|
@@ -127,6 +128,10 @@ namespace :cul do
|
|
|
127
128
|
execute :ln, '-sf', File.join(current_path, repo_relative_path), File.join(wp_data_plugin_path, plugin)
|
|
128
129
|
end
|
|
129
130
|
|
|
131
|
+
fetch(:wp_custom_mu_plugins, {}).each do |mu_plugin, repo_relative_path|
|
|
132
|
+
execute :ln, '-sf', File.join(current_path, repo_relative_path), File.join(wp_data_mu_plugin_path, mu_plugin)
|
|
133
|
+
end
|
|
134
|
+
|
|
130
135
|
fetch(:wp_custom_themes, {}).each do |theme, repo_relative_path|
|
|
131
136
|
execute :ln, '-sf', File.join(current_path, repo_relative_path), File.join(wp_data_themes_path, theme)
|
|
132
137
|
end
|
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.3
|
|
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-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|