foreman_remote_execution 2.0.7 → 2.0.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.
- checksums.yaml +4 -4
- data/app/models/foreign_input_set.rb +1 -1
- data/lib/foreman_remote_execution/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 708365a5d46e58a2f36973f15a985b26dfea90deb4b9de04ad0accfb6e1e1e78
|
|
4
|
+
data.tar.gz: 850ef8a43db1392e926202875a780d3809b40694224c14f5f93989ec77689657
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c97366c26a7ae354f3ecf0b6b3dd6b9c65f0cc95d7fe933d37e7c865e228d5c413faf6fed2ecbe2c231a2a71fd7f93d7ed8777e9e37220dbc87f5789d2b8e44
|
|
7
|
+
data.tar.gz: 7573adeacc91b38f11377f1e537d52d35ec2f0a8a0a8a71d9438f6d5e47978282979486ca09511292a271c043ada0aa7f8e89952320ebc5e5959c86a2156c521
|
|
@@ -16,7 +16,7 @@ class ForeignInputSet < ApplicationRecord
|
|
|
16
16
|
|
|
17
17
|
def inputs(templates_stack = [])
|
|
18
18
|
return [] unless target_template
|
|
19
|
-
if templates_stack.include?(target_template)
|
|
19
|
+
if templates_stack.include?(target_template) || template&.id == target_template&.id
|
|
20
20
|
raise CircularDependencyError.new(N_("Circular dependency detected in foreign input set '%{template}' -> '%{target_template}'. Templates stack: %{templates_stack}"),
|
|
21
21
|
:template => template.name, :target_template => target_template.name, :templates_stack => templates_stack.map(&:name).inspect)
|
|
22
22
|
end
|
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.8
|
|
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-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|