wslc-wip 0.7.1 → 0.7.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 +4 -4
- data/lib/wip/debug_reporter.rb +5 -1
- data/lib/wip/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: '029d796a1f1d80a039fc1765f194b6b9cd144ceed002568bc9f38275814bb31a'
|
|
4
|
+
data.tar.gz: 13c45a601b75b7a32dba0824a3424f1f34adc86dc176957318eabc783416ca2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9941bb1dab65040e55e2711681283ab43a12c5715ea3af8a64b349a110a80e2066380109d6567667bb00fa898b9f66b34f5c000d382d989419e310d14a27531
|
|
7
|
+
data.tar.gz: 6e5f11ceb6282415d6f8d164c3bde0620c9d2f9886af96d8c08f55d329ebb21efd65d4198dad3669e19566075b08df324abdfe3c0feb57eb605820f5ccff1447
|
data/lib/wip/debug_reporter.rb
CHANGED
|
@@ -46,7 +46,11 @@ module Wip
|
|
|
46
46
|
return open_log(@log, "streaming resource snapshots to #{@log}") if @log
|
|
47
47
|
return nil if live
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
# `Tempfile.create`, unlike `Tempfile.new`, leaves the file on disk after
|
|
50
|
+
# we close it, so the path printed just below is still there to read.
|
|
51
|
+
# It still creates with O_EXCL and 0600, which is what stops a
|
|
52
|
+
# predictable name in a shared /tmp from being pre-created as a symlink.
|
|
53
|
+
file = Tempfile.create(['wip-debug-', '.log'])
|
|
50
54
|
file.sync = true
|
|
51
55
|
@out.puts "wip: [debug] command owns the terminal; streaming resource snapshots to #{file.path}"
|
|
52
56
|
file
|
data/lib/wip/version.rb
CHANGED