foreman_hooks 0.3.16 → 0.3.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_hooks/as_dependencies_hook.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ada8bb38440801209fabcb38b2bea702e6364f0e9cdd0bb8e074060b3c46450a
|
4
|
+
data.tar.gz: ca37f997197dde8d000ce21d4ebd0bb938803cb7a3ff46dd2a8ee335634e396a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da94d17eff07e19d3f02014a007f01aa5d33e113417eae10f3fcfb01edb7bb90a6d9e6f5f59ac7a8547b26b4aa1b875c7f02b4cac98c426dd44aaa47519f7dc
|
7
|
+
data.tar.gz: b97ee982a4ac00618bad1a832e48c69981bdbbafaaa806b97f1d891fcbfbb644ee04377696a77fa146eaf3935c41e0b0054eba3dae321352e951b93ae8de475a
|
@@ -2,6 +2,7 @@ module ForemanHooks
|
|
2
2
|
module ASDependenciesHook
|
3
3
|
def load_missing_constant(from_mod, constant_name)
|
4
4
|
super(from_mod, constant_name).tap do |ret|
|
5
|
+
return ret unless ret.try(:name)
|
5
6
|
ForemanHooks.hooks.each do |klass,events|
|
6
7
|
ForemanHooks.attach_hook(ret, events) if ret.name == klass
|
7
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Plugin engine for Foreman that enables running custom hook scripts on
|
14
14
|
Foreman events
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
|
-
rubygems_version: 3.
|
60
|
+
rubygems_version: 3.1.2
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Run custom hook scripts on Foreman events
|