fastbeans 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbeans/client.rb +1 -1
- data/lib/fastbeans/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e845b2e1f59e04f20ebadb5bcd7df6886b379fa
|
4
|
+
data.tar.gz: f1669dc4f582d2ba094072194f0650ef7d009f18
|
5
5
|
!binary "U0hBNTEy":
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38bc47cc4ea57c63a548b6203bf36afc2e8bcc75da94880d60761f09a3c6a9d200809d19a0221009a718ea66025c4a7963742efeec8badd1f19d0f26f09f153a
|
7
|
+
data.tar.gz: 3ef8374f2ddf27520bad11c78ec71d5abc1c962cb9ca6d138d1b8d65fded614261d1fd2f286fa8fbac0c28a63c9f76cd265c1a1efdd4274956c297157445a9a1
|
data/lib/fastbeans/client.rb
CHANGED
@@ -32,7 +32,7 @@ module Fastbeans
|
|
32
32
|
def call(*data)
|
33
33
|
Fastbeans.benchmark("Calling: #{data.first.inspect}") do
|
34
34
|
pool.with do |conn|
|
35
|
-
if data.last.is_a?(Hash) and (data.last.keys.to_set & Fastbeans::Request::OPTION_KEYS)
|
35
|
+
if data.last.is_a?(Hash) and (data.last.keys.to_set & Fastbeans::Request::OPTION_KEYS).size > 0
|
36
36
|
opts = data.pop
|
37
37
|
else
|
38
38
|
opts = {}
|
data/lib/fastbeans/version.rb
CHANGED