execution_deadline 0.3.0 → 0.3.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: 7ce574cf89fbb0b9cf89f8fc2df628aa171e89eef75b85f4e3ef5e3fcc5a8cd5
4
- data.tar.gz: b1d29c6a81aae730323444e6a302262239d72df16652fd2a592a4f3ea99f1662
3
+ metadata.gz: d64cb733681e5a097d905f1f7845c33df7c1d4ed224f8a44324a88c7d0a98cd6
4
+ data.tar.gz: cf828d68f51b56c8d8cef95266125a9da7410ce01ebbc3d6b4f594a9e58f143b
5
5
  SHA512:
6
- metadata.gz: 5a1ea9cc41b1c35c2f72e7cdd2e467b6e3adb9cce912e118f214f4bbf8592bbea623a711440566bcee4a786418476df19f6513473074f0d2f3b536f9a2c78211
7
- data.tar.gz: 6bb2ccd7d1d27195ed3782074a2f42872777776e26c50d2423362741626740c27f42c5d9fe298b159166c18f542f95ba122385533cd45cf9401026e86f82986b
6
+ metadata.gz: 2ae63af9a002a4762ab1d11fdf0e3aaca5fabff4a9a08f58388e0760b690f5561b25431b7773a4468a63587c12db2ff0304f25f1e73cd2e7747838ee0a31e77c
7
+ data.tar.gz: a6fafb42f99d7c58b50da13c49f05091c75a1303281169fcf1441a5ede72bc80fc7038082045090f1eb12ec523fdaf77f734f82636082cf82e6c6d37743f91e5
@@ -17,7 +17,7 @@ module ExecutionDeadline
17
17
  else
18
18
  Timeout.timeout(current_deadline&.time_left) do
19
19
  super(*args, **kwargs, &blk)
20
- rescue => Timeout::Error
20
+ rescue Timeout::Error
21
21
  end
22
22
  end
23
23
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExecutionDeadline
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.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.3.0
4
+ version: 0.3.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-05-15 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler