foreman_virt_who_configure 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb +1 -1
  3. data/app/helpers/foreman_virt_who_configure/configs_helper.rb +1 -3
  4. data/app/models/foreman_virt_who_configure/config.rb +0 -3
  5. data/app/models/foreman_virt_who_configure/output_generator.rb +15 -13
  6. data/app/views/foreman_virt_who_configure/configs/show.html.erb +2 -2
  7. data/app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb +2 -2
  8. data/db/migrate/20210608100743_delete_rhevm_profiles.rb +5 -0
  9. data/lib/foreman_virt_who_configure/version.rb +1 -1
  10. data/locale/action_names.rb +36 -26
  11. data/locale/ca/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  12. data/locale/ca/foreman_virt_who_configure.po +647 -0
  13. data/locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  14. data/locale/cs_CZ/foreman_virt_who_configure.po +653 -0
  15. data/locale/de/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  16. data/locale/de/foreman_virt_who_configure.po +657 -0
  17. data/locale/en/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  18. data/locale/en/foreman_virt_who_configure.po +56 -47
  19. data/locale/en_GB/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  20. data/locale/en_GB/foreman_virt_who_configure.po +650 -0
  21. data/locale/es/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  22. data/locale/es/foreman_virt_who_configure.po +653 -0
  23. data/locale/foreman_virt_who_configure.pot +170 -165
  24. data/locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  25. data/locale/fr/foreman_virt_who_configure.po +651 -0
  26. data/locale/gl/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  27. data/locale/gl/foreman_virt_who_configure.po +649 -0
  28. data/locale/it/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  29. data/locale/it/foreman_virt_who_configure.po +652 -0
  30. data/locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  31. data/locale/ja/foreman_virt_who_configure.po +651 -0
  32. data/locale/ko/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  33. data/locale/ko/foreman_virt_who_configure.po +650 -0
  34. data/locale/nl_NL/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  35. data/locale/nl_NL/foreman_virt_who_configure.po +653 -0
  36. data/locale/pl/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  37. data/locale/pl/foreman_virt_who_configure.po +652 -0
  38. data/locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  39. data/locale/pt_BR/foreman_virt_who_configure.po +652 -0
  40. data/locale/ru/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  41. data/locale/ru/foreman_virt_who_configure.po +654 -0
  42. data/locale/sv_SE/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  43. data/locale/sv_SE/foreman_virt_who_configure.po +651 -0
  44. data/locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  45. data/locale/zh_CN/foreman_virt_who_configure.po +654 -0
  46. data/locale/zh_TW/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  47. data/locale/zh_TW/foreman_virt_who_configure.po +651 -0
  48. data/test/unit/output_generator_test.rb +5 -5
  49. metadata +41 -6
@@ -60,7 +60,7 @@ module ForemanVirtWhoConfigure
60
60
  assert_nil config.http_proxy
61
61
  assert_nil config.no_proxy
62
62
  assert_not_includes output, 'http_proxy'
63
- assert_includes output, 'NO_PROXY=*'
63
+ assert_includes output, 'no_proxy=*'
64
64
  end
65
65
 
66
66
  test 'it configures proxy when set' do
@@ -71,7 +71,7 @@ module ForemanVirtWhoConfigure
71
71
 
72
72
  test 'it configures no_proxy when set' do
73
73
  config.no_proxy = '*'
74
- assert_includes output, 'NO_PROXY=*'
74
+ assert_includes output, 'no_proxy=*'
75
75
  end
76
76
 
77
77
  test 'proxy_strings prints both proxy and no proxy if present' do
@@ -79,19 +79,19 @@ module ForemanVirtWhoConfigure
79
79
  config.http_proxy = http_proxy
80
80
  config.no_proxy = 'b'
81
81
  assert_includes generator.proxy_strings, "\nhttp_proxy=http://test.com"
82
- assert_includes generator.proxy_strings, "\NO_PROXY=b"
82
+ assert_includes generator.proxy_strings, "\nno_proxy=b"
83
83
  end
84
84
 
85
85
  test 'proxy_strings ignores empty string values' do
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_includes generator.proxy_strings, 'no_proxy=*'
90
90
  end
91
91
 
92
92
  test 'proxy_strings removes any new line chars' do
93
93
  config.no_proxy = "\nx\ny\nz"
94
- assert_includes generator.proxy_strings, "\NO_PROXY=xyz"
94
+ assert_includes generator.proxy_strings, "\nno_proxy=xyz"
95
95
  end
