execution_deadline 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/execution_deadline/helpers.rb +5 -2
- data/lib/execution_deadline/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: 26752e57bfd495b67049f6e31c7a5e22c7328d725a9e3495bc386a83245fd048
|
4
|
+
data.tar.gz: 2935a78236bbc642be49b0d25762683de050d894899e94ea15ff6808d83caa85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b46c4316e81573501116f7f66a82a95fef09d9461b147b10adf1804954f197f9f343b7a3d157cc63f25e2b1b6406f3d4cabfa863204acef449fd904e8bb8bf47
|
7
|
+
data.tar.gz: ba245b71d80da4eb4cb47e91f70b4973af7cd681053cc3887cb7e321e005d2b81d0cd60ef357126e75c93143e1fbfd7d5305730eb9033d67a5f8a7050fe04dc6
|
@@ -22,8 +22,6 @@ module ExecutionDeadline
|
|
22
22
|
ExecutionDeadline::MethodProxy
|
23
23
|
.for_class(self)
|
24
24
|
.wrap_implementation(method_name, _fetch_and_reset_deadline_config)
|
25
|
-
|
26
|
-
super
|
27
25
|
end
|
28
26
|
|
29
27
|
def singleton_method_added(method_name)
|
@@ -36,6 +34,11 @@ module ExecutionDeadline
|
|
36
34
|
.wrap_implementation(method_name, _fetch_and_reset_deadline_config)
|
37
35
|
end
|
38
36
|
|
37
|
+
def self.extended(mod)
|
38
|
+
ExecutionDeadline::MethodProxy.for_class(mod.singleton_class)
|
39
|
+
ExecutionDeadline::MethodProxy.for_class(mod)
|
40
|
+
end
|
41
|
+
|
39
42
|
private
|
40
43
|
|
41
44
|
def _has_deadline_config?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: execution_deadline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Malinconico
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|