fairway 0.2.3 → 0.2.4

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.
@@ -72,11 +72,9 @@ module Fairway
72
72
  end
73
73
 
74
74
  def first_pool(&block)
75
- redis.pools.each do |pool|
76
- pool.with do |conn|
77
- val = yield(conn)
78
- return val if val
79
- end
75
+ redis.with_each do |conn|
76
+ val = yield(conn)
77
+ return val if val
80
78
  end
81
79
 
82
80
  nil
@@ -1,3 +1,3 @@
1
1
  module Fairway
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fairway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: