foreman_fog_proxmox 0.10.1 → 0.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f6ccfa5c56960acddaacf20dd5d89665ab7dfcc5479204fd9abd8e0a2af791e
4
- data.tar.gz: d5c61cfdaa156b8d6f323d98913a6ae76c57ed16a47613dd53319f12a5e09163
3
+ metadata.gz: 2a2aa0eb531e4580fc08dd5645fb2db4a4f1f2cbe22e9f8facee9428e1ca2d75
4
+ data.tar.gz: fcc524d8576edc27619cae0f08049e429bca3a936d5970e094dbd55ea28df8d7
5
5
  SHA512:
6
- metadata.gz: 0a051879d69327057c56c26a1c0301e0790079cf313ef78252067efc729959db7def39d44d051c9a0f7c4c32a0ccbac5cba979cb4029fabbd5d04b7e4d214c61
7
- data.tar.gz: c188de68693be5e1f8547cbf24e5c5f2d54ea88c221c5d25620d018aa3d1dd1ca9dff0581800debde179e0f3891951f54fd3a070467f4137be40af35d6396135
6
+ metadata.gz: b2faa03134097bbcf3923d768469b73b37c3fb0230cf75090306ed2dd40529282fab6518cc9558693b513310ea875d947ab1f8403cb9045b09a94b03b1f4a072
7
+ data.tar.gz: d9480dfad771621a8debce4575689a60ddb3328da49e3133e73005e28522514c538aecc592b1aa97b5b2a1734fe62f954ebedd8306fca4fda0af46448e07ab48
data/README.md CHANGED
@@ -29,6 +29,7 @@ You can support the plugin development via the following methods:
29
29
  |<0.9 |<6.0|=0.9|>=1.22|>=2.3|
30
30
  |>=0.9 |>=5.4|>=0.9.1|>=1.22|>=2.3|
31
31
  |>=0.10 |>=5.4|>=0.9.4|>=1.22|>=2.5|
32
+ |>=0.11 |>=5.4|>=0.10|>=1.22|>=2.5|
32
33
 
33
34
  ## Installation
34
35
 
@@ -103,14 +103,14 @@ function nodeSelected(item) {
103
103
  if (type == undefined) type = $("#compute_attribute_vm_attrs_type").val();
104
104
  switch (type) {
105
105
  case 'qemu':
106
- updateOptions('isostorages', 'compute_attributes_config_attributes', 'cdrom_storage', 'compute_attributes_config_attributes', 'cdrom_iso', 'storage', node_id);
107
- updateOptions('storages', 'compute_attributes_volumes_attributes', 'storage', undefined, undefined, 'storage', node_id);
108
- updateOptions('bridges', 'interfaces_attributes', 'compute_attributes_bridge', undefined, undefined, 'iface', node_id);
106
+ updateOptions('isostorages', 'compute_attributes_config_attributes', 'cdrom_storage', 'compute_attributes_config_attributes', 'cdrom_iso', 'storage', node_id, undefined);
107
+ updateOptions('storages', 'compute_attributes_volumes_attributes', 'storage', undefined, undefined, 'storage', node_id, undefined);
108
+ updateOptions('bridges', 'interfaces_attributes', 'compute_attributes_bridge', undefined, undefined, 'iface', node_id, undefined);
109
109
  break;
110
110
  case 'lxc':
111
- updateOptions('ostemplates', 'compute_attributes_ostemplate', 'storage', 'compute_attributes_ostemplate', 'file', 'storage', node_id);
112
- updateOptions('storages', 'compute_attributes_volumes_attributes', 'storage', undefined, undefined, 'storage', node_id);
113
- updateOptions('bridges', 'interfaces_attributes', 'compute_attributes_bridge', undefined, undefined, 'iface', node_id);
111
+ updateOptions('ostemplates', 'compute_attributes_ostemplate', 'storage', 'compute_attributes_ostemplate', 'file', 'storage', node_id, undefined);
112
+ updateOptions('storages', 'compute_attributes_volumes_attributes', 'storage', undefined, undefined, 'storage', node_id, undefined);
113
+ updateOptions('bridges', 'interfaces_attributes', 'compute_attributes_bridge', undefined, undefined, 'iface', node_id, undefined);
114
114
  break;
115
115
  default:
116
116
  console.log("unkown type=" + type);
@@ -149,7 +149,7 @@ function selectIds(start_options_id, end_options_id){
149
149
  return [select_host_id, select_profile_id];
150
150
  }
151
151
 
152
- function updateOptions(options_path, start_options_id, end_options_id, start_second_options_id, end_second_options_id, option_id, node_id, second_id = undefined) {
152
+ function updateOptions(options_path, start_options_id, end_options_id, start_second_options_id, end_second_options_id, option_id, node_id, second_id) {
153
153
 
154
154
  var select_ids = selectIds(start_options_id, end_options_id);
155
155
  var select_second_ids;
@@ -18,5 +18,5 @@
18
18
  # along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module ForemanFogProxmox
21
- VERSION = '0.10.1'
21
+ VERSION = '0.10.2'
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_fog_proxmox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Robert
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-11 00:00:00.000000000 Z
12
+ date: 2020-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: deface
@@ -29,16 +29,16 @@ dependencies:
29
29
  name: fog-proxmox
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0.10'
34
+ version: '0.11'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.10'
41
+ version: '0.11'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rdoc
44
44
  requirement: !ruby/object:Gem::Requirement