hammer_cli_foreman 5.0.0 → 5.1.0

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: aa8e936210a0637b599cccd85fe7280abe8a2e2a13f229f583a6b82413b2bdac
4
- data.tar.gz: e83a819d4ab5f9ebf158c1f0ca9401aa3331c9dc5bd30cca5cb5d161bf20b760
3
+ metadata.gz: 81ddce7539a47a58532305e589cb62287db7602b35923d1249c0d006f74da96e
4
+ data.tar.gz: 2f6b0dff8ce1519ffcdbc1de0cc3cea3dce9fd7ba0fa0bc6f3dc013ddedee998
5
5
  SHA512:
6
- metadata.gz: d060e979ab494cb98d2fb2367bd479601e3fde8728f95baefc849e9f339fe786f30cf624b7be96dd97d413415a1f93aa0f23b3c52d0d394f578cac26d57095dd
7
- data.tar.gz: eb37530e01112d0328219b47acc76f6368878e13c30a1f963684a9489f84de5a3844c4398f249e4ec16fb2394da6572eba3e08bf420a5ec2b793be5c9bbb5e3c
6
+ metadata.gz: 672f3cf18050a1ad9913472dcfc87625b8f460c56c2361a25497dae70e35916d42a420b416fbd3a1054fec98b05c64cbabd8e4e50d787f2444c21e00fe1776a3
7
+ data.tar.gz: 94b36670e7fe5828c87eb7ecd47c56389715e06329778425aa1a2fba25cde03d7224e25952ad54fd1f293b65d0a96f10c8fc42433281b0a5b380a7ad5e5c79bb
data/doc/release_notes.md CHANGED
@@ -1,5 +1,10 @@
1
1
  Release notes
2
2
  =============
3
+ ### 5.1.0 (2026-11-10)
4
+ * Show whether partition tables are snippets, [#39824](https://projects.theforeman.org/issues/39824).
5
+ * Flatten Parameters and All parameters in CSV output, [#39962](https://projects.theforeman.org/issues/39962).
6
+ * Known issue: the parameter output change also affects human-readable, JSON, and YAML output and can omit fields such as `is_property` ([PR #671](https://github.com/theforeman/hammer-cli-foreman/pull/671)).
7
+
3
8
  ### 5.0.0 (2026-08-11)
4
9
  * Fix release tag pattern and drop redundant manual gem push
5
10
  * Clarify cacert behavior in containerized environment
@@ -10,6 +10,7 @@ module HammerCLIForeman
10
10
  field :id, _("Id")
11
11
  field :name, _("Name")
12
12
  field :os_family, _("OS Family")
13
+ field :snippet, _("Snippet"), Fields::Boolean
13
14
  end
14
15
 
15
16
  build_options
@@ -132,7 +132,15 @@ module HammerCLIForeman
132
132
  def self.parameters(dsl)
133
133
  dsl.build do
134
134
  collection :parameters, _("Parameters"), :numbered => false do
135
- custom_field Fields::KeyValue
135
+ field :id, _("Id")
136
+ field :name, _("Name")
137
+ field :value, _("Value")
138
+ field :parameter_type, _("Type")
139
+ field :associated_type, _("Associated type")
140
+ field :priority, _("Priority")
141
+ field :created_at, _("Created at")
142
+ field :updated_at, _("Updated at")
143
+ field :hidden_value?, _("Hidden value")
136
144
  end
137
145
  end
138
146
  end
@@ -140,7 +148,15 @@ module HammerCLIForeman
140
148
  def self.all_parameters(dsl)
141
149
  dsl.build do
142
150
  collection :all_parameters, _("All parameters"), :numbered => false do
143
- custom_field Fields::KeyValue
151
+ field :id, _("Id")
152
+ field :name, _("Name")
153
+ field :value, _("Value")
154
+ field :parameter_type, _("Type")
155
+ field :associated_type, _("Associated type")
156
+ field :priority, _("Priority")
157
+ field :created_at, _("Created at")
158
+ field :updated_at, _("Updated at")
159
+ field :hidden_value?, _("Hidden value")
144
160
  end
145
161
  end
146
162
  end
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForeman
2
2
  def self.version
3
- @version ||= Gem::Version.new "5.0.0"
3
+ @version ||= Gem::Version.new "5.1.0"
4
4
  end
5
5
  end
@@ -30,7 +30,7 @@ describe HammerCLIForeman::PartitionTable do
30
30
  let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
31
31
 
32
32
  it_should_print_n_records
33
- it_should_print_columns ["Id", "Name", "OS Family"]
33
+ it_should_print_columns ["Id", "Name", "OS Family", "Snippet"]
34
34
  end
35
35
 
36
36
  end
@@ -50,7 +50,7 @@ describe HammerCLIForeman::PartitionTable do
50
50
  describe "output" do
51
51
  with_params ["--id=1"] do
52
52
  it_should_print_n_records 1
53
- it_should_print_columns ["Id", "Name", "OS Family", "Created at", "Updated at"]
53
+ it_should_print_columns ["Id", "Name", "OS Family", "Snippet", "Created at", "Updated at"]
54
54
  end
55
55
  end
56
56
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Strachota
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
354
  - !ruby/object:Gem::Version
355
355
  version: '0'
356
356
  requirements: []
357
- rubygems_version: 4.0.16
357
+ rubygems_version: 4.0.20
358
358
  specification_version: 4
359
359
  summary: Foreman commands for Hammer
360
360
  test_files: