wp-capistrano3 0.0.47 → 0.0.48
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/capistrano/tasks/install_plugins.rake +4 -4
- data/wp-capistrano.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c97058290322c8b8de3deaa74a9c2e0b4a52347eb7c3db7022d9b9ffd12e153
|
|
4
|
+
data.tar.gz: 103a97d1bddfa5297f05299a2736c81825cd232288beb296975b5590bfb2980c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4539e5f4edd874252d4b2c58c0e4d5b86bd20678aea5219694b8ec939d88e8cfa87d486780dbe2ffe29c2e9878583e2052e25b76daa8954c65785d8c089a8289
|
|
7
|
+
data.tar.gz: c61295da7172872a25467623c7bb9d6e933d8c28b5e1d993e5c77def875aa513319606c67ece54a06be4e05a964d57dc96a042dd239665ab0715bcb8ab44c47a
|
|
@@ -13,14 +13,14 @@ namespace "wp-capistrano" do
|
|
|
13
13
|
|
|
14
14
|
if(test("[ -L #{current_path} ]"))
|
|
15
15
|
info "installing pluggins..."
|
|
16
|
-
installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} |awk 'BEGIN{OFS=":"} {print $2,$4,$6,$8}'")
|
|
17
|
-
|
|
16
|
+
installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} |awk 'BEGIN{OFS=":"} {print $2,$4,$6,$8}'");
|
|
17
|
+
|
|
18
18
|
plugins = []
|
|
19
19
|
languages = []
|
|
20
20
|
|
|
21
|
-
installedPlugins.
|
|
21
|
+
installedPlugins.each_line do |line|
|
|
22
22
|
|
|
23
|
-
plugin =
|
|
23
|
+
plugin = line.split(":");
|
|
24
24
|
if(plugin[0].empty?)
|
|
25
25
|
next
|
|
26
26
|
end
|
data/wp-capistrano.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'wp-capistrano3'
|
|
7
|
-
spec.version = '0.0.
|
|
7
|
+
spec.version = '0.0.48'
|
|
8
8
|
spec.authors = ['Nicolas RENAULT']
|
|
9
9
|
spec.email = ['nrenault@tangkoko.com']
|
|
10
10
|
spec.description = %q{Wordpress tasks for Capistrano 3.x}
|