procrastinator 1.0.0.pre.rc3 → 1.0.0.pre.rc4
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 +4 -4
- data/lib/procrastinator/scheduler.rb +3 -3
- data/lib/procrastinator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a25c7e80284d0ae3ad43b279a597deba81fa7f748229f0b7dec8ad34821c6d49
|
4
|
+
data.tar.gz: 3f426d76ab8375a74b9e612ce5f18a083bc42159f931f1d2666c17e1444c129c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0eb5516defc7045e72ee4991316b51caa93ca51ee3ea912a54a805d87a66e9973e4235ccc81bd1fc985b0b5b00f3729467f1b5fb6bbad16880cce0d4660acf
|
7
|
+
data.tar.gz: e79298482620d17e4ab5ba07dab6fbcb02bbf81ef3d51970262175f0dbe0c4c6d7f466cb05ba0c1b6cc7082cd27bb660f9a0bf5cde986841ef74ffad507b6c7d
|
@@ -343,10 +343,10 @@ module Procrastinator
|
|
343
343
|
end
|
344
344
|
|
345
345
|
def print_debug_context
|
346
|
-
@logger.debug "Ruby Path: #{ ENV.fetch 'RUBY_ROOT' }"
|
347
|
-
@logger.debug "Bundler Path: #{ ENV.fetch 'BUNDLE_BIN_PATH' }"
|
346
|
+
@logger.debug "Ruby Path: #{ ENV.fetch 'RUBY_ROOT', '?' }"
|
347
|
+
@logger.debug "Bundler Path: #{ ENV.fetch 'BUNDLE_BIN_PATH', '?' }"
|
348
348
|
# LOGNAME is the posix standard and is set by cron, so probably reliable.
|
349
|
-
@logger.debug "Runtime User: #{ ENV.fetch('LOGNAME'
|
349
|
+
@logger.debug "Runtime User: #{ ENV.fetch('LOGNAME', ENV.fetch('USERNAME', '?')) }"
|
350
350
|
end
|
351
351
|
|
352
352
|
def rename_process(pid_path)
|