capistrano-file-permissions 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-file-permissions'
7
- spec.version = '0.0.1'
7
+ spec.version = '0.1.0'
8
8
  spec.authors = ['Peter Mitchell']
9
9
  spec.email = ['peterjmit@gmail.com']
10
10
  spec.description = %q{File permissions management for Capistrano 3.x}
@@ -6,7 +6,7 @@ end
6
6
  def absolute_writable_paths
7
7
  linked_dirs = fetch(:linked_dirs)
8
8
  fetch(:file_permissions_paths).map do |d|
9
- linked_dirs.include?(d) ? shared_path.join(d) : release_path.join(d)
9
+ Array(linked_dirs).include?(d) ? shared_path.join(d) : release_path.join(d)
10
10
  end
11
11
  end
12
12
 
@@ -43,7 +43,7 @@ namespace :deploy do
43
43
  entries = entries.join(',')
44
44
 
45
45
  execute :setfacl, "-m", entries, *paths
46
- execute :setfacl, "-dm", entries, *paths
46
+ execute :setfacl, "-Rdm", entries, *paths
47
47
  end
48
48
  end
49
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-file-permissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-12 00:00:00.000000000 Z
12
+ date: 2014-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano