process_bot 0.1.20 → 0.1.21
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/CHANGELOG.md +2 -0
- data/Gemfile.lock +2 -2
- data/lib/process_bot/client_socket.rb +2 -0
- data/lib/process_bot/logger.rb +4 -0
- data/lib/process_bot/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: f9caad47714b9ab413bc33e85beb54b250455b6831ace86d058e6e63e84939bb
|
|
4
|
+
data.tar.gz: f5d294e5d78cf4bafa60d4ddca38cea9887310ed3cc517d0fbe91ff95673c5b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec5cdb7e07944681062b07f44408c0eb17962f4667a8215eead66a5b62ba6d0c78ffb521c431c94199fcff597bee5e5755df540687e79396cbb53df1daca5034
|
|
7
|
+
data.tar.gz: 3e21dba2ec87ef787ce3c4bf3b1d6f81273896862a04807ee48f81cc86b8e769712c1de043106c9e64cb16b6ac47f52f0a99d025614c0861ba60f4728fa1fb97
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
- Stream ProcessBot logs to connected control clients for Capistrano output.
|
|
4
4
|
- Sanitize broadcast log output to keep JSON encoding safe.
|
|
5
5
|
- Bump version to 0.1.20.
|
|
6
|
+
- Flush log output immediately so Capistrano can stream it.
|
|
7
|
+
- Bump version to 0.1.21.
|
|
6
8
|
|
|
7
9
|
## [0.1.0] - 2022-04-03
|
|
8
10
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
process_bot (0.1.
|
|
4
|
+
process_bot (0.1.21)
|
|
5
5
|
knjrbfw (>= 0.0.116)
|
|
6
6
|
pry
|
|
7
7
|
rake
|
|
@@ -83,7 +83,7 @@ GEM
|
|
|
83
83
|
rubocop-rake (0.7.1)
|
|
84
84
|
lint_roller (~> 1.1)
|
|
85
85
|
rubocop (>= 1.72.1)
|
|
86
|
-
rubocop-rspec (3.
|
|
86
|
+
rubocop-rspec (3.9.0)
|
|
87
87
|
lint_roller (~> 1.1)
|
|
88
88
|
rubocop (~> 1.81)
|
|
89
89
|
ruby-progressbar (1.13.0)
|
data/lib/process_bot/logger.rb
CHANGED
|
@@ -39,12 +39,16 @@ class ProcessBot::Logger
|
|
|
39
39
|
case type
|
|
40
40
|
when :stdout
|
|
41
41
|
$stdout.print output
|
|
42
|
+
$stdout.flush
|
|
42
43
|
when :stderr
|
|
43
44
|
$stderr.print output
|
|
45
|
+
$stderr.flush
|
|
44
46
|
when :info
|
|
45
47
|
$stdout.print output if logging_enabled?
|
|
48
|
+
$stdout.flush if logging_enabled?
|
|
46
49
|
when :debug
|
|
47
50
|
$stdout.print output if debug_enabled?
|
|
51
|
+
$stdout.flush if debug_enabled?
|
|
48
52
|
else
|
|
49
53
|
raise "Unknown type: #{type}"
|
|
50
54
|
end
|
data/lib/process_bot/version.rb
CHANGED