hammer_cli_foreman 0.13.0 → 0.13.1

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
  SHA1:
3
- metadata.gz: d9cb4c5f05ba646885388839c2f9841dec76f3a7
4
- data.tar.gz: 841e4d4af906abffea95901fd08f16717ea13f68
3
+ metadata.gz: 2caf9087105bdd00ac37c6968833a5ad163710f2
4
+ data.tar.gz: '00296238bf77e4bcf9d11a080e589176ebae6df2'
5
5
  SHA512:
6
- metadata.gz: a86f81e3756b2625c90a718a83427779ddee54436eab285c8c978f47b9c56cd5d25c3aff6c77d7bb51dfa66ffda37510cac0fcdad9e5741c7a958a72cd4b9f0a
7
- data.tar.gz: 715ed86f035ad3e99a65b38b234bf786d3707801644acfcdf57729745d56bb601cfab07da3013846488ec08e8d39dcd23e1cb9bf21d8d39bc6dabde11af97ba3
6
+ metadata.gz: d97d63f32e7677044e2a8585bb626c1364173671ea20c5c1293418649878902ed2156ff283afcba688a3b16e4218f54cec420fd143335aaec5f6d6e45ea781fe
7
+ data.tar.gz: ff428a43ca9f2b51ff59e5fef8863d78baba307c07ed8ca5fa87ac9f212ffa3a4114c589ca2b2c6664d6cdf325c77f5598f0bb6f18cfd50d076ab3866301de2e
@@ -1,5 +1,8 @@
1
1
  Release notes
2
2
  =============
3
+ ### 0.13.1 (2018-07-18)
4
+ * removed redundant info about OS from hostgroup ([#23722](http://projects.theforeman.org/issues/23722))
5
+
3
6
  ### 0.13.0 (2018-05-09)
4
7
  * Listing all auth sources ([#19651](http://projects.theforeman.org/issues/19651))
5
8
  * Tests are green with 1.18 API docs ([#23219](http://projects.theforeman.org/issues/23219))
@@ -71,7 +71,13 @@ module HammerCLIForeman
71
71
 
72
72
  class InfoCommand < HammerCLIForeman::InfoCommand
73
73
 
74
- output ListCommand.output_definition do
74
+ output do
75
+ field :id, _("Id")
76
+ field :name, _("Name")
77
+ field :title, _("Title")
78
+ field nil, _("Puppet Environment"), Fields::SingleReference, :key => :environment
79
+ field nil, _("Model"), Fields::SingleReference, :key => :model
80
+
75
81
  field :description, _("Description"), Fields::LongText, :hide_blank => true
76
82
  field nil, _("Parent"), Fields::SingleReference, :key => :parent, :hide_blank => true
77
83
  field nil, _("Puppet CA Proxy"), Fields::SingleReference, :key => :puppet_ca_proxy
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForeman
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.13.0'
3
+ @version ||= Gem::Version.new '0.13.1'
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ describe HammerCLIForeman::Hostgroup do
41
41
  context "output" do
42
42
  with_params ["--id=1"] do
43
43
  it_should_print_n_records 1
44
- it_should_print_columns ["Id", "Name", "Title", "Operating System"]
44
+ it_should_print_columns ["Id", "Name", "Title"]
45
45
  it_should_print_columns ["Puppet Environment", "Puppetclasses", "Parent"]
46
46
  it_should_print_columns ["Puppet CA Proxy", "Puppet Master Proxy"]
47
47
  it_should_print_columns ["Parameters", "Description"]
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: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Strachota
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-09 00:00:00.000000000 Z
12
+ date: 2018-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hammer_cli