foreman_remote_execution 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe8a303a493e8d99bf73c055991f4ffb6c3e4fafaaf88580f24f3ef824a04da0
4
- data.tar.gz: bf62576f589376f90a4036b6005e090d3d4cd03f598d82ff68c99a22a39892b9
3
+ metadata.gz: 708365a5d46e58a2f36973f15a985b26dfea90deb4b9de04ad0accfb6e1e1e78
4
+ data.tar.gz: 850ef8a43db1392e926202875a780d3809b40694224c14f5f93989ec77689657
5
5
  SHA512:
6
- metadata.gz: 3e44a9d6552271be4fabbf09e8aa0fcc83ba5618b490f9440aca7b4ccb00ba3fcaea397dabc52c49a3b0bd704bb5191874233328ad11218afec995b92c316441
7
- data.tar.gz: fe4a2f1c5bb002d79b986e2e21ed6b4d5a195f64e587ee954062c77ce8c892bfeaa8fe89bfc0a5ce6aa3029d3ef5c48f14b5f258c1fe9f76be8e526ab7949fdf
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
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '2.0.8'.freeze
3
3
  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.7
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-01-10 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface