delayer-deferred 2.1.1 → 2.1.2

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: 480af4c09dcc44eb42d3b9c0cc0524a6ac41c5c3b40d0bcf36eeb6bfda22ce7f
4
- data.tar.gz: 39b94a04b5a6081e5a37320461f957ca07f69fd87ae1aa19e440cfb4cc20ab82
3
+ metadata.gz: 833daf212639ecd5e632cb62d879679c8e9a0eae6af21e62774a175805963a61
4
+ data.tar.gz: c07568ec4dad571c62b086262044237a92dc124ca505227a26c79d2529b6d690
5
5
  SHA512:
6
- metadata.gz: 6eda321b6639b2cb6ac638e9068c18cf82ac80ba78070c8dfce045e55d0fcd3d88467091905a9351622a385ac5b5ce32bc2b5b9b87a1b9fd826db2a89b772923
7
- data.tar.gz: e869a145b9f6de42f278740f53514e37d37bda44255698229d059bd244c17275e42295d82321dd6d2736a0638b8ad17666e47e995a27e8838938c900572df879
6
+ metadata.gz: f310be2ed5a5f7307496fe026fd7ad6766931ae5d4c1e38d1908d7fd17003889310e61357a2a48120a77e960e281ca94d442bef8b8ad57b0b643fa046250d08d
7
+ data.tar.gz: a58cfdfecd74e643294993878bf6a4faa9e13217efeddc744f77f49a827ba2875e0cdac99ee7d7e02853ba3ec95f3f6873ffc15ebc2216dd88c3fabecb4ef2a4
@@ -18,8 +18,8 @@ module Delayer
18
18
  super(*rest, name: name, &block)
19
19
  end
20
20
 
21
- def method_missing(*rest, &block)
22
- Delayer::Deferred::Promise.__send__(*rest, &block)
21
+ def method_missing(*rest, **kwrest, &block)
22
+ Delayer::Deferred::Promise.__send__(*rest, **kwrest, &block)
23
23
  end
24
24
 
25
25
  def respond_to_missing?(symbol, include_private)
@@ -8,7 +8,7 @@ module Delayer::Deferred
8
8
  include Deferredable::Trigger
9
9
 
10
10
  class << self
11
- def new(stop=false, name: caller_locations(1,1).first.to_s, &block)
11
+ def new(stop=false, name: caller_locations(1,1).first.to_s, &block)
12
12
  result = promise = super(name: name)
13
13
  result = promise.next(&block) if block_given?
14
14
  promise.call(true) unless stop
@@ -1,5 +1,5 @@
1
1
  module Delayer
2
2
  module Deferred
3
- VERSION = "2.1.1"
3
+ VERSION = "2.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayer-deferred
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiaki Asai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-30 00:00:00.000000000 Z
11
+ date: 2020-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: delayer
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubygems_version: 3.0.4
210
+ rubygems_version: 3.1.2
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: Deferred for Delayer