delayer 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +40 -0
- data/README.md +2 -0
- data/lib/delayer.rb +6 -2
- data/lib/delayer/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f45ebc21cd1a3e765702c2bc30e1a6244fbc0ab5b6568dd7152ea4f3c7bdc993
|
|
4
|
+
data.tar.gz: 70386ae1784b5bcc7ce417e02879dd12723a61f3b8e6100dd281093d50787d47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f451adec9a6f7eb037c15ce348d3dd897e0f68bb8c496c00435cd4d09c9757794c725eb1964b9694bc355ecc85f3e0ae2899a94e06a83b2a54cd03819ae130f7
|
|
7
|
+
data.tar.gz: 0a430ec5704743c416a1d5cf900378062ec5bbe22dcac0458e69c0b9cf28fb0eed2c903849c18830250e341484a9ed54da2ea80286cb54744cd7c61977b28009
|
|
@@ -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
data/lib/delayer.rb
CHANGED
|
@@ -32,8 +32,12 @@ module Delayer
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def method_missing(*args, &proc)
|
|
36
|
-
|
|
35
|
+
def method_missing(*args, **kwrest, &proc)
|
|
36
|
+
if kwrest.empty?
|
|
37
|
+
(@default ||= generate_class).__send__(*args, &proc)
|
|
38
|
+
else
|
|
39
|
+
(@default ||= generate_class).__send__(*args, **kwrest, &proc)
|
|
40
|
+
end
|
|
37
41
|
end
|
|
38
42
|
end
|
|
39
43
|
end
|
data/lib/delayer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: delayer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.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:
|
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -65,6 +65,7 @@ executables: []
|
|
|
65
65
|
extensions: []
|
|
66
66
|
extra_rdoc_files: []
|
|
67
67
|
files:
|
|
68
|
+
- ".circleci/config.yml"
|
|
68
69
|
- ".gitignore"
|
|
69
70
|
- Gemfile
|
|
70
71
|
- LICENSE.txt
|
|
@@ -97,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
98
|
- !ruby/object:Gem::Version
|
|
98
99
|
version: '0'
|
|
99
100
|
requirements: []
|
|
100
|
-
rubygems_version: 3.
|
|
101
|
+
rubygems_version: 3.1.2
|
|
101
102
|
signing_key:
|
|
102
103
|
specification_version: 4
|
|
103
104
|
summary: Delay the processing
|