wp-capistrano3 0.0.14 → 0.0.15
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 +2 -1
- data/wp-capistrano.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eda551519bb55fe762827c03a3b724470a95fe32d35cb1c3c9aed6a3de63d5c1
|
|
4
|
+
data.tar.gz: f7fd4c055aa3b7aebd5f4da38ef79f14c9249220223c164723dcb7b5ca763343
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f888079e2a20b99e261822a3b314de71efce04696404c10e5e755e45e95aeb499d481df93121088d2151563bed10252a1eecd84d59e723eba1780a4b0b81dbe0
|
|
7
|
+
data.tar.gz: dd23b43892bb78ef4b548cd53022a5b29bfbe6d6fcbe0778b0b40f4fa88fdf723c975a4c1ef939b01bd670073de9c41a0179687324603a0acf2731c74fdf347b
|
|
@@ -3,13 +3,14 @@ namespace "wp-capistrano" do
|
|
|
3
3
|
desc 'Install wordpress plugins'
|
|
4
4
|
task :install_plugins do
|
|
5
5
|
on roles(:app) do
|
|
6
|
+
jsonPlugins = []
|
|
6
7
|
info "Check file #{release_path}/plugins.json"
|
|
7
8
|
if (test("[ -f #{release_path}/plugins.json ]"))
|
|
8
9
|
debug "#{release_path}/plugins.json exist"
|
|
9
10
|
pluginsStr = capture("cat #{release_path}/plugins.json")
|
|
10
11
|
jsonPlugins = JSON.parse(pluginsStr)
|
|
11
12
|
end
|
|
12
|
-
|
|
13
|
+
|
|
13
14
|
if(test("[ -L #{current_path} ]"))
|
|
14
15
|
info "installing pluggins..."
|
|
15
16
|
installedPlugins = capture("/usr/bin/env php /tmp/wp-cli.phar plugin list --path=#{current_path} |awk '{ print $1 }'")
|
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.15'
|
|
8
8
|
spec.authors = ['Nicolas RENAULT']
|
|
9
9
|
spec.email = ['nrenault@tangkoko.com']
|
|
10
10
|
spec.description = %q{Wordpress tasks for Capistrano 3.x}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wp-capistrano3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicolas RENAULT
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|