foreman_fog_proxmox 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of foreman_fog_proxmox might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d5a92b97ae63b9983d1e09d466c72be641abac13618416b3f9f9bc4adf9fe59
4
- data.tar.gz: 44d499507243f4f78910adfdfd566e4fff153dd8b3b4783be1727d905fb9633b
3
+ metadata.gz: 9f6ccfa5c56960acddaacf20dd5d89665ab7dfcc5479204fd9abd8e0a2af791e
4
+ data.tar.gz: d5c61cfdaa156b8d6f323d98913a6ae76c57ed16a47613dd53319f12a5e09163
5
5
  SHA512:
6
- metadata.gz: 61df6f0b8aa1caba1c31ad6c696093f3d92d8900d32e01985a671372b8f3503ee3d3752fd930b7a518dc2cd9a1b6eb56d92255fa5c19ff27eff049c2bfef6ff9
7
- data.tar.gz: acac445ca9f9ee687c440707da9fab8e26e35afc455b29a14f325bcc5a42768f263edb5f6def86eb24acfa583658a5cd70729c40e3f86d5f9c740ec3f4555c4e
6
+ metadata.gz: 0a051879d69327057c56c26a1c0301e0790079cf313ef78252067efc729959db7def39d44d051c9a0f7c4c32a0ccbac5cba979cb4029fabbd5d04b7e4d214c61
7
+ data.tar.gz: c188de68693be5e1f8547cbf24e5c5f2d54ea88c221c5d25620d018aa3d1dd1ca9dff0581800debde179e0f3891951f54fd3a070467f4137be40af35d6396135
@@ -139,9 +139,9 @@ function updateOption(select_id, option, option_id){
139
139
  }
140
140
 
141
141
  function selectIds(start_options_id, end_options_id){
142
- let select_host_id = 'select[id^=host_' + start_options_id + ']';
143
- let compute_attributes_regex = /compute_attributes_/gi;
144
- let select_profile_id = 'select[id^=compute_attribute_vm_attrs_' + start_options_id.replace(compute_attributes_regex, '') + ']';
142
+ var select_host_id = 'select[id^=host_' + start_options_id + ']';
143
+ var compute_attributes_regex = /compute_attributes_/gi;
144
+ var select_profile_id = 'select[id^=compute_attribute_vm_attrs_' + start_options_id.replace(compute_attributes_regex, '') + ']';
145
145
  if (end_options_id != undefined) {
146
146
  select_host_id += '[id$=' + end_options_id + ']';
147
147
  select_profile_id += '[id$=' + end_options_id.replace(compute_attributes_regex, '') + ']';
@@ -151,8 +151,8 @@ function selectIds(start_options_id, end_options_id){
151
151
 
152
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) {
153
153
 
154
- let select_ids = selectIds(start_options_id, end_options_id);
155
- let select_second_ids;
154
+ var select_ids = selectIds(start_options_id, end_options_id);
155
+ var select_second_ids;
156
156
  if ( start_second_options_id != undefined && end_second_options_id != undefined) {
157
157
  select_second_ids = selectIds(start_second_options_id, end_second_options_id);
158
158
  }
@@ -173,7 +173,7 @@ function updateOptions(options_path, start_options_id, end_options_id, start_sec
173
173
  initOptions(select_second_ids);
174
174
  }
175
175
  $.each(options, function(i,option){
176
- for (let j = 0; j < select_ids.length; j++) {
176
+ for (var j = 0; j < select_ids.length; j++) {
177
177
  updateOption(select_ids[j], option, option_id);
178
178
  }
179
179
  });
@@ -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.0'
21
+ VERSION = '0.10.1'
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.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Robert