delayer-deferred 2.1.2 → 2.1.3

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: 833daf212639ecd5e632cb62d879679c8e9a0eae6af21e62774a175805963a61
4
- data.tar.gz: c07568ec4dad571c62b086262044237a92dc124ca505227a26c79d2529b6d690
3
+ metadata.gz: b74d1715e4cbcfe9514171ebe201bde36bf00d8dcecef790ed4a29fd40449535
4
+ data.tar.gz: 48353be255fdc9a97836aae40244e715b2b57c4e0c97d95bcfdda934b627b0f3
5
5
  SHA512:
6
- metadata.gz: f310be2ed5a5f7307496fe026fd7ad6766931ae5d4c1e38d1908d7fd17003889310e61357a2a48120a77e960e281ca94d442bef8b8ad57b0b643fa046250d08d
7
- data.tar.gz: a58cfdfecd74e643294993878bf6a4faa9e13217efeddc744f77f49a827ba2875e0cdac99ee7d7e02853ba3ec95f3f6873ffc15ebc2216dd88c3fabecb4ef2a4
6
+ metadata.gz: 65b7ee78225e474f6cfbae098047098254e64dd3e009f9ad8158ce3d9e5a82da881d4069d1c5351a7c4fcb7228a5c14830fa96079cd5191853bcfb4692dc0e21
7
+ data.tar.gz: 20167f6264beff6fa8926d90311fd595462cfb7810570e0af4c91edeeb7b4dc57157db405492a40599ed7c43572378310b6c6222ec8c70e5d67be38707e3361e
@@ -0,0 +1,40 @@
1
+ version: '2.1'
2
+
3
+ executors:
4
+ ruby:
5
+ parameters:
6
+ tag:
7
+ type: string
8
+ docker:
9
+ - image: circleci/ruby:<< parameters.tag >>
10
+
11
+ jobs:
12
+ build:
13
+ parameters:
14
+ ruby-version:
15
+ type: string
16
+ executor:
17
+ name: ruby
18
+ tag: << parameters.ruby-version >>
19
+ steps:
20
+ - checkout
21
+ - run:
22
+ name: Which bundler?
23
+ command: bundle -v
24
+ - run:
25
+ command: bundle install --path vendor/bundle
26
+ - run:
27
+ name: test
28
+ command: bundle exec rake test
29
+ workflows:
30
+ build:
31
+ jobs:
32
+ - build:
33
+ name: 'ruby-2.5'
34
+ ruby-version: '2.5.7'
35
+ - build:
36
+ name: 'ruby-2.6'
37
+ ruby-version: '2.6.5'
38
+ - build:
39
+ name: 'ruby-2.7'
40
+ ruby-version: '2.7.0'
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Delayerの、ブロックを実行キューにキューイングする機能を利用し、エラー処理やasync/awaitのような機能をサポートするライブラリです。
4
4
 
5
+ [![toshia](https://circleci.com/gh/toshia/delayer-deferred.svg?style=svg)](https://circleci.com/gh/toshia/delayer-deferred)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -19,7 +19,11 @@ module Delayer
19
19
  end
20
20
 
21
21
  def method_missing(*rest, **kwrest, &block)
22
- Delayer::Deferred::Promise.__send__(*rest, **kwrest, &block)
22
+ if kwrest.empty?
23
+ Delayer::Deferred::Promise.__send__(*rest, &block)
24
+ else
25
+ Delayer::Deferred::Promise.__send__(*rest, **kwrest, &block)
26
+ end
23
27
  end
24
28
 
25
29
  def respond_to_missing?(symbol, include_private)
@@ -1,5 +1,5 @@
1
1
  module Delayer
2
2
  module Deferred
3
- VERSION = "2.1.2"
3
+ VERSION = "2.1.3"
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.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiaki Asai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-11 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: delayer
@@ -149,6 +149,7 @@ executables: []
149
149
  extensions: []
150
150
  extra_rdoc_files: []
151
151
  files:
152
+ - ".circleci/config.yml"
152
153
  - ".gitignore"
153
154
  - Gemfile
154
155
  - LICENSE.txt