pond 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pond.rb +4 -4
- data/lib/pond/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1922d7cbefb2c8c9fd1ee0844233a28f1f2eebec04207f22a2bf634f8430aa6
|
4
|
+
data.tar.gz: 9bc2f28abc109954518dbe87f8e5748de3c7a3edb478db68d95dc25f0ffe9e09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e13d694d63a888b41426981ba07c38c5598c67c621e623630acea065669aa1ab9a46506fda56b79b3ca533bd216da9ab97630bf883625d7730e44153ef9ff65
|
7
|
+
data.tar.gz: 559970bae24f8de40770d9d74989ab61bd16c1ba0fa0bcf50f356c228f9d177bf0b4a59700e5375babe90f1765684f8b7966556fe7cb3b3cb9c473cfcee0769f
|
data/CHANGELOG.md
CHANGED
data/lib/pond.rb
CHANGED
@@ -156,12 +156,12 @@ class Pond
|
|
156
156
|
class Wrapper < BasicObject
|
157
157
|
attr_reader :pond
|
158
158
|
|
159
|
-
def initialize(*args, &block)
|
160
|
-
@pond = ::Pond.new(*args, &block)
|
159
|
+
def initialize(*args, **kwargs, &block)
|
160
|
+
@pond = ::Pond.new(*args, **kwargs, &block)
|
161
161
|
end
|
162
162
|
|
163
|
-
def method_missing(*args, &block)
|
164
|
-
@pond.checkout { |object| object.
|
163
|
+
def method_missing(*args, **kwargs, &block)
|
164
|
+
@pond.checkout { |object| object.public_send(*args, **kwargs, &block) }
|
165
165
|
end
|
166
166
|
end
|
167
167
|
end
|
data/lib/pond/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pond
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Hanks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.7.7
|
96
|
+
rubygems_version: 3.1.2
|
98
97
|
signing_key:
|
99
98
|
specification_version: 4
|
100
99
|
summary: A simple, generic, thread-safe pool
|