capistrano-secure-permissions 2.1.1 → 3.0.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 +4 -4
- data/VERSION +1 -1
- data/capistrano-secure-permissions.gemspec +3 -3
- data/lib/capistrano/tasks/secure-permissions.rake +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bac195c37f0465709fef6b3addd9331d4614811
|
4
|
+
data.tar.gz: f43a35babbbd75e1a89f4979fa2ec63e80643ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6a34b14e1909647ad3675a9809abe32f68ad4be69539687c80e536343de3afb514db6b9fe4bbbf7675eefa5455ebc0edc0ac1f679913dc6167039f9b6f27a35
|
7
|
+
data.tar.gz: 9157957dcf6cece440888d91771b8c8016adb1b64c80f49ec2fa5d6878e38500fa2884ec5ee7d683c23fb475b45ff17f42a918a41310b5c56e587f33393772e4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: capistrano-secure-permissions
|
5
|
+
# stub: capistrano-secure-permissions 3.0.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-secure-permissions"
|
9
|
-
s.version = "
|
9
|
+
s.version = "3.0.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Rune Schjellerup Philosof"]
|
14
|
-
s.date = "2017-
|
14
|
+
s.date = "2017-03-16"
|
15
15
|
s.description = "This gem makes it easy to run your app with a user that only has write permissions to the public folder"
|
16
16
|
s.email = "rune.capistrano-secure-permissions@philosof.dk"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -10,8 +10,6 @@ namespace :deploy do
|
|
10
10
|
# This is before symlinking, so we can do this recursively.
|
11
11
|
execute :setfacl, '-R', '-m', "u:#{web_user}:rx,d:u:#{web_user}:rx", release_path.join('public')
|
12
12
|
execute :setfacl, '-R', '-m', "u:#{app_user}:rx,d:u:#{app_user}:rx", release_path
|
13
|
-
# Make sure that app_user has write access to the tmp dir and that the deploy user retains access to delete tmp dir (for cleaning up old deploys).
|
14
|
-
execute :setfacl, '-R', '-m', "u:#{app_user}:rwx,d:u:#{app_user}:rwx,u:#{deploy_user}:rwx,d:u:#{deploy_user}:rwx", release_path.join('tmp')
|
15
13
|
end
|
16
14
|
end
|
17
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-secure-permissions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rune Schjellerup Philosof
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|