hammer_cli_foreman_tasks 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 413d9d50f652c167a66f57f94f98dcfa1d47fd067009a3fac6a2c2e0f424a7e8
4
- data.tar.gz: 282b9ab18849f75fc5f5e95ce842e3c267be67224d24cd84bc3fbb3394604d8c
3
+ metadata.gz: ecb5c697027ff8162064104b3f04ec3111310fa918400efca3130a66b5b7a7de
4
+ data.tar.gz: b5cbeea8bc93239decfc143177037505ac7beb96444d1ed03e41d0d4765d43ba
5
5
  SHA512:
6
- metadata.gz: c04a5eb704b9c961a4b38b5173eb053126d5ec3694d03bc662427e9cd9ee4dbf8d6e1d13192b46e837f23d0fbd34642eb209d58362a98de62dad129f8db9f1f1
7
- data.tar.gz: 5f9749b7d2f45c3b51643ff676257106cb2d790e3743314472509c07e21e3726f9ffc44a81c9cd5368951f0d934356a885ecbc0be61651e40f668334e07a6c19
6
+ metadata.gz: 4dd484521acce7afabf52e2f7f2ad5c4627784f831ca5e690dacd8db3bc5c09af434a5ba49564038dabccb511584a1d2824befa446889ff487c54af058105986
7
+ data.tar.gz: 39bd630a411295bb0c50d66596fc2445610e2e5fb6d3cdc0310f7d4e137e5d38d29857efec7c7c50069d55f0d808a5d0bad5128c0f466bb4f982954172bbfcf1
@@ -4,7 +4,7 @@ module HammerCLIForemanTasks
4
4
  def task_progress(task_or_id)
5
5
  task_id = task_or_id.is_a?(Hash) ? task_or_id['id'] : task_or_id
6
6
  if !task_id.empty?
7
- options = { verbosity: @context[:verbosity] || HammerCLI::V_VERBOSE }
7
+ options = { verbosity: @context[:verbosity] || HammerCLI::V_VERBOSE, adapter: (@context[:adapter] || :base).to_s }
8
8
  task_progress = TaskProgress.new(task_id, options) { |id| load_task(id) }
9
9
  task_progress.render
10
10
  task_progress.success?
@@ -72,7 +72,7 @@ module HammerCLIForemanTasks
72
72
  end
73
73
 
74
74
  def appropriate_verbosity?
75
- @options[:verbosity] >= HammerCLI::V_VERBOSE
75
+ @options[:verbosity] >= HammerCLI::V_VERBOSE && @options[:adapter] == 'base'
76
76
  end
77
77
  end
78
78
  end
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanTasks
2
2
  def self.version
3
- @version ||= Gem::Version.new('0.0.20')
3
+ @version ||= Gem::Version.new('0.0.21')
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: powerbar
@@ -53,7 +53,7 @@ dependencies:
53
53
  description: 'Contains the code for showing of the tasks (results and progress) in
54
54
  the Hammer CLI.
55
55
 
56
- '
56
+ '
57
57
  email:
58
58
  - inecas@redhat.com
59
59
  executables: []
@@ -110,7 +110,7 @@ homepage: https://github.com/theforeman/hammer-cli-foreman-tasks
110
110
  licenses:
111
111
  - GPL-3.0
112
112
  metadata: {}
113
- post_install_message:
113
+ post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.2.33
129
- signing_key:
128
+ rubygems_version: 3.3.26
129
+ signing_key:
130
130
  specification_version: 4
131
131
  summary: Foreman CLI plugin for showing tasks information for resoruces and users
132
132
  test_files: []