wp-capistrano3 0.0.36 → 0.0.37

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: fb00692e6e291a32e43aafc6e046d55684e12ff208cc0235545d3d4dec9f9c57
4
- data.tar.gz: 3fcda9253fe6b2c03255657b64c833d0e567a493b4defb7bb6b2fcf6ae8a5601
3
+ metadata.gz: 6eefb117293ba312cd0ebcf70dc41c11d32bd585b907b4ec82031da74f646cff
4
+ data.tar.gz: bfecc88f8796bf6515f9c1fb53ffe343dc6ac07ebf1d85c7df4c6007e390e0e1
5
5
  SHA512:
6
- metadata.gz: 71c38f351cec1f9f898875259c967343de53e0e48c041295d4d266f8e80288c9f474aac2a331bf7fdc40054c1e7aec3de9d682fabd2e7ac74abb6e74b12c52e4
7
- data.tar.gz: fcdbb9a4f222875b00e22ba81589f708c486574409b659c7b5f75664c3e68a9e8313dafe2790798c59c9c72a8fe6addb74b175725fe593467c139276858e9758
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]}"
@@ -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.36'
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.36
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-22 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano