kdeploy 1.2.14 → 1.2.15

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: 72ea750e6176a809ebf7e45a9b4568477bad90a81682ef49491f976f0484cad2
4
- data.tar.gz: 54d0f9bca80bb59b6598152d84cbafb9c7b3f7aab21de1090e9de75bf1dce081
3
+ metadata.gz: 4402e80ac2b80255ebf2ad70815e7ac1aeacb6722ff5f4969a8e8a34885a6875
4
+ data.tar.gz: 56ffc8befdd3aba9636cd37144bb6a89dfcc7f88b250233af77964d3b100fa71
5
5
  SHA512:
6
- metadata.gz: 150d44235775b15b9d23458a162c4f0f60668f07c6a6bdc4a40a64f973e5bfb5ceee0ce31045db6b6d3d1803540d3df5928792eade256f765aec8d7c38739bfb
7
- data.tar.gz: 1f31cf01e39d1b43d7fbf0df12f764c870850be60b1da21642f7afba6eb1553f7fe911431485eb0ecf002d3b725725a125d8227a96739cd6dbb73cbdaa0941b4
6
+ metadata.gz: 52c4e621e0cb0f58ab71e6d6ca58483c9b4dd0693d0358553d5c08dde522f4ab555e054f0bb2ad4d39ffa03bb09d4e8091f85d0639c0b4cfa83b97b9b6f4136c
7
+ data.tar.gz: 5023dacd1ef9198ec06688336c35d20153406211371514cc014c71fb644571fb9a3ff94b97630f1c92e4d7c9310a92d4d1a6370fb1a9081365efea22accfbe3d
data/lib/kdeploy/cli.rb CHANGED
@@ -231,8 +231,13 @@ module Kdeploy
231
231
  parallel_count = options[:parallel] || Configuration.default_parallel
232
232
  debug_mode = options[:debug] || false
233
233
  base_dir = @task_file_dir
234
- runner = Runner.new(hosts, self.class.kdeploy_tasks, parallel: parallel_count, output: output, debug: debug_mode,
235
- base_dir: base_dir)
234
+ runner = Runner.new(
235
+ hosts, self.class.kdeploy_tasks,
236
+ parallel: parallel_count,
237
+ output: output,
238
+ debug: debug_mode,
239
+ base_dir: base_dir
240
+ )
236
241
  results = runner.run(task)
237
242
  # Don't show summary here - it will be shown at the end for all tasks
238
243
  print_results(results, task, show_summary: false, debug: debug_mode)
@@ -5,8 +5,8 @@ require 'concurrent'
5
5
  module Kdeploy
6
6
  # Concurrent task runner for executing tasks across multiple hosts
7
7
  class Runner
8
- def initialize(hosts, tasks, parallel: Configuration.default_parallel, output: ConsoleOutput.new, debug: false,
9
- base_dir: nil)
8
+ def initialize(hosts, tasks, parallel: Configuration.default_parallel, output: ConsoleOutput.new,
9
+ debug: false, base_dir: nil)
10
10
  @hosts = hosts
11
11
  @tasks = tasks
12
12
  @parallel = parallel
@@ -61,8 +61,11 @@ module Kdeploy
61
61
  @results[name] = result
62
62
  else
63
63
  # Handle unexpected result format - create a default result
64
- @results[host_name] =
65
- { status: :unknown, error: "Unexpected result format: #{future_result.class}", output: [] }
64
+ @results[host_name] = {
65
+ status: :unknown,
66
+ error: "Unexpected result format: #{future_result.class}",
67
+ output: []
68
+ }
66
69
  end
67
70
 
68
71
  # Check if future raised an exception
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Kdeploy module for version management
4
4
  module Kdeploy
5
- VERSION = '1.2.14' unless const_defined?(:VERSION)
5
+ VERSION = '1.2.15' unless const_defined?(:VERSION)
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kdeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.14
4
+ version: 1.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kk