kdeploy 1.2.39 → 1.2.40
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/kdeploy/output_formatter.rb +3 -4
- data/lib/kdeploy/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: af2d8cca2ce882de3334fba5f3d973d94c03c843053822721eeb17b5088d9eba
|
|
4
|
+
data.tar.gz: bc38cc6f2dafedf984266c5ac426de42ec652561cdd8073fcca25d616b9e4c5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c702adb5d86ead7f0e9a25eb8f43b9c1baf487333e9fb379baf488c0087b84aef4fa54f189b55647c84c55dfd3dd27da8120f1fa27d77cb35ace621f123a4c8
|
|
7
|
+
data.tar.gz: 7b983342b1c687b8bfae99c819d7ca60edcb08d2fa5d2ea31a409355b09cf937d3477fac59ef7fa387c35824369ba0964d2c5d1feb835950616d81743b76d542
|
|
@@ -58,12 +58,11 @@ module Kdeploy
|
|
|
58
58
|
def format_file_step(step, type, prefix)
|
|
59
59
|
duration_str = format_duration(step[:duration])
|
|
60
60
|
status_str = format_step_status(step)
|
|
61
|
-
icon = type == :upload ? '📤' : '📝'
|
|
62
61
|
file_path = step[:command].sub(prefix, '')
|
|
63
62
|
# Truncate long paths for cleaner output
|
|
64
63
|
display_path = file_path.length > 50 ? "...#{file_path[-47..]}" : file_path
|
|
65
64
|
color_method = type == :upload ? :green : :yellow
|
|
66
|
-
@pastel.dim(
|
|
65
|
+
@pastel.dim(' ') + @pastel.send(color_method, display_path) + duration_str + " #{status_str}"
|
|
67
66
|
end
|
|
68
67
|
|
|
69
68
|
def format_run_steps(steps, _shown = nil)
|
|
@@ -77,7 +76,7 @@ module Kdeploy
|
|
|
77
76
|
command_line = first_meaningful_command_line(step[:command].to_s)
|
|
78
77
|
# Truncate long commands for cleaner output
|
|
79
78
|
display_cmd = command_line.length > 60 ? "#{command_line[0..57]}..." : command_line
|
|
80
|
-
output << (@pastel.dim('
|
|
79
|
+
output << (@pastel.dim(' ') + @pastel.cyan(display_cmd) + duration_str + " #{status_str}")
|
|
81
80
|
# Only show multiline details in debug mode
|
|
82
81
|
if @debug
|
|
83
82
|
output.concat(format_multiline_command(step[:command]))
|
|
@@ -264,7 +263,7 @@ module Kdeploy
|
|
|
264
263
|
stats << @pastel.yellow("#{deleted} deleted") if deleted.positive?
|
|
265
264
|
stats_str = stats.any? ? " (#{stats.join(', ')})" : " (#{total} files)"
|
|
266
265
|
|
|
267
|
-
@pastel.dim('
|
|
266
|
+
@pastel.dim(' ') + @pastel.cyan(display_path) + @pastel.dim(stats_str) + duration_str + " #{status_str}"
|
|
268
267
|
end
|
|
269
268
|
|
|
270
269
|
def format_step_status(step)
|
data/lib/kdeploy/version.rb
CHANGED