elocal_capistrano 2.1.3 → 2.2.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
  SHA1:
3
- metadata.gz: bfdcca734b8cce4c53dfec083ca6611095145512
4
- data.tar.gz: f9c75507660655fa700fcb374ee8b43711fc5d60
3
+ metadata.gz: 76ca6f477dea34416425f1322ecb58628560de8f
4
+ data.tar.gz: 3ebebf6106deff7c37e0d2f133f736daac61166a
5
5
  SHA512:
6
- metadata.gz: 7f91354b577091318def82968a795131fa35048e255da9d8b8c7c4547adecb0a7d66c95ec4611ec6127d6513c9b3c32399d4b205683fcf49776dcedf2a21f64e
7
- data.tar.gz: ef042a35c793511b30f34d75006c65af323baa70a01cbac6c26ac03b8909a8903a5b9af86f4883643ec2ac3a108ec917b44546d5e3db0c513e2ce7809e4dbd6e
6
+ metadata.gz: 30dd8228409892215552a07ddf16db941be3056a9ff668d226bc0634ab932f21e2414d44b418c05e8a531ecacd6e83599329a3c63936ba9fdda44be16e7e59e7
7
+ data.tar.gz: 8b3ff3f5380b78ef660a88415e9e850b436be6c1782b796d822c1885ff4251f3f9255a42c8398670624839207ecb37bea58320b364c7bfa744fe7e77e60703c5
@@ -1,3 +1,3 @@
1
1
  module ElocalCapistrano
2
- VERSION = '2.1.3'
2
+ VERSION = '2.2.0'
3
3
  end
@@ -0,0 +1,16 @@
1
+ namespace :load do
2
+ task :defaults do
3
+ set :owned_by_user, 'app'
4
+ set :owned_by_group, 'deploy'
5
+ end
6
+ end
7
+
8
+ namespace :deploy do
9
+ task :set_app_ownership do
10
+ on release_roles(:all) do
11
+ within release_path do
12
+ sudo "chown -R #{fetch(:owned_by_user)}:#{fetch(:owned_by_group)} ."
13
+ end
14
+ end
15
+ end
16
+ 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.1.3
4
+ version: 2.2.0
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-04-11 00:00:00.000000000 Z
11
+ date: 2017-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,6 +56,7 @@ files:
56
56
  - lib/elocal_capistrano/git_tools.rb
57
57
  - lib/elocal_capistrano/version.rb
58
58
  - lib/tasks/chef.rake
59
+ - lib/tasks/deploy.rake
59
60
  - lib/tasks/git_tagging.rake
60
61
  - lib/tasks/maintenance.rake
61
62
  - lib/tasks/ssh.rake
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  version: '0'
83
84
  requirements: []
84
85
  rubyforge_project:
85
- rubygems_version: 2.5.1
86
+ rubygems_version: 2.5.2
86
87
  signing_key:
87
88
  specification_version: 4
88
89
  summary: Common eLocal Capistrano tasks