wp-capistrano3 0.0.45 → 0.0.47

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: e1819548071838a28bfa91afcc3c18b9354d9575b76a6d118b136c660f52a993
4
- data.tar.gz: 301a04defbbd083fecdf49e0f62e83b1b15995a5a7d3d3c2bf9a03f927634736
3
+ metadata.gz: 91da41b6e978cc13b50578bbaf55448e6e492d0c2f3634bfaa4f3e831e75865a
4
+ data.tar.gz: edd9837bb4557a49198a2744ea63abc715c343f54db91ff46c3d7a5cc1cf1f28
5
5
  SHA512:
6
- metadata.gz: 5d563b0a42a2da301aa60a6b613210fcd5d8e1bb61424e0175c27a54813d32295ad05e187b5c8066aa2e125fe26be59580bd64037785ecbd89301ca0f88152d3
7
- data.tar.gz: 7ee786d436ab4ad4ce966f7873e5b95936ddd3d0252ed468e8d3ab5b1ca94ed5cb55f2c68bf31bddee6574ce4b27d55e2f3973b390e2e531c318ae9cb23dff3d
6
+ metadata.gz: fb592e976fde5799054ce90340f7c94d68b86602fe151a2757139c44c70c89072274fd2c5642e0b69c5eddf8b0cbaee565de82ba2b855532352a90ab4ae15bbf
7
+ data.tar.gz: 2c57270867a99c9e573715a425d257f68cd349aa9f853660fa24c6ef4783001a1514763aac22a11f341693760ed60f1bd9a2fab3de6a86c92cc00109596eb276
@@ -13,16 +13,17 @@ 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}'").spit("\n");
16
+ installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} |awk 'BEGIN{OFS=":"} {print $2,$4,$6,$8}'").split("\n");
17
17
 
18
18
  plugins = []
19
19
  languages = []
20
20
 
21
21
  installedPlugins.each_with_index do |pluginStr, index|
22
+
23
+ plugin = pluginStr.split(":");
22
24
  if(plugin[0].empty?)
23
25
  next
24
26
  end
25
- plugin = pluginStr.spit(":");
26
27
  pluginInfo = {:slug => plugin[0], :version => plugin[1], :status => plugin[2] }
27
28
  plugins.push(pluginInfo)
28
29
  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.45'
7
+ spec.version = '0.0.47'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wp-capistrano3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.45
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas RENAULT