wp-capistrano3 0.0.9 → 0.0.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f90a13a009316acd1bb220748d0cee8ed5d71adaa03408ce44f075426147929
4
- data.tar.gz: c8c0ec23292987328b0d8b6f26380b0e48eddf37c78506b1e19807ca492e3bcf
3
+ metadata.gz: 263a4ead8871a0d4cc8eecc3d392a0f3dfe4eeafc07a6449813d0f0e3387a3a9
4
+ data.tar.gz: 829b6c086104992b75220d2feee2e4cc737e785a4e265365f865cf57f6a3055f
5
5
  SHA512:
6
- metadata.gz: 9f7c94f2a02743ca55a064af5aa0ee9daf7056f8d240149baec9dd1162ff1d682e5a0fc87df936827ec4d37d394131bf769b0b42e59327aaad661bad8a1516cb
7
- data.tar.gz: 6b2f5c85cc3b170ac51cc92e9dea627678f7a1ccfa7940259026ea05be232cc30c79e3cd9c05a3675aa0e3445c717350180eaf5e077f7ce0fe1f37569558f0ef
6
+ metadata.gz: e6a1539259798412c14cb6b08d65d22625cb368559fff02ced34e62bc83c2c3b928801cc7a9c1a53a203830e1ddad7244efbfa93e1efff0be85e656e1b426d23
7
+ data.tar.gz: 71ac0c91fb2f3935f6c4e3bd82dd0dac7414df2e46d998e293e035ca97dcdef134b566c1b18c7a31809d5ec879479dc340a3fdcc9d069e232b4a633745873c62
@@ -48,7 +48,9 @@ namespace "wp-capistrano" do
48
48
 
49
49
  info "install #{plugin[:slug]}:#{plugin[:version]}"
50
50
  execute "/usr/bin/env php /tmp/wp-cli.phar plugin install #{plugin[:slug]} --path=#{release_path} --version=#{plugin[:version]}"
51
- if (plugin[:status] == "active")
51
+ end
52
+ plugins.each do |plugin|
53
+ if (plugin[:status] == "active")
52
54
  execute "/usr/bin/env php /tmp/wp-cli.phar plugin activate #{plugin[:slug]} --path=#{release_path}"
53
55
  info "activate #{plugin}"
54
56
  else
@@ -59,4 +61,4 @@ namespace "wp-capistrano" do
59
61
  end
60
62
  end
61
63
  end
62
- end
64
+ 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.9'
7
+ spec.version = '0.0.10'
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas RENAULT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-31 00:00:00.000000000 Z
11
+ date: 2021-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano