foreman-tasks 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/foreman_tasks/lock.rb +2 -2
- data/lib/foreman_tasks/version.rb +1 -1
- metadata +2 -2
@@ -164,8 +164,8 @@ module ForemanTasks
|
|
164
164
|
# recursively search for related resources of the resource (using
|
165
165
|
# the +related_resources+ method, avoiding the cycles
|
166
166
|
def related_resources(resource)
|
167
|
-
if resource.respond_to?(:
|
168
|
-
return resource.
|
167
|
+
if resource.respond_to?(:all_related_resources)
|
168
|
+
return resource.all_related_resources
|
169
169
|
else
|
170
170
|
return []
|
171
171
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|