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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e513ab873c2fef2259e2a830956b7cd18399a3dedee559e4dbc0feebfcdd95f3
4
- data.tar.gz: e25a78f7438df7ba23b2020ef2ff8973b72ca4e09e67af5a22402cf2d2ff897e
3
+ metadata.gz: b1922d7cbefb2c8c9fd1ee0844233a28f1f2eebec04207f22a2bf634f8430aa6
4
+ data.tar.gz: 9bc2f28abc109954518dbe87f8e5748de3c7a3edb478db68d95dc25f0ffe9e09
5
5
  SHA512:
6
- metadata.gz: c140d47670c57f45611c4ae8bb955c52e03386709151fa84cc1bb87568d59256c9faae7d91b70c13351c266e832699dcb163717196e568de55e7cb3532acb856
7
- data.tar.gz: f1f4bbc6819c5510abe6db869fa81d0e77cb3aa6a60134f607aac8a1c28f9821419fae2c83603a8253a55dacef88fca57c434e49818b0b54b4dbf02dd908f1b1
6
+ metadata.gz: 9e13d694d63a888b41426981ba07c38c5598c67c621e623630acea065669aa1ab9a46506fda56b79b3ca533bd216da9ab97630bf883625d7730e44153ef9ff65
7
+ data.tar.gz: 559970bae24f8de40770d9d74989ab61bd16c1ba0fa0bcf50f356c228f9d177bf0b4a59700e5375babe90f1765684f8b7966556fe7cb3b3cb9c473cfcee0769f
@@ -1,3 +1,7 @@
1
+ ### 0.5.0 (2020-09-04)
2
+
3
+ * Silence warnings on Ruby 2.7 (boof)
4
+
1
5
  ### 0.4.0 (2019-12-31)
2
6
 
3
7
  * Add support for Ruby 2.7. (gekola)
@@ -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.send(*args, &block) }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Pond
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
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.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: 2019-12-31 00:00:00.000000000 Z
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
- rubyforge_project:
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