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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5663210c890daf049e5390ce2447e9249860fdf8
4
- data.tar.gz: 8362b6b6d99650e71d8dc0a2202f05d474b6d893
3
+ metadata.gz: f245ec552fdece7dd116f7e0969cd88aebb956e1
4
+ data.tar.gz: f5bc9530fb1ff42c167bb05f0ab72b6265f16a63
5
5
  SHA512:
6
- metadata.gz: a5dd46e1a804f0f91df47469b1d7b20b439e4719044c5ac6344e6f7d7248cd06a80866ca18978167b6d77f4e625d87364d84bcf7e44f8842ed7b26b020051b0c
7
- data.tar.gz: 4f30786180f7138cfbaf8e4af4bb9dc32a2c45ee2ff1d371223a01c545b68556fea595af178200b6de5c883238e632adaeb04d99533244866d3acae029121272
6
+ metadata.gz: 03dbfae650c78a6adbc7835d2c41f26a1162b84ff9a15bb06985353383f58814eb7fd60804396a83d028d92cee19a7f605fb24db00d10251fec1b1202335d650
7
+ data.tar.gz: 1749e5b189cb802fde7c795d5f79b7c06fb9c5853b65241ae066b3eef1667bdd02574d58309778ee3b9dfcff80c8f0d1dca1f610eb5a16e12ce8ba66a8118df8
data/HISTORY.md CHANGED
@@ -3,6 +3,13 @@ HotTub Changelog
3
3
 
4
4
  Head
5
5
  =======
6
+
7
+ 0.5.2
8
+ =======
9
+ - Fix logger error
10
+
11
+ 0.5.1
12
+ =======
6
13
  - Add spawn_reaper to Reaper::Mixin.
7
14
 
8
15
  0.5.0
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
- yield
309
+ nc
309
310
  end
310
311
  end
311
312
 
@@ -1,3 +1,3 @@
1
1
  module HotTub
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
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.1
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.5.1
153
+ rubygems_version: 2.4.8
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Flexible connection pooling for Ruby.