96
96
 
97
97
  test 'it configures https proxy when https proxy is set' 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.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman virt-who-configure team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-10 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -110,16 +110,51 @@ files:
110
110
  - db/migrate/20200728054557_refer_config_proxy_to_http_proxy.rb
111
111
  - db/migrate/20201211160234_add_foreign_key_proxy_id.rb
112
112
  - db/migrate/20210413165147_delete_xen_profiles.rb
113
+ - db/migrate/20210608100743_delete_rhevm_profiles.rb
113
114
  - lib/foreman_virt_who_configure.rb
114
115
  - lib/foreman_virt_who_configure/engine.rb
115
116
  - lib/foreman_virt_who_configure/version.rb
116
117
  - lib/tasks/foreman_virt_who_configure_tasks.rake
117
118
  - locale/Makefile
118
119
  - locale/action_names.rb
120
+ - locale/ca/LC_MESSAGES/foreman_virt_who_configure.mo
121
+ - locale/ca/foreman_virt_who_configure.po
122
+ - locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo
123
+ - locale/cs_CZ/foreman_virt_who_configure.po
124
+ - locale/de/LC_MESSAGES/foreman_virt_who_configure.mo
125
+ - locale/de/foreman_virt_who_configure.po
119
126
  - locale/en/LC_MESSAGES/foreman_virt_who_configure.mo
120
127
  - locale/en/foreman_virt_who_configure.po
128
+ - locale/en_GB/LC_MESSAGES/foreman_virt_who_configure.mo
129
+ - locale/en_GB/foreman_virt_who_configure.po
130
+ - locale/es/LC_MESSAGES/foreman_virt_who_configure.mo
131
+ - locale/es/foreman_virt_who_configure.po
121
132
  - locale/foreman_virt_who_configure.pot
133
+ - locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo
134
+ - locale/fr/foreman_virt_who_configure.po
122
135
  - locale/gemspec.rb
136
+ - locale/gl/LC_MESSAGES/foreman_virt_who_configure.mo
137
+ - locale/gl/foreman_virt_who_configure.po
138
+ - locale/it/LC_MESSAGES/foreman_virt_who_configure.mo
139
+ - locale/it/foreman_virt_who_configure.po
140
+ - locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo
141
+ - locale/ja/foreman_virt_who_configure.po
142
+ - locale/ko/LC_MESSAGES/foreman_virt_who_configure.mo
143
+ - locale/ko/foreman_virt_who_configure.po
144
+ - locale/nl_NL/LC_MESSAGES/foreman_virt_who_configure.mo
145
+ - locale/nl_NL/foreman_virt_who_configure.po
146
+ - locale/pl/LC_MESSAGES/foreman_virt_who_configure.mo
147
+ - locale/pl/foreman_virt_who_configure.po
148
+ - locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo
149
+ - locale/pt_BR/foreman_virt_who_configure.po
150
+ - locale/ru/LC_MESSAGES/foreman_virt_who_configure.mo
151
+ - locale/ru/foreman_virt_who_configure.po
152
+ - locale/sv_SE/LC_MESSAGES/foreman_virt_who_configure.mo
153
+ - locale/sv_SE/foreman_virt_who_configure.po
154
+ - locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo
155
+ - locale/zh_CN/foreman_virt_who_configure.po
156
+ - locale/zh_TW/LC_MESSAGES/foreman_virt_who_configure.mo
157
+ - locale/zh_TW/foreman_virt_who_configure.po
123
158
  - test/factories/foreman_virt_who_configure_factories.rb
124
159
  - test/functional/api/v2/configs_controller_test.rb
125
160
  - test/test_plugin_helper.rb
@@ -130,7 +165,7 @@ homepage: https://github.com/theforeman/foreman_virt_who_configure
130
165
  licenses:
131
166
  - GPLv3
132
167
  metadata: {}
133
- post_install_message:
168
+ post_install_message:
134
169
  rdoc_options: []
135
170
  require_paths:
136
171
  - lib
@@ -145,8 +180,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
180
  - !ruby/object:Gem::Version
146
181
  version: '0'
147
182
  requirements: []
148
- rubygems_version: 3.1.4
149
- signing_key:
183
+ rubygems_version: 3.1.6
184
+ signing_key:
150
185
  specification_version: 4
151
186
  summary: A plugin to make virt-who configuration easy
152
187
  test_files: