capistrano-cul 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: 43893b6cbcf86f041c5000946a2eb4408606d35ad6b224fee083a0f985d40392
4
- data.tar.gz: 4d55f1fd3063ba6975e5ee9da6c46280124002e5eb64e3e6ab2f5e19b31ba449
3
+ metadata.gz: b0c6373f3cb8f5fb1e08fd7178806a35fba7a535ef217638a812b9fbcf82cd6d
4
+ data.tar.gz: d2b1d727caa3b241d06afa124a5a7a1f2cc52f9d3dfc64d71423931ba2da302f
5
5
  SHA512:
6
- metadata.gz: d6c69fe3b5002540da9faed94d87c616aa12ae7416dfb8562f5814c3f5d7616b7e280684940d95902a62baa352f63a14ea43b6a173d9f078bfc7e9bbf7faa8ab
7
- data.tar.gz: 2f9b42a144231e7c4506b78b42a255905bdac6713783b4d84c574e6097ae2779f7b21f92503f7cba78e57787060c02541f62b39739ef68a0d0abf129fec97f64
6
+ metadata.gz: 7eb9a9489d37af54f9c135335b478a73b08385d5c85bf786332f0f14ba11a5b56190e49f73a6b8ef8563dbba9c3cd700fd5a5c06aab0cb9a7875e309ba5b5c21
7
+ data.tar.gz: 7c489e2bc527882b7b9ec18c6faa574f2227fbf76be02a556d73ea14c083709929613ca91db8ccd842f654584bf60c0f0697011d0236d9b193f2fe7913b99ed0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -107,7 +107,8 @@ namespace :cul do
107
107
  desc 'Symlink the wp-content wflogs directory to a corresponding directory in /var'
108
108
  task :symlink_wflogs_to_var_directory do
109
109
  wp_docroot_wflogs_path = File.join(fetch(:wp_docroot), 'wp-content', 'wflogs')
110
- local_disk_wflogs_path = File.join(fetch(:local_disk_wflogs_path), wp_docroot_wflogs_path.sub(/^\/opt/, '/var'))
110
+ local_disk_wflogs_path = fetch(:local_disk_wflogs_path, '')
111
+ raise 'Missing required cap variable :local_disk_wflogs_path' unless local_disk_wflogs_path.length.positive?
111
112
 
112
113
  on roles(:web) do
113
114
  # Create target var wflogs dir if it doesn't exist
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-cul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carla Galarza
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-10-21 00:00:00.000000000 Z
13
+ date: 2024-10-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano