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 +4 -4
- data/doc/release_notes.md +3 -0
- data/lib/hammer_cli_foreman/hostgroup.rb +7 -1
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/test/unit/hostgroup_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2caf9087105bdd00ac37c6968833a5ad163710f2
|
4
|
+
data.tar.gz: '00296238bf77e4bcf9d11a080e589176ebae6df2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97d63f32e7677044e2a8585bb626c1364173671ea20c5c1293418649878902ed2156ff283afcba688a3b16e4218f54cec420fd143335aaec5f6d6e45ea781fe
|
7
|
+
data.tar.gz: ff428a43ca9f2b51ff59e5fef8863d78baba307c07ed8ca5fa87ac9f212ffa3a4114c589ca2b2c6664d6cdf325c77f5598f0bb6f18cfd50d076ab3866301de2e
|
data/doc/release_notes.md
CHANGED
@@ -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
|
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
|
data/test/unit/hostgroup_test.rb
CHANGED
@@ -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"
|
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.
|
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-
|
12
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hammer_cli
|