wp-capistrano3 0.0.14 → 0.0.15

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
  SHA256:
3
- metadata.gz: 8b631eb8e04c29b7409505e0881b840d75ea34721f7328ace0c75a18dc41f774
4
- data.tar.gz: 5587230658d518893f9fcb9ab744a3d4b4585e384db2e28331083213cdd2fdbe
3
+ metadata.gz: eda551519bb55fe762827c03a3b724470a95fe32d35cb1c3c9aed6a3de63d5c1
4
+ data.tar.gz: f7fd4c055aa3b7aebd5f4da38ef79f14c9249220223c164723dcb7b5ca763343
5
5
  SHA512:
6
- metadata.gz: 81ac9b8e2f3b18fd278c1df5e8f002b8b50bd9dc1b75f2805145617e836f893ab6b5073e65e8701af28b52f748bf591eaaae824a798ed71af322be698a44cb99
7
- data.tar.gz: 006d0945de2329af572cc6e9b6d974dcd845b733f1fb903157f6eb10bb27ced0bbcbc5a55cc48ed921dad5039e935e3fdb3b8f89c9afea3f7f37954ff5559c88
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 }'")
@@ -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.14'
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.14
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-05-11 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano