wp-capistrano3 0.0.36 → 0.0.37
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 -0
- 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: 6eefb117293ba312cd0ebcf70dc41c11d32bd585b907b4ec82031da74f646cff
|
|
4
|
+
data.tar.gz: bfecc88f8796bf6515f9c1fb53ffe343dc6ac07ebf1d85c7df4c6007e390e0e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2597131efaa245a155a4d5b979cc93f9062f0fe160080cd70bd619f1c17577e95e01b6cb9d675c03b90c07b4e4aa264386315a59d2b31939e6138a79ec6ab435
|
|
7
|
+
data.tar.gz: '0087ec5b314a120f8b665d2e0bc486e3f0f6b10bb43f287cc97ed653dd8d83e0e8f36a319fd104d7f821a4dd8c9c9ff712c8969be36304bc4376ba7ad3097d20'
|
|
@@ -76,6 +76,8 @@ namespace "wp-capistrano" do
|
|
|
76
76
|
if (plugin[:status] == "active")
|
|
77
77
|
execute "/usr/bin/env php #{fetch(:tmp_dir)}/wp-cli.phar plugin activate #{plugin[:slug]} --path=#{release_path}"
|
|
78
78
|
info "activate #{plugin[:slug]}"
|
|
79
|
+
elsif(plugin[:status] == "active-network")
|
|
80
|
+
execute "/usr/bin/env php #{fetch(:tmp_dir)}/wp-cli.phar plugin activate #{plugin[:slug]} --path=#{release_path} --network"
|
|
79
81
|
elsif(plugin[:status] == "inactive")
|
|
80
82
|
execute "/usr/bin/env php #{fetch(:tmp_dir)}/wp-cli.phar plugin deactivate #{plugin[:slug]} --path=#{release_path}"
|
|
81
83
|
info "deactivate #{plugin[:slug]}"
|
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.37'
|
|
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.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicolas RENAULT
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|