elocal_capistrano 2.2.0 → 2.2.1

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
  SHA1:
3
- metadata.gz: 76ca6f477dea34416425f1322ecb58628560de8f
4
- data.tar.gz: 3ebebf6106deff7c37e0d2f133f736daac61166a
3
+ metadata.gz: 0d6a698114edec5f34637ade326d22fd5bc90882
4
+ data.tar.gz: 541aeef5b5ff93f27a728ef93a4d0f168a78fc64
5
5
  SHA512:
6
- metadata.gz: 30dd8228409892215552a07ddf16db941be3056a9ff668d226bc0634ab932f21e2414d44b418c05e8a531ecacd6e83599329a3c63936ba9fdda44be16e7e59e7
7
- data.tar.gz: 8b3ff3f5380b78ef660a88415e9e850b436be6c1782b796d822c1885ff4251f3f9255a42c8398670624839207ecb37bea58320b364c7bfa744fe7e77e60703c5
6
+ metadata.gz: 0ee6d74c3028acb5a179f15558d0e08ad443c8b4ed39b43e7f16cdc6e9a19502f0cfb7c706bda17c34cb9c2fa4162e178782df94e44cb01a9805a1db290cb8f4
7
+ data.tar.gz: 24d4498d834fe938f9f0c1eeb1eaca15570baec8f4386faa71238d94bf62f12183f73ed30d8f9495fae1766dbb28e76376c8966a9c5d555900b9953a10a81076
@@ -1,3 +1,3 @@
1
1
  module ElocalCapistrano
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
3
3
  end
@@ -5,6 +5,9 @@ namespace :load do
5
5
  end
6
6
  end
7
7
 
8
+ # For our rails applications, the actual ruby code is run
9
+ # by a different user than our deploy user. We want to make sure the directory
10
+ # permissions are set appropriately
8
11
  namespace :deploy do
9
12
  task :set_app_ownership do
10
13
  on release_roles(:all) do
@@ -12,5 +15,10 @@ namespace :deploy do
12
15
  sudo "chown -R #{fetch(:owned_by_user)}:#{fetch(:owned_by_group)} ."
13
16
  end
14
17
  end
18
+ on release_roles(:all) do
19
+ within shared_path do
20
+ sudo "chown -R #{fetch(:owned_by_user)}:#{fetch(:owned_by_group)} ."
21
+ end
22
+ end
15
23
  end
16
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elocal_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Di Marco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-27 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 2.5.2
86
+ rubygems_version: 2.6.12
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Common eLocal Capistrano tasks