foreman_remote_execution 2.0.8 → 2.0.9
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fb50055a6efab356bce6d160b1765d79be7e39337ca3ebe124e24702dfd0990
|
|
4
|
+
data.tar.gz: 03e121a6d607ab4e9a3332785d52ba6bc3c100f9b112bd0945d9ab34c8bc5d7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74978d45b7a78c8b9244d2912e05cfc202012135a56775bad925b815574df9b0fcbb97ec0d707860451a9caecc14f29b54944b406ef931bcd5337326b48ca2e2
|
|
7
|
+
data.tar.gz: 73184dacb1a9702b0ba2d85ee8f4178e50273506ab82ed1e27ac4b4946362571e5379ef3525084cd2fd58b398e04ffd963b09eea13ee1f626b00a80dcb51f464
|
|
@@ -206,7 +206,9 @@ class JobInvocation < ApplicationRecord
|
|
|
206
206
|
template_invocation = pattern_template_invocations.first
|
|
207
207
|
hash_base = Hash.new { |hash, key| hash[key] = "%{#{key}}" }
|
|
208
208
|
input_hash = template_invocation.input_values.reduce(hash_base) do |h, v|
|
|
209
|
-
|
|
209
|
+
value = v.value
|
|
210
|
+
value = '*' * 3 if v.template_input.respond_to?(:hidden_value) && v.template_input.hidden_value?
|
|
211
|
+
h.update(v.template_input.name => value)
|
|
210
212
|
end
|
|
211
213
|
input_hash.update(:job_category => job_category)
|
|
212
214
|
input_hash.update(:template_name => template_invocation.template.name)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<p>
|
|
9
9
|
<ul>
|
|
10
10
|
<% template_invocation.input_values.joins(:template_input).each do |input_value| %>
|
|
11
|
-
<li><b><%= input_value.template_input.name %></b>: <%= trunc_with_tooltip(input_value.value, 255) %></li>
|
|
11
|
+
<li><b><%= input_value.template_input.name %></b>: <%= input_value.template_input.hidden_value ? '*' * 5 : trunc_with_tooltip(input_value.value, 255) %></li>
|
|
12
12
|
<% end %>
|
|
13
13
|
</ul>
|
|
14
14
|
</p>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<% template_invocation.input_values.joins(:template_input).each do |input_value| %>
|
|
13
13
|
<tr>
|
|
14
14
|
<td><b><%= input_value.template_input.name %></b></td>
|
|
15
|
-
<td><%= input_value.value %></td>
|
|
15
|
+
<td><%= input_value.template_input.hidden_value? ? '*' * 5 : input_value.value %></td>
|
|
16
16
|
</tr>
|
|
17
17
|
<% end %>
|
|
18
18
|
</tbody>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_remote_execution
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Foreman Remote Execution team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|