capistrano-secure-permissions 2.0.0 → 2.0.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 +4 -4
- data/VERSION +1 -1
- data/capistrano-secure-permissions.gemspec +2 -2
- data/lib/capistrano/tasks/secure-permissions.rake +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61162a6f257134a19631b9450fe6dcf53e415037
|
4
|
+
data.tar.gz: a770f3a0595676e402882b03e68f91ccd8d5b0aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a3b387cc3dab20d0a3c79aa5ec0a2747df95e491c0129da4c96596e338998bb03221cf5493076f9f9230ced983e4ff1d0ceec04549573102b36a123a1beb627
|
7
|
+
data.tar.gz: fa28095fba247d52b21d7a440acc8a3021c15f6cc24d5eeae5897c07a8eb4e13f4dd01d333718215147f92a8bb2adfa7fbf73ce6a50660bc4b105ed1cdf33c0d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
@@ -2,11 +2,11 @@
|
|
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 2.0.
|
5
|
+
# stub: capistrano-secure-permissions 2.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-secure-permissions"
|
9
|
-
s.version = "2.0.
|
9
|
+
s.version = "2.0.1"
|
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"]
|
@@ -34,8 +34,8 @@ namespace :secure_permissions do
|
|
34
34
|
# Public is writable by app_user by default, so exclude that one.
|
35
35
|
# To avoid going through the files twice.
|
36
36
|
writable_dirs = fetch(:writable_dirs, fetch(:linked_dirs)).
|
37
|
-
|
38
|
-
|
37
|
+
reject { |dir| dir.start_with?('public/') }.
|
38
|
+
map { |dir| shared_path.join(dir) }
|
39
39
|
# All of shared readable by app_user.
|
40
40
|
readable_dirs = shared_path.children().map(&:basename) - writable_dirs
|
41
41
|
|