hammer_cli_foreman 2.3.1 → 2.4.0
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 +7 -1
- data/lib/hammer_cli_foreman/architecture.rb +5 -5
- data/lib/hammer_cli_foreman/bookmark.rb +6 -6
- data/lib/hammer_cli_foreman/command_extensions/status.rb +1 -1
- data/lib/hammer_cli_foreman/compute_profile.rb +5 -5
- data/lib/hammer_cli_foreman/config_group.rb +5 -5
- data/lib/hammer_cli_foreman/hosts/common_update_options.rb +1 -1
- data/lib/hammer_cli_foreman/mail_notification.rb +2 -2
- data/lib/hammer_cli_foreman/model.rb +5 -5
- data/lib/hammer_cli_foreman/operating_system.rb +10 -9
- data/lib/hammer_cli_foreman/settings.rb +3 -3
- data/lib/hammer_cli_foreman/usergroup.rb +5 -5
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/test/functional/architecture_test.rb +49 -0
- data/test/functional/bookmark_test.rb +20 -0
- data/test/functional/compute_profile_test.rb +43 -0
- data/test/functional/config_group_test.rb +50 -0
- data/test/functional/filter_test.rb +114 -47
- data/test/functional/host_test.rb +63 -2
- data/test/functional/mail_notification_test.rb +20 -0
- data/test/functional/model_test.rb +50 -0
- data/test/functional/operating_system_test.rb +51 -0
- data/test/functional/settings_test.rb +21 -0
- data/test/functional/status_test.rb +79 -13
- data/test/functional/usergroup_test.rb +51 -0
- data/test/unit/apipie_resource_mock.rb +21 -0
- data/test/unit/architecture_test.rb +10 -1
- data/test/unit/bookmark_test.rb +99 -0
- data/test/unit/compute_profile_test.rb +87 -0
- data/test/unit/config_group_test.rb +10 -0
- data/test/unit/mail_notification_test.rb +53 -0
- data/test/unit/model_test.rb +10 -0
- data/test/unit/operating_system_test.rb +14 -1
- data/test/unit/settings_test.rb +4 -0
- data/test/unit/usergroup_test.rb +10 -0
- metadata +20 -4
@@ -0,0 +1,87 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.join(File.dirname(__FILE__), 'test_helper')
|
4
|
+
require File.join(File.dirname(__FILE__), 'apipie_resource_mock')
|
5
|
+
|
6
|
+
require 'hammer_cli_foreman/compute_profile'
|
7
|
+
|
8
|
+
describe HammerCLIForeman::ComputeProfile do
|
9
|
+
include CommandTestHelper
|
10
|
+
|
11
|
+
context 'ListCommand' do
|
12
|
+
before :each do
|
13
|
+
ResourceMocks.compute_profiles
|
14
|
+
end
|
15
|
+
|
16
|
+
let(:cmd) { HammerCLIForeman::ComputeProfile::ListCommand.new('', ctx) }
|
17
|
+
|
18
|
+
context 'parameters' do
|
19
|
+
it_should_accept 'no arguments'
|
20
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
21
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
22
|
+
end
|
23
|
+
|
24
|
+
context 'output' do
|
25
|
+
let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
|
26
|
+
|
27
|
+
it_should_print_n_records
|
28
|
+
it_should_print_column 'Id'
|
29
|
+
it_should_print_column 'Name'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
context 'InfoCommand' do
|
34
|
+
let(:cmd) { HammerCLIForeman::ComputeProfile::InfoCommand.new('', ctx) }
|
35
|
+
|
36
|
+
context 'parameters' do
|
37
|
+
it_should_accept 'id', ['--id=1']
|
38
|
+
it_should_accept 'name', ['--name=test']
|
39
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
40
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'output' do
|
44
|
+
with_params ['--id=1'] do
|
45
|
+
it_should_print_n_records 1
|
46
|
+
it_should_print_column 'Id'
|
47
|
+
it_should_print_column 'Name'
|
48
|
+
it_should_print_column 'Created at'
|
49
|
+
it_should_print_column 'Updated at'
|
50
|
+
it_should_print_column 'Compute attributes'
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
context 'CreateCommand' do
|
56
|
+
let(:cmd) { HammerCLIForeman::ComputeProfile::CreateCommand.new('', ctx) }
|
57
|
+
|
58
|
+
context 'parameters' do
|
59
|
+
it_should_accept 'name', ['--name=test']
|
60
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
61
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
context 'DeleteCommand' do
|
67
|
+
let(:cmd) { HammerCLIForeman::ComputeProfile::DeleteCommand.new('', ctx) }
|
68
|
+
|
69
|
+
context 'parameters' do
|
70
|
+
it_should_accept 'id', ['--id=1']
|
71
|
+
it_should_accept 'name', ['--name=test']
|
72
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
73
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
context 'UpdateCommand' do
|
78
|
+
let(:cmd) { HammerCLIForeman::ComputeProfile::UpdateCommand.new('', ctx) }
|
79
|
+
|
80
|
+
context 'parameters' do
|
81
|
+
it_should_accept 'id', ['--id=1']
|
82
|
+
it_should_accept 'name', ['--name=test']
|
83
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
84
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -16,6 +16,8 @@ describe HammerCLIForeman::ConfigGroup do
|
|
16
16
|
context "parameters" do
|
17
17
|
it_should_accept "no arguments"
|
18
18
|
it_should_accept_search_params
|
19
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
20
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
19
21
|
end
|
20
22
|
|
21
23
|
context "output" do
|
@@ -31,6 +33,8 @@ describe HammerCLIForeman::ConfigGroup do
|
|
31
33
|
context "parameters" do
|
32
34
|
it_should_accept "id", ["--id=1"]
|
33
35
|
it_should_accept "name", ["--name=group_x"]
|
36
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
37
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
34
38
|
end
|
35
39
|
|
36
40
|
context "output" do
|
@@ -48,6 +52,8 @@ describe HammerCLIForeman::ConfigGroup do
|
|
48
52
|
|
49
53
|
context "parameters" do
|
50
54
|
it_should_accept "name, puppetclass ids", ["--name=first_group", "--puppet-class-ids=1,2"]
|
55
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
56
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
51
57
|
end
|
52
58
|
end
|
53
59
|
|
@@ -57,6 +63,8 @@ describe HammerCLIForeman::ConfigGroup do
|
|
57
63
|
context "parameters" do
|
58
64
|
it_should_accept "name", ["--name=group_x"]
|
59
65
|
it_should_accept "id", ["--id=1"]
|
66
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
67
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
60
68
|
end
|
61
69
|
end
|
62
70
|
|
@@ -67,6 +75,8 @@ describe HammerCLIForeman::ConfigGroup do
|
|
67
75
|
context "parameters" do
|
68
76
|
it_should_accept "name", ["--name=group_x"]
|
69
77
|
it_should_accept "id", ["--id=1"]
|
78
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
79
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
70
80
|
end
|
71
81
|
end
|
72
82
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.join(File.dirname(__FILE__), 'test_helper')
|
4
|
+
require File.join(File.dirname(__FILE__), 'apipie_resource_mock')
|
5
|
+
|
6
|
+
require 'hammer_cli_foreman/mail_notification'
|
7
|
+
|
8
|
+
describe HammerCLIForeman::MailNotification do
|
9
|
+
include CommandTestHelper
|
10
|
+
|
11
|
+
context 'ListCommand' do
|
12
|
+
before :each do
|
13
|
+
ResourceMocks.mail_notifications
|
14
|
+
end
|
15
|
+
|
16
|
+
let(:cmd) { HammerCLIForeman::MailNotification::ListCommand.new('', ctx) }
|
17
|
+
|
18
|
+
context 'parameters' do
|
19
|
+
it_should_accept 'no arguments'
|
20
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
21
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
22
|
+
end
|
23
|
+
|
24
|
+
context 'output' do
|
25
|
+
let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
|
26
|
+
|
27
|
+
it_should_print_n_records
|
28
|
+
it_should_print_column 'Id'
|
29
|
+
it_should_print_column 'Name'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
context 'InfoCommand' do
|
34
|
+
let(:cmd) { HammerCLIForeman::MailNotification::InfoCommand.new('', ctx) }
|
35
|
+
|
36
|
+
context 'parameters' do
|
37
|
+
it_should_accept 'id', ['--id=1']
|
38
|
+
it_should_accept 'name', ['--name=test']
|
39
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
40
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'output' do
|
44
|
+
with_params ['--id=1'] do
|
45
|
+
it_should_print_n_records 1
|
46
|
+
it_should_print_column 'Id'
|
47
|
+
it_should_print_column 'Name'
|
48
|
+
it_should_print_column 'Description'
|
49
|
+
it_should_print_column 'Subscription type'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/test/unit/model_test.rb
CHANGED
@@ -17,6 +17,8 @@ describe HammerCLIForeman::Model do
|
|
17
17
|
context "parameters" do
|
18
18
|
it_should_accept "no arguments"
|
19
19
|
it_should_accept_search_params
|
20
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
21
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
20
22
|
end
|
21
23
|
|
22
24
|
context "output" do
|
@@ -38,6 +40,8 @@ describe HammerCLIForeman::Model do
|
|
38
40
|
context "parameters" do
|
39
41
|
it_should_accept "id", ["--id=1"]
|
40
42
|
it_should_accept "name", ["--name=model"]
|
43
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
44
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
45
|
# it_should_fail_with "no arguments" # TODO: temporarily disabled, parameters are checked in the id resolver
|
42
46
|
end
|
43
47
|
|
@@ -63,6 +67,8 @@ describe HammerCLIForeman::Model do
|
|
63
67
|
|
64
68
|
context "parameters" do
|
65
69
|
it_should_accept "name", ["--name=model", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
70
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
71
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
66
72
|
# it_should_fail_with "name missing", ["--info=description", "--vendor-class=class", "--hardware-model=model"]
|
67
73
|
# TODO: temporarily disabled, parameters are checked in the api
|
68
74
|
end
|
@@ -77,6 +83,8 @@ describe HammerCLIForeman::Model do
|
|
77
83
|
context "parameters" do
|
78
84
|
it_should_accept "name", ["--name=model"]
|
79
85
|
it_should_accept "id", ["--id=1"]
|
86
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
87
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
80
88
|
# it_should_fail_with "name or id missing", [] # TODO: temporarily disabled, parameters are checked in the id resolver
|
81
89
|
end
|
82
90
|
|
@@ -90,6 +98,8 @@ describe HammerCLIForeman::Model do
|
|
90
98
|
context "parameters" do
|
91
99
|
it_should_accept "name", ["--name=model", "--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
92
100
|
it_should_accept "id", ["--id=1", "--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
101
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
102
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
93
103
|
# it_should_fail_with "no params", []
|
94
104
|
# it_should_fail_with "name or id missing", ["--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
95
105
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
@@ -18,6 +18,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -40,6 +42,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
40
42
|
context "parameters" do
|
41
43
|
it_should_accept "id", ["--id=1"]
|
42
44
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
45
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
46
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
43
47
|
# it_should_fail_with "no arguments" # TODO: temporarily disabled, parameters are checked in the id resolver
|
44
48
|
end
|
45
49
|
|
@@ -70,6 +74,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
70
74
|
|
71
75
|
context "parameters" do
|
72
76
|
it_should_accept "name, major, minor, family, release name", ["--name=media", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
77
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
78
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
73
79
|
# it_should_fail_with "name missing", ["--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
74
80
|
# TODO: temporarily disabled, parameters are checked in the api
|
75
81
|
end
|
@@ -87,6 +93,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
87
93
|
context "parameters" do
|
88
94
|
it_should_accept "id", ["--id=1"]
|
89
95
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
96
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
97
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
90
98
|
# it_should_fail_with "name or id missing", [] # TODO: temporarily disabled, parameters are checked in the id resolver
|
91
99
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
92
100
|
end
|
@@ -102,6 +110,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
102
110
|
it_should_accept "id", ["--id=1"]
|
103
111
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
104
112
|
it_should_accept "name, major, minor, family, release name", ["--id=83", "--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
113
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
114
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
105
115
|
# it_should_fail_with "no params", []
|
106
116
|
# it_should_fail_with "label or id missing", ["--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
107
117
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
@@ -126,6 +136,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
126
136
|
it_should_accept "name, value and os id", ["--name=domain", "--value=val", "--operatingsystem-id=1"]
|
127
137
|
it_should_accept "name, value and os title", ["--name=domain", "--value=val", "--operatingsystem=Rhel 6.5"]
|
128
138
|
it_should_accept "name, value, type and os id", ["--name=domain", "--value=val", "--parameter-type=string", "--operatingsystem-id=1"]
|
139
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
140
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
129
141
|
# it_should_fail_with "name missing", ["--value=val", "--operatingsystem-id=id"]
|
130
142
|
# it_should_fail_with "value missing", ["--name=name", "--operatingsystem-id=id"]
|
131
143
|
# it_should_fail_with "os id missing", ["--name=name", "--value=val"]
|
@@ -142,11 +154,12 @@ describe HammerCLIForeman::OperatingSystem do
|
|
142
154
|
context "parameters" do
|
143
155
|
it_should_accept "name and os id", ["--name=domain", "--operatingsystem-id=1"]
|
144
156
|
it_should_accept "name and os title", ["--name=domain", "--operatingsystem=Rhel 6.5"]
|
157
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
158
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
145
159
|
# it_should_fail_with "name missing", ["--operatingsystem-id=id"]
|
146
160
|
# it_should_fail_with "os id missing", ["--name=name"]
|
147
161
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
148
162
|
end
|
149
163
|
|
150
164
|
end
|
151
|
-
|
152
165
|
end
|
data/test/unit/settings_test.rb
CHANGED
@@ -18,6 +18,8 @@ describe HammerCLIForeman::Settings do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -38,6 +40,8 @@ describe HammerCLIForeman::Settings do
|
|
38
40
|
context "parameters" do
|
39
41
|
it_should_accept "name", ["--name=setting1", "--value=setting2"]
|
40
42
|
it_should_accept "id", ["--id=1", "--value=setting2"]
|
43
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
44
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
45
|
end
|
42
46
|
|
43
47
|
end
|
data/test/unit/usergroup_test.rb
CHANGED
@@ -18,6 +18,8 @@ describe HammerCLIForeman::Usergroup do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -35,6 +37,8 @@ describe HammerCLIForeman::Usergroup do
|
|
35
37
|
context "parameters" do
|
36
38
|
it_should_accept "id", ["--id=1"]
|
37
39
|
it_should_accept "name", ["--name=ug"]
|
40
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
41
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
38
42
|
end
|
39
43
|
|
40
44
|
context "output" do
|
@@ -58,6 +62,8 @@ describe HammerCLIForeman::Usergroup do
|
|
58
62
|
context "parameters" do
|
59
63
|
it_should_accept "name", ["--name=ug"]
|
60
64
|
it_should_accept "name, role ids, user group ids and user ids", ["--name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
65
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
66
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
61
67
|
end
|
62
68
|
end
|
63
69
|
|
@@ -68,6 +74,8 @@ describe HammerCLIForeman::Usergroup do
|
|
68
74
|
context "parameters" do
|
69
75
|
it_should_accept "name", ["--name=ug"]
|
70
76
|
it_should_accept "id", ["--id=1"]
|
77
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
78
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
71
79
|
end
|
72
80
|
end
|
73
81
|
|
@@ -80,6 +88,8 @@ describe HammerCLIForeman::Usergroup do
|
|
80
88
|
it_should_accept "id", ["--id=1"]
|
81
89
|
it_should_accept "name and new name", ["--name=ug", "--new-name=ug2"]
|
82
90
|
it_should_accept "id, new name, role ids, user group ids and user ids", ["--id=1", "--new-name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
91
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
92
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
83
93
|
end
|
84
94
|
end
|
85
95
|
end
|
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: 2.
|
4
|
+
version: 2.4.0
|
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: 2021-
|
12
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hammer_cli
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: 2.4.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.
|
27
|
+
version: 2.4.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: apipie-bindings
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,6 +246,7 @@ files:
|
|
246
246
|
- test/data/2.0/foreman_api.json
|
247
247
|
- test/data/2.1/foreman_api.json
|
248
248
|
- test/data/README.md
|
249
|
+
- test/functional/architecture_test.rb
|
249
250
|
- test/functional/associating_commands_test.rb
|
250
251
|
- test/functional/audit_test.rb
|
251
252
|
- test/functional/auth_source_test.rb
|
@@ -254,6 +255,7 @@ files:
|
|
254
255
|
- test/functional/compute_attribute_test.rb
|
255
256
|
- test/functional/compute_profile_test.rb
|
256
257
|
- test/functional/compute_resource_test.rb
|
258
|
+
- test/functional/config_group_test.rb
|
257
259
|
- test/functional/filter_test.rb
|
258
260
|
- test/functional/host_test.rb
|
259
261
|
- test/functional/hostgroup/create_test.rb
|
@@ -262,6 +264,8 @@ files:
|
|
262
264
|
- test/functional/location_test.rb
|
263
265
|
- test/functional/mail_notification_test.rb
|
264
266
|
- test/functional/media_test.rb
|
267
|
+
- test/functional/model_test.rb
|
268
|
+
- test/functional/operating_system_test.rb
|
265
269
|
- test/functional/organization_test.rb
|
266
270
|
- test/functional/personal_access_token_test.rb
|
267
271
|
- test/functional/ping_test.rb
|
@@ -279,6 +283,7 @@ files:
|
|
279
283
|
- test/functional/test_helper.rb
|
280
284
|
- test/functional/user_mail_notification_test.rb
|
281
285
|
- test/functional/user_test.rb
|
286
|
+
- test/functional/usergroup_test.rb
|
282
287
|
- test/functional/virtual_machine_test.rb
|
283
288
|
- test/reports/TEST-Minitest-Result.xml
|
284
289
|
- test/test_helper.rb
|
@@ -293,8 +298,10 @@ files:
|
|
293
298
|
- test/unit/audit_test.rb
|
294
299
|
- test/unit/auth_source_external.rb
|
295
300
|
- test/unit/auth_source_ldap_test.rb
|
301
|
+
- test/unit/bookmark_test.rb
|
296
302
|
- test/unit/commands_test.rb
|
297
303
|
- test/unit/common_parameter_test.rb
|
304
|
+
- test/unit/compute_profile_test.rb
|
298
305
|
- test/unit/compute_resource_test.rb
|
299
306
|
- test/unit/config_group_test.rb
|
300
307
|
- test/unit/config_report_test.rb
|
@@ -314,6 +321,7 @@ files:
|
|
314
321
|
- test/unit/id_resolver_test.rb
|
315
322
|
- test/unit/image_test.rb
|
316
323
|
- test/unit/location_test.rb
|
324
|
+
- test/unit/mail_notification_test.rb
|
317
325
|
- test/unit/media_test.rb
|
318
326
|
- test/unit/messages_test.rb
|
319
327
|
- test/unit/model_test.rb
|
@@ -385,6 +393,7 @@ test_files:
|
|
385
393
|
- test/unit/auth_source_ldap_test.rb
|
386
394
|
- test/unit/audit_test.rb
|
387
395
|
- test/unit/test_helper.rb
|
396
|
+
- test/unit/mail_notification_test.rb
|
388
397
|
- test/unit/smart_class_parameter_test.rb
|
389
398
|
- test/unit/partition_table_test.rb
|
390
399
|
- test/unit/operating_system_test.rb
|
@@ -413,6 +422,7 @@ test_files:
|
|
413
422
|
- test/unit/filter_test.rb
|
414
423
|
- test/unit/puppet_environment_test.rb
|
415
424
|
- test/unit/output/formatters_test.rb
|
425
|
+
- test/unit/compute_profile_test.rb
|
416
426
|
- test/unit/host_test.rb
|
417
427
|
- test/unit/config_report_test.rb
|
418
428
|
- test/unit/fact_test.rb
|
@@ -420,6 +430,7 @@ test_files:
|
|
420
430
|
- test/unit/commands_test.rb
|
421
431
|
- test/unit/common_parameter_test.rb
|
422
432
|
- test/unit/subnet_test.rb
|
433
|
+
- test/unit/bookmark_test.rb
|
423
434
|
- test/data/2.1/foreman_api.json
|
424
435
|
- test/data/2.0/foreman_api.json
|
425
436
|
- test/data/1.24/foreman_api.json
|
@@ -438,6 +449,7 @@ test_files:
|
|
438
449
|
- test/functional/http_proxy_test.rb
|
439
450
|
- test/functional/commands/list_test.rb
|
440
451
|
- test/functional/user_mail_notification_test.rb
|
452
|
+
- test/functional/config_group_test.rb
|
441
453
|
- test/functional/user_test.rb
|
442
454
|
- test/functional/realm_test.rb
|
443
455
|
- test/functional/personal_access_token_test.rb
|
@@ -446,7 +458,10 @@ test_files:
|
|
446
458
|
- test/functional/mail_notification_test.rb
|
447
459
|
- test/functional/ping_test.rb
|
448
460
|
- test/functional/smart_class_parameter_test.rb
|
461
|
+
- test/functional/operating_system_test.rb
|
449
462
|
- test/functional/media_test.rb
|
463
|
+
- test/functional/architecture_test.rb
|
464
|
+
- test/functional/usergroup_test.rb
|
450
465
|
- test/functional/role_test.rb
|
451
466
|
- test/functional/location_test.rb
|
452
467
|
- test/functional/hostgroup/create_test.rb
|
@@ -457,6 +472,7 @@ test_files:
|
|
457
472
|
- test/functional/settings_test.rb
|
458
473
|
- test/functional/template_test.rb
|
459
474
|
- test/functional/proxy_test.rb
|
475
|
+
- test/functional/model_test.rb
|
460
476
|
- test/functional/compute_resource_test.rb
|
461
477
|
- test/functional/compute_attribute_test.rb
|
462
478
|
- test/functional/filter_test.rb
|