foreman_virt_who_configure 0.5.20 → 0.5.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -6
  3. data/Rakefile +1 -1
  4. data/app/assets/javascripts/foreman_virt_who_configure/config_edit.js +8 -0
  5. data/app/models/foreman_virt_who_configure/config.rb +8 -0
  6. data/app/models/foreman_virt_who_configure/output_generator.rb +3 -2
  7. data/app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb +2 -2
  8. data/lib/foreman_virt_who_configure/engine.rb +1 -1
  9. data/lib/foreman_virt_who_configure/version.rb +1 -1
  10. data/locale/action_names.rb +2 -0
  11. data/locale/bn/foreman_virt_who_configure.edit.po +621 -0
  12. data/locale/bn/foreman_virt_who_configure.po +0 -3
  13. data/locale/bn/foreman_virt_who_configure.po.time_stamp +0 -0
  14. data/locale/bn_IN/foreman_virt_who_configure.edit.po +622 -0
  15. data/locale/bn_IN/foreman_virt_who_configure.po +0 -3
  16. data/locale/bn_IN/foreman_virt_who_configure.po.time_stamp +0 -0
  17. data/locale/ca/foreman_virt_who_configure.edit.po +621 -0
  18. data/locale/ca/foreman_virt_who_configure.po +0 -3
  19. data/locale/ca/foreman_virt_who_configure.po.time_stamp +0 -0
  20. data/locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  21. data/locale/cs_CZ/foreman_virt_who_configure.edit.po +628 -0
  22. data/locale/cs_CZ/foreman_virt_who_configure.po +0 -3
  23. data/locale/cs_CZ/foreman_virt_who_configure.po.time_stamp +0 -0
  24. data/locale/de/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  25. data/locale/de/foreman_virt_who_configure.edit.po +638 -0
  26. data/locale/de/foreman_virt_who_configure.po +0 -3
  27. data/locale/de/foreman_virt_who_configure.po.time_stamp +0 -0
  28. data/locale/de_DE/foreman_virt_who_configure.edit.po +624 -0
  29. data/locale/de_DE/foreman_virt_who_configure.po +0 -3
  30. data/locale/de_DE/foreman_virt_who_configure.po.time_stamp +0 -0
  31. data/locale/el/foreman_virt_who_configure.edit.po +621 -0
  32. data/locale/el/foreman_virt_who_configure.po +0 -3
  33. data/locale/el/foreman_virt_who_configure.po.time_stamp +0 -0
  34. data/locale/en/foreman_virt_who_configure.edit.po +617 -0
  35. data/locale/en/foreman_virt_who_configure.po +0 -3
  36. data/locale/en/foreman_virt_who_configure.po.time_stamp +0 -0
  37. data/locale/en_GB/foreman_virt_who_configure.edit.po +623 -0
  38. data/locale/en_GB/foreman_virt_who_configure.po +0 -3
  39. data/locale/en_GB/foreman_virt_who_configure.po.time_stamp +0 -0
  40. data/locale/es/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  41. data/locale/es/foreman_virt_who_configure.edit.po +635 -0
  42. data/locale/es/foreman_virt_who_configure.po +0 -3
  43. data/locale/es/foreman_virt_who_configure.po.time_stamp +0 -0
  44. data/locale/foreman_virt_who_configure.pot +4 -7
  45. data/locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  46. data/locale/fr/foreman_virt_who_configure.edit.po +634 -0
  47. data/locale/fr/foreman_virt_who_configure.po +0 -3
  48. data/locale/fr/foreman_virt_who_configure.po.time_stamp +0 -0
  49. data/locale/gl/foreman_virt_who_configure.edit.po +621 -0
  50. data/locale/gl/foreman_virt_who_configure.po +0 -3
  51. data/locale/gl/foreman_virt_who_configure.po.time_stamp +0 -0
  52. data/locale/gu/foreman_virt_who_configure.edit.po +621 -0
  53. data/locale/gu/foreman_virt_who_configure.po +0 -3
  54. data/locale/gu/foreman_virt_who_configure.po.time_stamp +0 -0
  55. data/locale/he_IL/foreman_virt_who_configure.edit.po +623 -0
  56. data/locale/he_IL/foreman_virt_who_configure.po +0 -3
  57. data/locale/he_IL/foreman_virt_who_configure.po.time_stamp +0 -0
  58. data/locale/hi/foreman_virt_who_configure.edit.po +621 -0
  59. data/locale/hi/foreman_virt_who_configure.po +0 -3
  60. data/locale/hi/foreman_virt_who_configure.po.time_stamp +0 -0
  61. data/locale/it/foreman_virt_who_configure.edit.po +625 -0
  62. data/locale/it/foreman_virt_who_configure.po +0 -3
  63. data/locale/it/foreman_virt_who_configure.po.time_stamp +0 -0
  64. data/locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  65. data/locale/ja/foreman_virt_who_configure.edit.po +632 -0
  66. data/locale/ja/foreman_virt_who_configure.po +0 -3
  67. data/locale/ja/foreman_virt_who_configure.po.time_stamp +0 -0
  68. data/locale/ka/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  69. data/locale/ka/foreman_virt_who_configure.edit.po +628 -0
  70. data/locale/ka/foreman_virt_who_configure.po +0 -3
  71. data/locale/ka/foreman_virt_who_configure.po.time_stamp +0 -0
  72. data/locale/kn/foreman_virt_who_configure.edit.po +621 -0
  73. data/locale/kn/foreman_virt_who_configure.po +0 -3
  74. data/locale/kn/foreman_virt_who_configure.po.time_stamp +0 -0
  75. data/locale/ko/foreman_virt_who_configure.edit.po +623 -0
  76. data/locale/ko/foreman_virt_who_configure.po +0 -3
  77. data/locale/ko/foreman_virt_who_configure.po.time_stamp +0 -0
  78. data/locale/mr/foreman_virt_who_configure.edit.po +621 -0
  79. data/locale/mr/foreman_virt_who_configure.po +0 -3
  80. data/locale/mr/foreman_virt_who_configure.po.time_stamp +0 -0
  81. data/locale/nl_NL/foreman_virt_who_configure.edit.po +626 -0
  82. data/locale/nl_NL/foreman_virt_who_configure.po +0 -3
  83. data/locale/nl_NL/foreman_virt_who_configure.po.time_stamp +0 -0
  84. data/locale/or/foreman_virt_who_configure.edit.po +621 -0
  85. data/locale/or/foreman_virt_who_configure.po +0 -3
  86. data/locale/or/foreman_virt_who_configure.po.time_stamp +0 -0
  87. data/locale/pa/foreman_virt_who_configure.edit.po +622 -0
  88. data/locale/pa/foreman_virt_who_configure.po +0 -3
  89. data/locale/pa/foreman_virt_who_configure.po.time_stamp +0 -0
  90. data/locale/pl/foreman_virt_who_configure.edit.po +624 -0
  91. data/locale/pl/foreman_virt_who_configure.po +0 -3
  92. data/locale/pl/foreman_virt_who_configure.po.time_stamp +0 -0
  93. data/locale/pt/foreman_virt_who_configure.edit.po +622 -0
  94. data/locale/pt/foreman_virt_who_configure.po +0 -3
  95. data/locale/pt/foreman_virt_who_configure.po.time_stamp +0 -0
  96. data/locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  97. data/locale/pt_BR/foreman_virt_who_configure.edit.po +634 -0
  98. data/locale/pt_BR/foreman_virt_who_configure.po +0 -3
  99. data/locale/pt_BR/foreman_virt_who_configure.po.time_stamp +0 -0
  100. data/locale/ru/foreman_virt_who_configure.edit.po +627 -0
  101. data/locale/ru/foreman_virt_who_configure.po +0 -3
  102. data/locale/ru/foreman_virt_who_configure.po.time_stamp +0 -0
  103. data/locale/sl/foreman_virt_who_configure.edit.po +622 -0
  104. data/locale/sl/foreman_virt_who_configure.po +0 -3
  105. data/locale/sl/foreman_virt_who_configure.po.time_stamp +0 -0
  106. data/locale/sv_SE/foreman_virt_who_configure.edit.po +623 -0
  107. data/locale/sv_SE/foreman_virt_who_configure.po +0 -3
  108. data/locale/sv_SE/foreman_virt_who_configure.po.time_stamp +0 -0
  109. data/locale/ta/foreman_virt_who_configure.edit.po +621 -0
  110. data/locale/ta/foreman_virt_who_configure.po +0 -3
  111. data/locale/ta/foreman_virt_who_configure.po.time_stamp +0 -0
  112. data/locale/ta_IN/foreman_virt_who_configure.edit.po +622 -0
  113. data/locale/ta_IN/foreman_virt_who_configure.po +0 -3
  114. data/locale/ta_IN/foreman_virt_who_configure.po.time_stamp +0 -0
  115. data/locale/te/foreman_virt_who_configure.edit.po +621 -0
  116. data/locale/te/foreman_virt_who_configure.po +0 -3
  117. data/locale/te/foreman_virt_who_configure.po.time_stamp +0 -0
  118. data/locale/tr/foreman_virt_who_configure.edit.po +621 -0
  119. data/locale/tr/foreman_virt_who_configure.po +0 -3
  120. data/locale/tr/foreman_virt_who_configure.po.time_stamp +0 -0
  121. data/locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  122. data/locale/zh_CN/foreman_virt_who_configure.edit.po +633 -0
  123. data/locale/zh_CN/foreman_virt_who_configure.po +0 -3
  124. data/locale/zh_CN/foreman_virt_who_configure.po.time_stamp +0 -0
  125. data/locale/zh_TW/foreman_virt_who_configure.edit.po +623 -0
  126. data/locale/zh_TW/foreman_virt_who_configure.po +0 -3
  127. data/locale/zh_TW/foreman_virt_who_configure.po.time_stamp +0 -0
  128. data/test/functional/api/v2/configs_controller_test.rb +21 -0
  129. data/test/unit/output_generator_test.rb +3 -3
  130. metadata +80 -7
