capistrano-wordpress-permissions 1.0.1 → 1.1.0

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: 5dce79af6774f2095aa6e39f780f5998dee2926b9532dceec02c0385497877cd
4
- data.tar.gz: e3dfbb0b91dbd8974c876ca8b142daefe1b850cc643b84e592481bd7b1d2979b
3
+ metadata.gz: e1f322be0ab02d681784e1dfa5152af6e77cac9aef78f4653eedd3a911e52eb7
4
+ data.tar.gz: dc16bdb3a9ee410cbce503e6a9e86b80900b34da3084fba77d4eb17606f20968
5
5
  SHA512:
6
- metadata.gz: c68d82a6f2038055d08b25b041813540e6291cc411dd6d97e4ad956633f210250d9ef45ba78465d66f8aabbeb10eb38017bb83416a0a1028d0243c4b8948eafc
7
- data.tar.gz: 4a0b2667412fd5262c1f1f1d178ca02515d9287f7fa0ec17d38d330c206414b69bee87d2b267c4775f820b37f580440b7b4662b7dbd741a376124dbd7673471d
6
+ metadata.gz: dcd48e5eece7bac628a0849b9594b41a1d6128fa9deab6677e937d76ce11b0c1e928c79d5a74d7db0759ee0efe888e9f80bbc0c59ca4f1bad34912dd61894b0c
7
+ data.tar.gz: fcfcfd07f8dc4a7500211cab8a4ad04e4d865d054922d5017b670611cb530a668d798c58f14b81ae809ef0ebc037000f1b5d066f02da67ca14ba95f18a4b0336
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-wordpress-permissions (1.0.0)
4
+ capistrano-wordpress-permissions (1.0.1)
5
5
  capistrano (~> 3)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Capistrano::Wordpress::Permissions
2
2
 
3
- Changes the releases' owner to the Wordpress user.
3
+ Changes the app owner to the Wordpress user.
4
4
  Fixes issues where the Wordpress user does not have enough permissions to install or update plugins.
5
5
 
6
6
  ## Installation
@@ -17,7 +17,7 @@ module Capistrano
17
17
  end
18
18
 
19
19
  def register_hooks
20
- before(:'deploy:cleanup', :'wordpress:change_owner_to_deploy')
20
+ before(:'deploy:started', :'wordpress:change_owner_to_deploy')
21
21
  after(:'deploy:finished', :'wordpress:change_owner_to_wordpress')
22
22
  end
23
23
 
@@ -26,7 +26,7 @@ module Capistrano
26
26
  def change_owner(user)
27
27
  on(roles(:all)) do |host|
28
28
  within(deploy_path) do
29
- sudo(:chown, '-R', "#{user}:#{user}", 'releases/*')
29
+ sudo(:chown, '-R', "#{user}:#{user}", '.')
30
30
  end
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wordpress
3
- VERSION = '1.0.1'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-wordpress-permissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Zicat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-25 00:00:00.000000000 Z
11
+ date: 2019-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano