capistrano-secure-permissions 0.2.1 → 0.2.2

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: 9180a8a2b053b501896a9c04a7563a452c6e161e
4
- data.tar.gz: 90fde978c79e44ea06271369410b93ed5c25b9b2
3
+ metadata.gz: 89b7e315c3abe4d6f49fbfee1f6b318f7c15633d
4
+ data.tar.gz: c5bf54103116cffb9dd95a7235e9fa21f191b094
5
5
  SHA512:
6
- metadata.gz: 429f090f948886188dea68f6429a15f8aa9fc2a9f366b3368cae2dbf746d42768615dc562f2becdc72f3e7067951f24d62b3f2ff3a88809314fc857a09e94cfc
7
- data.tar.gz: a0950e4f516a02b1bd7c5920361f6924b17642342cb265c200f5002e2272d5569d506b2dd7dbb4b99278cfd0741c2b674f359bd8425a6a9704970de9fcc71f9b
6
+ metadata.gz: 632da50d87b601b6426fc1a6caa23eff6cd22b375cdd26ea64fbf75553b7294a7e07b29ee306326bd9b0cc48748d8afae560187c513e23acfc82ac17a692e3e1
7
+ data.tar.gz: 3680cbc4219b434661ea6bb351345172a10062b43a34ba98e84db2207688d59df9256a7aa30314d3b1d2bd435d63eb4a18df775ef179b7231002813f1ba0a323
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -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 0.2.1 ruby lib
5
+ # stub: capistrano-secure-permissions 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "capistrano-secure-permissions"
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
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"]
@@ -1,10 +1,10 @@
1
1
  namespace :deploy do
2
2
  desc 'Secure app with file permissions'
3
3
  task :secure_permissions do
4
- on roles(:all) do
4
+ on roles(:all) do |server|
5
5
  web_user = fetch(:web_user)
6
6
  app_user = fetch(:app_user)
7
- deploy_user = fetch(:user)
7
+ deploy_user = server.user
8
8
 
9
9
  # Set parent folders accessable by web_user.
10
10
  execute :setfacl, "-m", "u:#{web_user}:x", "#{release_path}", "#{shared_path}", "#{shared_path}/public"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-secure-permissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rune Schjellerup Philosof