wp-capistrano3 0.0.48 → 0.0.50

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: 8c97058290322c8b8de3deaa74a9c2e0b4a52347eb7c3db7022d9b9ffd12e153
4
- data.tar.gz: 103a97d1bddfa5297f05299a2736c81825cd232288beb296975b5590bfb2980c
3
+ metadata.gz: b1de8c4d251c7ab931073122260568b60081e5eaf7a4e80ad0c34a58a23b7a61
4
+ data.tar.gz: 845a973e1940fe0dcb6cb8bb57c48fcfd398f39687caeb3eaa729434ed6a1fa7
5
5
  SHA512:
6
- metadata.gz: 4539e5f4edd874252d4b2c58c0e4d5b86bd20678aea5219694b8ec939d88e8cfa87d486780dbe2ffe29c2e9878583e2052e25b76daa8954c65785d8c089a8289
7
- data.tar.gz: c61295da7172872a25467623c7bb9d6e933d8c28b5e1d993e5c77def875aa513319606c67ece54a06be4e05a964d57dc96a042dd239665ab0715bcb8ab44c47a
6
+ metadata.gz: 637e35a910d967464fde9162978c7f95cd7a1f2a02c9f25a2be5ff5bd3b58397fbd9bc938152ad0b9a6737014b7d366afee00279eb7b18d29be86e818515ac1a
7
+ data.tar.gz: fc83a7599e9088b88dc9f87be8c9026b23d92cc334879644ca067beae4ad939c43c006acaaeaacbe38ae596b884661dd9231ef1ae3067dbca1e20f4a3a798af0
@@ -6,15 +6,16 @@ namespace "wp-capistrano" do
6
6
  jsonPlugins = []
7
7
  info "Check file #{release_path}/plugins.json"
8
8
  if (test("[ -f #{release_path}/plugins.json ]"))
9
- debug "#{release_path}/plugins.json exist"
9
+ info "#{release_path}/plugins.json exist"
10
10
  pluginsStr = capture("cat #{release_path}/plugins.json")
11
11
  jsonPlugins = JSON.parse(pluginsStr)
12
12
  end
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
+ execute "php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} |awk 'BEGIN{OFS=\":\"} {print $1,$2,$4}'"
17
+ installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} |awk 'BEGIN{OFS=\":\"} {print $1,$2,$4}'");
18
+ info installedPlugins
18
19
  plugins = []
19
20
  languages = []
20
21
 
@@ -98,4 +99,4 @@ namespace "wp-capistrano" do
98
99
  end
99
100
  end
100
101
  end
101
- end
102
+ end
@@ -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.48'
7
+ spec.version = '0.0.50'
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.48
4
+ version: 0.0.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas RENAULT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano