hot_tub 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +7 -0
- data/lib/hot_tub/pool.rb +2 -1
- data/lib/hot_tub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f245ec552fdece7dd116f7e0969cd88aebb956e1
|
4
|
+
data.tar.gz: f5bc9530fb1ff42c167bb05f0ab72b6265f16a63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03dbfae650c78a6adbc7835d2c41f26a1162b84ff9a15bb06985353383f58814eb7fd60804396a83d028d92cee19a7f605fb24db00d10251fec1b1202335d650
|
7
|
+
data.tar.gz: 1749e5b189cb802fde7c795d5f79b7c06fb9c5853b65241ae066b3eef1667bdd02574d58309778ee3b9dfcff80c8f0d1dca1f610eb5a16e12ce8ba66a8118df8
|
data/HISTORY.md
CHANGED
data/lib/hot_tub/pool.rb
CHANGED
@@ -304,8 +304,9 @@ module HotTub
|
|
304
304
|
# if called outside @mutex.synchronize {}
|
305
305
|
def _fetch_new
|
306
306
|
if (@never_block || (_total_current_size < @max_size))
|
307
|
+
nc = yield
|
307
308
|
HotTub.logger.info "[HotTub] Adding client: #{nc.class.name} to #{@name}." if HotTub.log_trace?
|
308
|
-
|
309
|
+
nc
|
309
310
|
end
|
310
311
|
end
|
311
312
|
|
data/lib/hot_tub/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hot_tub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Mckinney
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project: hot_tub
|
153
|
-
rubygems_version: 2.4.
|
153
|
+
rubygems_version: 2.4.8
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Flexible connection pooling for Ruby.
|