@@ -57,8 +57,8 @@ module ForemanVirtWhoConfigure
57
57
 
58
58
  describe 'proxy attributes' do
59
59
  test 'it does not set any proxy attributes by default and set no_proxy to * to bypass sub-man proxy' do
60
- assert_nil config.http_proxy
61
- assert_nil config.no_proxy
60
+ config.http_proxy = nil
61
+ config.no_proxy = '*'
62
62
  assert_not_includes output, 'http_proxy'
63
63
  assert_includes output, 'no_proxy=*'
64
64
  end
@@ -86,7 +86,7 @@ module ForemanVirtWhoConfigure
86
86
  config.http_proxy = nil
87
87
  config.no_proxy = ''
88
88
  assert_not_includes generator.proxy_strings, 'http_proxy'
89
- assert_includes generator.proxy_strings, 'no_proxy=*'
89
+ assert_not_includes generator.proxy_strings, 'no_proxy=*'
90
90
  end
91
91
 
92
92
  test 'proxy_strings removes any new line chars' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_virt_who_configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.20
4
+ version: 0.5.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman virt-who-configure team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubocop
28
+ name: theforeman-rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.0.6
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,80 +156,153 @@ files:
156
156
  - lib/foreman_virt_who_configure/version.rb
157
157
  - lib/tasks/foreman_virt_who_configure_tasks.rake
