hammer_cli_katello 1.8.0 → 1.8.2
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 +4 -4
- data/lib/hammer_cli_katello/host_extensions.rb +14 -8
- data/lib/hammer_cli_katello/search_options_creators.rb +3 -2
- data/lib/hammer_cli_katello/version.rb +1 -1
- data/locale/de/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/test/data/4.8/foreman_api.json +1 -0
- data/test/functional/host/extensions/info_test.rb +1 -2
- data/test/test_helper.rb +1 -1
- metadata +18 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3ba9e5c71995499753575797324e52f0cd56b3f2468cb63e61b832a39037da8
|
4
|
+
data.tar.gz: 59e6d74940cdfd949410372b7ad42d3dada989fa960dbf45b1457297d74e6ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9149192d2afc1131152f7de530a506b1065d1c0bd19584ba7886bf4a3801862dd33baa6d60f52c2eb2363346b2c39b8ff4c19999a26fab7425b3a66cb2f6c4a
|
7
|
+
data.tar.gz: f2e6b9875843692435b37b7c2db87a0048b0ee4f414e26bad813aaa26d7d9fc96a3a36e9ac4574963df06b6052876aa8f37fd989c3efbb8cf99f05a6e5a0f975
|
@@ -42,14 +42,20 @@ module HammerCLIKatello
|
|
42
42
|
output do
|
43
43
|
label _('Content Information') do
|
44
44
|
from :content_facet_attributes do
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
45
|
+
collection :content_view_environments, _('Content view environments') do
|
46
|
+
from :content_view do
|
47
|
+
label _("Content view") do
|
48
|
+
field :id, _("Id")
|
49
|
+
field :name, _("Name")
|
50
|
+
field :composite, _("Composite"), Fields::Boolean
|
51
|
+
end
|
52
|
+
end
|
53
|
+
from :lifecycle_environment do
|
54
|
+
label _("Lifecycle environment") do
|
55
|
+
field :id, _("Id")
|
56
|
+
field :name, _("Name")
|
57
|
+
end
|
58
|
+
end
|
53
59
|
end
|
54
60
|
|
55
61
|
label _("Content Source") do
|
@@ -57,8 +57,9 @@ module HammerCLIKatello
|
|
57
57
|
def create_lifecycle_environments_search_options(options, mode = nil)
|
58
58
|
search_options = {}
|
59
59
|
if mode != :multi
|
60
|
-
name = options[HammerCLI.option_accessor_name("
|
61
|
-
options[HammerCLI.option_accessor_name("
|
60
|
+
name = options[HammerCLI.option_accessor_name("name")] ||
|
61
|
+
options[HammerCLI.option_accessor_name("environment_name")]
|
62
|
+
|
62
63
|
search_options['name'] = name if name
|
63
64
|
end
|
64
65
|
organization_id = organization_id(scoped_options('organization', options, :single))
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|