capistrano-secure-permissions 1.1.0 → 1.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: dcb168baea26dd687cd2069239b4e69c83a6518c
4
- data.tar.gz: f61bab29029db23bcea09eb215e4e80d3b84534a
3
+ metadata.gz: 3b0391980a0f950b545b846f2fb1b1935e5ecf99
4
+ data.tar.gz: 63624be7ff0de60bbe5a97aba6bb762a88b039f2
5
5
  SHA512:
6
- metadata.gz: 9c5dba3b8eeb5e0a6e36d6d45cacdc4050e6010b516a53368ac18973b06159c774d762f5b61ac4ce45d80fb89619327c70613ed10dd7a966d0b6b052af5fa80e
7
- data.tar.gz: 73f2d924ff63a97b72bfdfa9ba6edfc2cc58a3a220c7e12fe4ea3f259c949d1eaf8a078c9094a9468537e0e9465ce0423eb64ae7b4581952f17d20ff7f358cdd
6
+ metadata.gz: 0b1b862142a6ed7b45655cf14ecf98ed081c2ffbbc77cfd18fc58ebb76d3dd5dc693b8836c2fa84a7ba4f95416e60df22e44245693f477b59e31cfe4b5f5434a
7
+ data.tar.gz: 7531f4b094620b88bd0a86d9ea78f3d15e95f671fed2474994382c0baecdab57e57c145c99bf67770ac986f193ef78739eed2ccd7f0d49255e07033e6225a3d4
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.2.4
data/Gemfile.lock CHANGED
@@ -8,13 +8,12 @@ GEM
8
8
  faraday (0.9.2)
9
9
  multipart-post (>= 1.2, < 3)
10
10
  git (1.3.0)
11
- github_api (0.13.1)
11
+ github_api (0.14.5)
12
12
  addressable (~> 2.4.0)
13
13
  descendants_tracker (~> 0.0.4)
14
14
  faraday (~> 0.8, < 0.10)
15
15
  hashie (>= 3.4)
16
- multi_json (>= 1.7.5, < 2.0)
17
- oauth2
16
+ oauth2 (~> 1.0)
18
17
  hashie (3.4.4)
19
18
  highline (1.7.8)
20
19
  jeweler (2.1.1)
@@ -28,21 +27,23 @@ GEM
28
27
  rdoc
29
28
  semver
30
29
  json (1.8.3)
31
- jwt (1.5.1)
32
- mini_portile2 (2.0.0)
33
- multi_json (1.12.0)
30
+ jwt (1.5.4)
31
+ mini_portile2 (2.1.0)
32
+ multi_json (1.12.1)
34
33
  multi_xml (0.5.5)
35
34
  multipart-post (2.0.0)
36
- nokogiri (1.6.7.2)
37
- mini_portile2 (~> 2.0.0.rc2)
38
- oauth2 (1.1.0)
35
+ nokogiri (1.6.8)
36
+ mini_portile2 (~> 2.1.0)
37
+ pkg-config (~> 1.1.7)
38
+ oauth2 (1.2.0)
39
39
  faraday (>= 0.8, < 0.10)
40
- jwt (~> 1.0, < 1.5.2)
40
+ jwt (~> 1.0)
41
41
  multi_json (~> 1.3)
42
42
  multi_xml (~> 0.5)
43
43
  rack (>= 1.2, < 3)
44
- rack (1.6.4)
45
- rake (11.1.2)
44
+ pkg-config (1.1.7)
45
+ rack (2.0.1)
46
+ rake (11.2.2)
46
47
  rdoc (4.2.2)
47
48
  json (~> 1.4)
48
49
  semver (1.0.1)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.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 1.1.0 ruby lib
5
+ # stub: capistrano-secure-permissions 1.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "capistrano-secure-permissions"
9
- s.version = "1.1.0"
9
+ s.version = "1.2.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 = "2016-05-10"
14
+ s.date = "2016-09-12"
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 = [
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
+ ".ruby-version",
23
24
  "Gemfile",
24
25
  "Gemfile.lock",
25
26
  "LICENSE.txt",
@@ -33,7 +34,7 @@ Gem::Specification.new do |s|
33
34
  ]
34
35
  s.homepage = "http://github.com/runephilosof/capistrano-secure-permissions"
35
36
  s.licenses = ["MIT"]
36
- s.rubygems_version = "2.2.5"
37
+ s.rubygems_version = "2.4.5.1"
37
38
  s.summary = "Sets ACL permissions after capistrano deployment"
38
39
 
39
40
  if s.respond_to? :specification_version then
@@ -13,7 +13,7 @@ namespace :deploy do
13
13
  shared_path,
14
14
  ]
15
15
  parent_folders << "#{shared_path}/public" if linked_dirs.any? { |d| d.start_with?('public') }
16
- execute :setfacl, "-m", "u:#{web_user}:x", *parent_folders
16
+ execute :setfacl, "-m", "u:#{web_user}:x,u:#{deploy_user}:rx", *parent_folders
17
17
  # Set all except public, tmp, and log readable by app_user.
18
18
  execute :find, release_path, '-regex', '\./\(public\|tmp\|log\)', '-prune', '-o', '-user', deploy_user, '-print0', '|', 'xargs', '-0', '--no-run-if-empty', 'setfacl', '-m', "u:#{app_user}:rX"
19
19
  # Set log and tmp writable by app_user.
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: 1.1.0
4
+ version: 1.2.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: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -62,6 +62,7 @@ extra_rdoc_files:
62
62
  - README.rdoc
63
63
  files:
64
64
  - ".document"
65
+ - ".ruby-version"
65
66
  - Gemfile
66
67
  - Gemfile.lock
67
68
  - LICENSE.txt
@@ -92,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  version: '0'
93
94
  requirements: []
94
95
  rubyforge_project:
95
- rubygems_version: 2.2.5
96
+ rubygems_version: 2.4.5.1
96
97
  signing_key:
97
98
  specification_version: 4
98
99
  summary: Sets ACL permissions after capistrano deployment