158
158
  - locale/Makefile
159
+ - locale/action_names.rb
159
160
  - locale/bn/LC_MESSAGES/foreman_virt_who_configure.mo
161
+ - locale/bn/foreman_virt_who_configure.edit.po
160
162
  - locale/bn/foreman_virt_who_configure.po
163
+ - locale/bn/foreman_virt_who_configure.po.time_stamp
161
164
  - locale/bn_IN/LC_MESSAGES/foreman_virt_who_configure.mo
165
+ - locale/bn_IN/foreman_virt_who_configure.edit.po
162
166
  - locale/bn_IN/foreman_virt_who_configure.po
167
+ - locale/bn_IN/foreman_virt_who_configure.po.time_stamp
163
168
  - locale/ca/LC_MESSAGES/foreman_virt_who_configure.mo
169
+ - locale/ca/foreman_virt_who_configure.edit.po
164
170
  - locale/ca/foreman_virt_who_configure.po
171
+ - locale/ca/foreman_virt_who_configure.po.time_stamp
165
172
  - locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo
173
+ - locale/cs_CZ/foreman_virt_who_configure.edit.po
166
174
  - locale/cs_CZ/foreman_virt_who_configure.po
175
+ - locale/cs_CZ/foreman_virt_who_configure.po.time_stamp
167
176
  - locale/de/LC_MESSAGES/foreman_virt_who_configure.mo
177
+ - locale/de/foreman_virt_who_configure.edit.po
168
178
  - locale/de/foreman_virt_who_configure.po
179
+ - locale/de/foreman_virt_who_configure.po.time_stamp
169
180
  - locale/de_DE/LC_MESSAGES/foreman_virt_who_configure.mo
181
+ - locale/de_DE/foreman_virt_who_configure.edit.po
170
182
  - locale/de_DE/foreman_virt_who_configure.po
183
+ - locale/de_DE/foreman_virt_who_configure.po.time_stamp
171
184
  - locale/el/LC_MESSAGES/foreman_virt_who_configure.mo
185
+ - locale/el/foreman_virt_who_configure.edit.po
172
186
  - locale/el/foreman_virt_who_configure.po
