hammer_cli_katello 1.17.0 → 1.17.1

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: 9c92c0dc0ccd350405719c0937686ad4ecbdc36c4c63d22890b93dbced67dae9
4
- data.tar.gz: 4009035fd5b20b58c133d53efa6732446aaefc6055b2b134222c494ec4db3fd5
3
+ metadata.gz: ccd3f88de4919470d99fe785ad514ec780fef1e0b3754b378e496a52844bcd6c
4
+ data.tar.gz: 7a9c219ff668ff1b6bffb465c1f4bc236f7f4022160e04b4292bf698aeffa156
5
5
  SHA512:
6
- metadata.gz: fffa8960428bcd8a2caa609d0eae4e81dd49b05deb848d3e94c0e442066efaef89b0105d23e931e19264d24cd84e42f339ad14d335f02024e81a7e602a00a95e
7
- data.tar.gz: a89a857b4727c0232079cad8634a13fe156e5baa204d15bbc2ab85e365245b08dcc900120c4de9709515f717bd506932ea5998fd2eb4e2756f2e4b39d98dbd41
6
+ metadata.gz: 03dc9e68f5676e8cf61b3d219501d3bd64f25b6d2950728fa03f1175d1ca582d6af1a45fb3c1196c96a551b8e6ecf10b105a33dacbb1f7cc15efacab18323f81
7
+ data.tar.gz: ca04025daa063fccc7aaf21f88d4932253af4b3ada5836b9de4a81a2fe16be9536bdfae0be11829b04a646b0f32b7b7bb7f50101de18142ca5974cd58b70775f
@@ -6,6 +6,7 @@ require 'hammer_cli_katello/host_package_group'
6
6
  require 'hammer_cli_katello/host_traces'
7
7
  require 'hammer_cli_katello/host_bootc'
8
8
 
9
+ # rubocop:disable Metrics/ModuleLength
9
10
  module HammerCLIKatello
10
11
  module HostExtensions
11
12
  ::HammerCLIForeman::Host::CreateCommand.instance_eval do
@@ -57,18 +58,34 @@ module HammerCLIKatello
57
58
  _("Content View Environment Labels"), Fields::Field
58
59
  collection :content_view_environments, _('Content View Environments') do
59
60
  from :content_view do
60
- label _("Content view") do
61
- field :id, _("Id")
62
- field :name, _("Name")
63
- field :composite, _("Composite"), Fields::Boolean
64
- field :rolling, _("Rolling"), Fields::Boolean
61
+ # Deprecated label. To be removed in future versions.
62
+ label _("Content view"), :sets => ['ALL'] do
63
+ field :id, _("Id"), Fields::Field,
64
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('CV Id')].join('/')
65
+ field :name, _("Name"), Fields::Field,
66
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('CV Name')].join('/')
67
+ field :composite, _("Composite"), Fields::Boolean,
68
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('Composite CV')].join('/')
69
+ field :rolling, _("Rolling"), Fields::Boolean,
70
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('Rolling CV')].join('/')
65
71
  end
72
+
73
+ field :id, _("CV Id")
74
+ field :name, _("CV Name")
75
+ field :composite, _("Composite CV"), Fields::Boolean
76
+ field :rolling, _("Rolling CV"), Fields::Boolean
66
77
  end
67
78
  from :lifecycle_environment do
68
- label _("Lifecycle environment") do
69
- field :id, _("Id")
70
- field :name, _("Name")
79
+ # Deprecated label. To be removed in future versions.
80
+ label _("Lifecycle environment"), :sets => ['ALL'] do
81
+ field :id, _("Id"), Fields::Field,
82
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('LE Id')].join('/')
83
+ field :name, _("Name"), Fields::Field,
84
+ :replaced_by => [_('Content Information'), _('Content View Environments'), _('LE Name')].join('/')
71
85
  end
86
+
87
+ field :id, _("LE Id")
88
+ field :name, _("LE Name")
72
89
  end
73
90
  field :label, _("Label")
74
91
  end
@@ -138,3 +155,4 @@ module HammerCLIKatello
138
155
  end
139
156
  end
140
157
  end
158
+ # rubocop:enable Metrics/ModuleLength
@@ -1,5 +1,5 @@
1
1
  module HammerCLIKatello
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.17.0')
3
+ @version ||= Gem::Version.new('1.17.1')
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
@@ -37,7 +37,7 @@ authors:
37
37
  autorequire:
38
38
  bindir: bin
39
39
  cert_chain: []
40
- date: 2025-05-14 00:00:00.000000000 Z
40
+ date: 2025-05-29 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: csv
@@ -564,7 +564,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
564
564
  - !ruby/object:Gem::Version
565
565
  version: '0'
566
566
  requirements: []
567
- rubygems_version: 3.4.19
567
+ rubygems_version: 3.2.33
568
568
  signing_key:
569
569
  specification_version: 4
570
570
  summary: Katello commands for Hammer