capdrupal 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84051b7cfc562b0ada6947c8d24c38449319a7577fa4f569d91cb02a5bc3a511
4
- data.tar.gz: 7a544994a5c5af01dd6099e0dc9af8cd7454d3f8bc34a2a511d2743a398998a9
3
+ metadata.gz: 9c0b198fb0b3a8dae0c743741c57a47722a29b2677096c290e2da2e381e6d6ed
4
+ data.tar.gz: 34da2b54176946f505b3e18426b110597b453db249fd57ee5b8725c7599b45ed
5
5
  SHA512:
6
- metadata.gz: 3512b71d331a6d6c885c715c103bd2f70c6641698cedb137ad101931ee5d7928ec620c2cd97d6c768d1f278d2b5ab55908ac4b7e206a6398de234453205679a4
7
- data.tar.gz: 9ad4303413fdd2a278718b1a373f1b704c0cafb7856f77b237eddd6c7647018bd58426dd05db755d5fac69f7254a49c67ae8fa0fce491a7d9bae4ddd731bf3f7
6
+ metadata.gz: 4f21885265080d37aa365fcead9db26d28692e533017fb01b12d480330908bc212de65b8a368beb82482676e2db342421e489b5201082103ecf17cd704527217
7
+ data.tar.gz: 3a54f1fea98a00427ecd8d51909d10d24abdd4d174de0370aeb66b80e6c1156b3afbc5574fec72c4cfe1968f6adce25b76e23c5f1dfa3f1547e1b02f6da515c9
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## NEXT RELEASE
4
4
 
5
+ ## 3.0.3 (2023-03-14)
6
+ - Only files directory must have permissions fixed to be writable, not all shared files.
7
+
5
8
  ## 3.0.2 (2022-12-22)
6
9
  - Allow Site directory to be configured
7
10
  - Optimize permissions related tasks
data/README.md CHANGED
@@ -12,6 +12,7 @@ Capdrupal Gem Version | Branch | Capistrano Version | Drupal Version
12
12
  0.11.0 | d7 | 2 | 7.x
13
13
  3.x | main | 3.x | 8.x
14
14
  3.x | main | 3.x | 9.x
15
+ 3.x | main | 3.x | 10.x
15
16
 
16
17
  ## Prerequisites
17
18
 
data/capdrupal.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'capdrupal'
6
- spec.version = '3.0.2'
6
+ spec.version = '3.0.3'
7
7
  spec.authors = ['Kevin Wenger', 'Yann Lugrin', 'Gilles Doge', 'Toni Fisler', 'Simon Perdrisat', 'Robert Wohleb', 'Kim Pepper']
8
8
  spec.email = ['hello@antistatique.net']
9
9
 
data/lib/capdrupal.rb CHANGED
@@ -249,8 +249,8 @@ namespace :drupal do
249
249
  within shared_path do
250
250
  # Remove execution for files, keep execution on folder.
251
251
  # "web/sites/defaults/files" is a shared dir and should be writable.
252
- execute :find, './', '-type f ! -perm 664 -exec chmod 664 {} \;'
253
- execute :find, './', '-type d ! -perm 2775 -exec chmod 2775 {} \;'
252
+ execute :find, "#{fetch(:app_path)}/sites/#{fetch(:site_path)}/files", '-type f ! -perm 664 -exec chmod 664 {} \;'
253
+ execute :find, "#{fetch(:app_path)}/sites/#{fetch(:site_path)}/files", '-type d ! -perm 2775 -exec chmod 2775 {} \;'
254
254
  end
255
255
  end
256
256
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capdrupal
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Wenger
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2022-12-22 00:00:00.000000000 Z
17
+ date: 2023-03-14 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: capistrano