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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 982f5c8deaa2d7dd9cfec996423887315caeeda3e3933ef0ec0eb8bfdce7676f
4
- data.tar.gz: c2b2e6b4d63b8ad17c6ddf06fec10c791db4f883f7a4befef14ea738e6dacc74
3
+ metadata.gz: 26752e57bfd495b67049f6e31c7a5e22c7328d725a9e3495bc386a83245fd048
4
+ data.tar.gz: 2935a78236bbc642be49b0d25762683de050d894899e94ea15ff6808d83caa85
5
5
  SHA512:
6
- metadata.gz: 541f8a0246f5ede73be6ffb85b20c3787e983a5e22f5b96eafd91b939184bd00e032f2150d37208c281e8cc090c2de2b1ba43d8503c71f75387b1b99915816b8
7
- data.tar.gz: 3a73e2da652259b95eae09ceaa393dfa3167f1123cd86a23d1cd757b6dc613d64a115ca92facbfc7b2edff73a637d4fd60ebd13fa9d2ae5d0977d4a80d3d6640
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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExecutionDeadline
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler