foreman_kubevirt 0.1.7 → 0.1.8

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_kubevirt/concerns/api/compute_resources_controller_extensions.rb +9 -9
  3. data/app/models/foreman_kubevirt/kubevirt.rb +13 -16
  4. data/app/validators/volume_validator.rb +2 -2
  5. data/lib/foreman_kubevirt/version.rb +1 -1
  6. data/locale/action_names.rb +5 -0
  7. data/locale/ca/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  8. data/locale/ca/foreman_kubevirt.po +170 -0
  9. data/locale/cs_CZ/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  10. data/locale/cs_CZ/foreman_kubevirt.po +170 -0
  11. data/locale/de/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  12. data/locale/de/foreman_kubevirt.po +170 -0
  13. data/locale/en/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  14. data/locale/en/foreman_kubevirt.edit.po +219 -0
  15. data/locale/en/foreman_kubevirt.po +162 -11
  16. data/locale/en/foreman_kubevirt.po.time_stamp +0 -0
  17. data/locale/en_GB/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  18. data/locale/en_GB/foreman_kubevirt.po +170 -0
  19. data/locale/es/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  20. data/locale/es/foreman_kubevirt.po +170 -0
  21. data/locale/foreman_kubevirt.pot +232 -8
  22. data/locale/fr/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  23. data/locale/fr/foreman_kubevirt.po +170 -0
  24. data/locale/gemspec.rb +1 -1
  25. data/locale/gl/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  26. data/locale/gl/foreman_kubevirt.po +170 -0
  27. data/locale/it/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  28. data/locale/it/foreman_kubevirt.po +170 -0
  29. data/locale/ja/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  30. data/locale/ja/foreman_kubevirt.po +170 -0
  31. data/locale/ko/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  32. data/locale/ko/foreman_kubevirt.po +170 -0
  33. data/locale/nl_NL/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  34. data/locale/nl_NL/foreman_kubevirt.po +177 -0
  35. data/locale/pl/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  36. data/locale/pl/foreman_kubevirt.po +176 -0
  37. data/locale/pt_BR/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  38. data/locale/pt_BR/foreman_kubevirt.po +178 -0
  39. data/locale/ru/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  40. data/locale/ru/foreman_kubevirt.po +180 -0
  41. data/locale/sv_SE/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  42. data/locale/sv_SE/foreman_kubevirt.po +176 -0
  43. data/locale/zh_CN/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  44. data/locale/zh_CN/foreman_kubevirt.po +177 -0
  45. data/locale/zh_TW/LC_MESSAGES/foreman_kubevirt.mo +0 -0
  46. data/locale/zh_TW/foreman_kubevirt.po +175 -0
  47. data/test/models/compute_resources/kubevirt_test.rb +1 -1
  48. data/test/unit/foreman_kubevirt_test.rb +0 -2
  49. metadata +43 -5
@@ -64,7 +64,7 @@ class ForemanKubevirtTest < ActiveSupport::TestCase
64
64
  client.stubs(:valid?).returns(true)
65
65
  record = new_kubevirt_vcr
66
66
  record.stubs(:client).returns(client)
67
- assert_equal false, record.test_connection
67
+ assert_not record.test_connection
68
68
  end
69
69
 
70
70
  test "Verify client raises StandardError exception" do
@@ -129,7 +129,6 @@ class ForemanKubevirtTest < ActiveSupport::TestCase
129
129
  assert_match(/Volume size is not valid/, exception.message)
130
130
  end
131
131
 
132
-
133
132
  test "should fail when creating a VM with not valid capacity" do
134
133
  vm_args = NETWORK_BASED_VM_ARGS.deep_dup
135
134
  vm_args["volumes_attributes"]["0"]["capacity"] = "TG"
@@ -141,7 +140,6 @@ class ForemanKubevirtTest < ActiveSupport::TestCase
141
140
  assert_match(/Volume size TG is not valid/, exception.message)
142
141
  end
143
142
 
144
-
145
143
  test "should fail when creating a VM with two bootable PVCs" do
