sidekiq-postpone 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 7fdf4493b88792bf5b591d993db17eccb48ab7fe
4
- data.tar.gz: da2de1a6c1b362a77107bd04bf5f38940f84bfaa
3
+ metadata.gz: e3cb2a3cb960cb9c435d3cbfd5940c4e098511d2
4
+ data.tar.gz: db19928e3eee8cf028922d63b3a2cb0e794ef8b4
5
5
  SHA512:
6
- metadata.gz: 2eb7a5a4c6bda21a99c6b59cea1ecd3e07e8b1c86dc22ffcd11c09b74cbacfc5c1c603b3d0b6cef544a3541c6dd88b125556117b84f5508f19a21415b8242a83
7
- data.tar.gz: 9830d0b2f83c0f3606d00d0ce7b7fa43c20179c5c4b41f5871f6b3f267b5ea22d852b573cfcdcbc10b1bdc30288a055313264069b7762fd9316d9af2216feedb
6
+ metadata.gz: 819afe7efa1922c29ba91676613c1e5462e04d546f472a8caa7328b905546e5b18e396d2c69cc147abc24a56cdd5beeee34842ba6f0518aea683538413fafe01
7
+ data.tar.gz: f87519e96c1f79fe43a1416ef252a19699955acdd108628cecfe29c50626f584764abc3215cc391b9d971fa396aa4c10b75a997db90438278fa730db4fd2c177
@@ -13,9 +13,10 @@ class Sidekiq::Postpone
13
13
 
14
14
  def wrap
15
15
  start
16
- yield
17
- stop
18
- flush
16
+ yield.tap do
17
+ stop
18
+ flush
19
+ end
19
20
  ensure
20
21
  stop
21
22
  end
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  class Postpone
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-postpone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Kochnev