wp-capistrano3 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- 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: 56f5a141bbd47c174a72c1bb1ceb06c201e547a7396e3e5699897dbc1643ab0f
|
4
|
+
data.tar.gz: cda5afd8bced7317822581c9eb1b1c998fdfc08bdb220a46019f70ecc99970e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784660d9afa50048d334d46b977f59bb4852f28ffa48efa8afa573caa6f0ddc51b435421df928d2b71634447f5a685b03bc1fcfc730a7326cab1ead98f4509f2
|
7
|
+
data.tar.gz: 77965cf41736ce96994fe22a74a8840b875ca81efd959107a918c5261ca6b17a7b61b49f974e76b2f435e2e3a70d6cc6f2cbcc7cd8decd2368e476a809baaf6a
|
@@ -13,17 +13,17 @@ namespace "wp-capistrano" do
|
|
13
13
|
|
14
14
|
if(test("[ -L #{current_path} ]"))
|
15
15
|
info "installing pluggins..."
|
16
|
-
execute "php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path}"
|
17
|
-
installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path}");
|
16
|
+
execute "php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} --format=csv"
|
17
|
+
installedPlugins = capture("php #{fetch(:tmp_dir)}/wp-cli.phar plugin list --path=#{current_path} --format=csv");
|
18
18
|
info installedPlugins
|
19
19
|
plugins = []
|
20
20
|
languages = []
|
21
21
|
installedPlugins.each_line do |line|
|
22
|
-
plugin= line.
|
22
|
+
plugin= line.split(",")
|
23
23
|
if(plugin[0].empty?)
|
24
24
|
next
|
25
25
|
end
|
26
|
-
pluginInfo = {:slug => plugin[0], :version => plugin[
|
26
|
+
pluginInfo = {:slug => plugin[0], :version => plugin[3], :status => plugin[1] }
|
27
27
|
plugins.push(pluginInfo)
|
28
28
|
end
|
29
29
|
if( !jsonPlugins["plugins"].nil? )
|
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.52'
|
8
8
|
spec.authors = ['Nicolas RENAULT']
|
9
9
|
spec.email = ['nrenault@tangkoko.com']
|
10
10
|
spec.description = %q{Wordpress tasks for Capistrano 3.x}
|