146
144
  vm_args = NETWORK_BASED_VM_ARGS.deep_dup
147
145
  vm_args["volumes_attributes"]["0"]["bootable"] = "true"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_kubevirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moti Asayag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.64'
33
+ version: 0.80.0
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.64'
40
+ version: 0.80.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fog-kubevirt
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -88,9 +88,47 @@ files:
88
88
  - lib/foreman_kubevirt/version.rb
89
89
  - lib/tasks/foreman_kubevirt_tasks.rake
90
90
  - locale/Makefile
91
+ - locale/action_names.rb
92
+ - locale/ca/LC_MESSAGES/foreman_kubevirt.mo
93
+ - locale/ca/foreman_kubevirt.po
94
+ - locale/cs_CZ/LC_MESSAGES/foreman_kubevirt.mo
95
+ - locale/cs_CZ/foreman_kubevirt.po
96
+ - locale/de/LC_MESSAGES/foreman_kubevirt.mo
97
+ - locale/de/foreman_kubevirt.po
98
+ - locale/en/LC_MESSAGES/foreman_kubevirt.mo
99
+ - locale/en/foreman_kubevirt.edit.po
91
100
  - locale/en/foreman_kubevirt.po
101
+ - locale/en/foreman_kubevirt.po.time_stamp
102
+ - locale/en_GB/LC_MESSAGES/foreman_kubevirt.mo
103
+ - locale/en_GB/foreman_kubevirt.po
104
+ - locale/es/LC_MESSAGES/foreman_kubevirt.mo
105
+ - locale/es/foreman_kubevirt.po
92
106
  - locale/foreman_kubevirt.pot
107
+ - locale/fr/LC_MESSAGES/foreman_kubevirt.mo
108
+ - locale/fr/foreman_kubevirt.po
93
109
  - locale/gemspec.rb
110
+ - locale/gl/LC_MESSAGES/foreman_kubevirt.mo
111
+ - locale/gl/foreman_kubevirt.po
112
+ - locale/it/LC_MESSAGES/foreman_kubevirt.mo
113
+ - locale/it/foreman_kubevirt.po
114
+ - locale/ja/LC_MESSAGES/foreman_kubevirt.mo
115
+ - locale/ja/foreman_kubevirt.po
116
+ - locale/ko/LC_MESSAGES/foreman_kubevirt.mo
117
+ - locale/ko/foreman_kubevirt.po
118
+ - locale/nl_NL/LC_MESSAGES/foreman_kubevirt.mo
119
+ - locale/nl_NL/foreman_kubevirt.po
120
+ - locale/pl/LC_MESSAGES/foreman_kubevirt.mo
121
+ - locale/pl/foreman_kubevirt.po
122
+ - locale/pt_BR/LC_MESSAGES/foreman_kubevirt.mo
123
+ - locale/pt_BR/foreman_kubevirt.po
124
+ - locale/ru/LC_MESSAGES/foreman_kubevirt.mo
125
+ - locale/ru/foreman_kubevirt.po
126
+ - locale/sv_SE/LC_MESSAGES/foreman_kubevirt.mo
127
+ - locale/sv_SE/foreman_kubevirt.po
128
+ - locale/zh_CN/LC_MESSAGES/foreman_kubevirt.mo
129
+ - locale/zh_CN/foreman_kubevirt.po
130
+ - locale/zh_TW/LC_MESSAGES/foreman_kubevirt.mo
131
+ - locale/zh_TW/foreman_kubevirt.po
94
132
  - test/factories/compute_resource_factories.rb
95
133
  - test/factories/host_factories.rb
96
134
  - test/factories/nic_factories.rb
@@ -116,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
154
  - !ruby/object:Gem::Version
117
155
  version: '0'
118
156
  requirements: []
119
- rubygems_version: 3.0.3
157
+ rubygems_version: 3.0.8
120
158
  signing_key:
121
159
  specification_version: 4
122
160
  summary: Provision and manage Kubevirt Virtual Machines from Foreman