187
+ - locale/el/foreman_virt_who_configure.po.time_stamp
173
188
  - locale/en/LC_MESSAGES/foreman_virt_who_configure.mo
189
+ - locale/en/foreman_virt_who_configure.edit.po
174
190
  - locale/en/foreman_virt_who_configure.po
191
+ - locale/en/foreman_virt_who_configure.po.time_stamp
175
192
  - locale/en_GB/LC_MESSAGES/foreman_virt_who_configure.mo
193
+ - locale/en_GB/foreman_virt_who_configure.edit.po
176
194
  - locale/en_GB/foreman_virt_who_configure.po
195
+ - locale/en_GB/foreman_virt_who_configure.po.time_stamp
177
196
  - locale/es/LC_MESSAGES/foreman_virt_who_configure.mo
197
+ - locale/es/foreman_virt_who_configure.edit.po
178
198
  - locale/es/foreman_virt_who_configure.po
199
+ - locale/es/foreman_virt_who_configure.po.time_stamp
179
200
  - locale/foreman_virt_who_configure.pot
180
201
  - locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo
202
+ - locale/fr/foreman_virt_who_configure.edit.po
181
203
  - locale/fr/foreman_virt_who_configure.po
204
+ - locale/fr/foreman_virt_who_configure.po.time_stamp
182
205
  - locale/gemspec.rb
183
206
  - locale/gl/LC_MESSAGES/foreman_virt_who_configure.mo
207
+ - locale/gl/foreman_virt_who_configure.edit.po
184
208
  - locale/gl/foreman_virt_who_configure.po
209
+ - locale/gl/foreman_virt_who_configure.po.time_stamp
185
210
  - locale/gu/LC_MESSAGES/foreman_virt_who_configure.mo
211
+ - locale/gu/foreman_virt_who_configure.edit.po
186
212
  - locale/gu/foreman_virt_who_configure.po
213
+ - locale/gu/foreman_virt_who_configure.po.time_stamp
187
214
  - locale/he_IL/LC_MESSAGES/foreman_virt_who_configure.mo
215
+ - locale/he_IL/foreman_virt_who_configure.edit.po
188
216
  - locale/he_IL/foreman_virt_who_configure.po
217
+ - locale/he_IL/foreman_virt_who_configure.po.time_stamp
189
218
  - locale/hi/LC_MESSAGES/foreman_virt_who_configure.mo
219
+ - locale/hi/foreman_virt_who_configure.edit.po
190
220
  - locale/hi/foreman_virt_who_configure.po
221
+ - locale/hi/foreman_virt_who_configure.po.time_stamp
191
222
  - locale/it/LC_MESSAGES/foreman_virt_who_configure.mo
223
+ - locale/it/foreman_virt_who_configure.edit.po
192
224
  - locale/it/foreman_virt_who_configure.po
225
+ - locale/it/foreman_virt_who_configure.po.time_stamp
193
226
  - locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo
227
+ - locale/ja/foreman_virt_who_configure.edit.po
194
228
  - locale/ja/foreman_virt_who_configure.po
229
+ - locale/ja/foreman_virt_who_configure.po.time_stamp
195
230
  - locale/ka/LC_MESSAGES/foreman_virt_who_configure.mo
231
+ - locale/ka/foreman_virt_who_configure.edit.po
196
232
  - locale/ka/foreman_virt_who_configure.po
233
+ - locale/ka/foreman_virt_who_configure.po.time_stamp
197
234
  - locale/kn/LC_MESSAGES/foreman_virt_who_configure.mo
235
+ - locale/kn/foreman_virt_who_configure.edit.po
198
236
  - locale/kn/foreman_virt_who_configure.po
237
+ - locale/kn/foreman_virt_who_configure.po.time_stamp
199
238
  - locale/ko/LC_MESSAGES/foreman_virt_who_configure.mo
239
+ - locale/ko/foreman_virt_who_configure.edit.po
200
240
  - locale/ko/foreman_virt_who_configure.po
241
+ - locale/ko/foreman_virt_who_configure.po.time_stamp
201
242
  - locale/mr/LC_MESSAGES/foreman_virt_who_configure.mo
243
+ - locale/mr/foreman_virt_who_configure.edit.po
202
244
  - locale/mr/foreman_virt_who_configure.po
245
+ - locale/mr/foreman_virt_who_configure.po.time_stamp
203
246
  - locale/nl_NL/LC_MESSAGES/foreman_virt_who_configure.mo
247
+ - locale/nl_NL/foreman_virt_who_configure.edit.po
204
248
  - locale/nl_NL/foreman_virt_who_configure.po
249
+ - locale/nl_NL/foreman_virt_who_configure.po.time_stamp
205
250
  - locale/or/LC_MESSAGES/foreman_virt_who_configure.mo
251
+ - locale/or/foreman_virt_who_configure.edit.po
206
252
  - locale/or/foreman_virt_who_configure.po
253
+ - locale/or/foreman_virt_who_configure.po.time_stamp
207
254
  - locale/pa/LC_MESSAGES/foreman_virt_who_configure.mo
255
+ - locale/pa/foreman_virt_who_configure.edit.po
208
256
  - locale/pa/foreman_virt_who_configure.po
257
+ - locale/pa/foreman_virt_who_configure.po.time_stamp
209
258
  - locale/pl/LC_MESSAGES/foreman_virt_who_configure.mo
259
+ - locale/pl/foreman_virt_who_configure.edit.po
210
260
  - locale/pl/foreman_virt_who_configure.po
261
+ - locale/pl/foreman_virt_who_configure.po.time_stamp
211
262
  - locale/pt/LC_MESSAGES/foreman_virt_who_configure.mo
263
+ - locale/pt/foreman_virt_who_configure.edit.po
212
264
  - locale/pt/foreman_virt_who_configure.po
265
+ - locale/pt/foreman_virt_who_configure.po.time_stamp
213
266
  - locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo
267
+ - locale/pt_BR/foreman_virt_who_configure.edit.po
214
268
  - locale/pt_BR/foreman_virt_who_configure.po
269
+ - locale/pt_BR/foreman_virt_who_configure.po.time_stamp
215
270
  - locale/ru/LC_MESSAGES/foreman_virt_who_configure.mo
271
+ - locale/ru/foreman_virt_who_configure.edit.po
216
272
  - locale/ru/foreman_virt_who_configure.po
273
+ - locale/ru/foreman_virt_who_configure.po.time_stamp
217
274
  - locale/sl/LC_MESSAGES/foreman_virt_who_configure.mo
275
+ - locale/sl/foreman_virt_who_configure.edit.po
218
276
  - locale/sl/foreman_virt_who_configure.po
277
+ - locale/sl/foreman_virt_who_configure.po.time_stamp
219
278
  - locale/sv_SE/LC_MESSAGES/foreman_virt_who_configure.mo
279
+ - locale/sv_SE/foreman_virt_who_configure.edit.po
220
280
  - locale/sv_SE/foreman_virt_who_configure.po
281
+ - locale/sv_SE/foreman_virt_who_configure.po.time_stamp
221
282
  - locale/ta/LC_MESSAGES/foreman_virt_who_configure.mo
283
+ - locale/ta/foreman_virt_who_configure.edit.po
222
284
  - locale/ta/foreman_virt_who_configure.po
285
+ - locale/ta/foreman_virt_who_configure.po.time_stamp
223
286
  - locale/ta_IN/LC_MESSAGES/foreman_virt_who_configure.mo
287
+ - locale/ta_IN/foreman_virt_who_configure.edit.po
224
288
  - locale/ta_IN/foreman_virt_who_configure.po
289
+ - locale/ta_IN/foreman_virt_who_configure.po.time_stamp
225
290
  - locale/te/LC_MESSAGES/foreman_virt_who_configure.mo
291
+ - locale/te/foreman_virt_who_configure.edit.po
226
292
  - locale/te/foreman_virt_who_configure.po
293
+ - locale/te/foreman_virt_who_configure.po.time_stamp
227
294
  - locale/tr/LC_MESSAGES/foreman_virt_who_configure.mo
295
+ - locale/tr/foreman_virt_who_configure.edit.po
228
296
  - locale/tr/foreman_virt_who_configure.po
297
+ - locale/tr/foreman_virt_who_configure.po.time_stamp
229
298
  - locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo
299
+ - locale/zh_CN/foreman_virt_who_configure.edit.po
230
300
  - locale/zh_CN/foreman_virt_who_configure.po
301
+ - locale/zh_CN/foreman_virt_who_configure.po.time_stamp
231
302
  - locale/zh_TW/LC_MESSAGES/foreman_virt_who_configure.mo
303
+ - locale/zh_TW/foreman_virt_who_configure.edit.po
232
304
  - locale/zh_TW/foreman_virt_who_configure.po
305
+ - locale/zh_TW/foreman_virt_who_configure.po.time_stamp
233
306
  - test/factories/foreman_virt_who_configure_factories.rb
234
307
  - test/functional/api/v2/configs_controller_test.rb
235
308
  - test/test_plugin_helper.rb