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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
- metadata.gz: 19bd06c785553f14f9ecbfb281189452dfe6580d
4
- data.tar.gz: 55df3beda354d29fbe4a3a1ba1bc539d4161e6c0
3
+ metadata.gz: 2e845b2e1f59e04f20ebadb5bcd7df6886b379fa
4
+ data.tar.gz: f1669dc4f582d2ba094072194f0650ef7d009f18
5
5
  !binary "U0hBNTEy":
6
- metadata.gz: 862bea544dd1bd9e33fca5db3ec105b3bd0672963fbe0451d1cf1b2883ab6c60831d77c8488d2feea4e70e11757116bb257a2e4e718c8bfb43db0475ef0fdbc1
7
- data.tar.gz: 1ddb58a6ce2775db33d454c23e1b0ec018a7c8eab3911c7c939d24ba14af56108a9fadac475cbfec1d32e5c57ced6f120f4bd7b34bbe14e133e6fb647e346cf4
6
+ metadata.gz: 38bc47cc4ea57c63a548b6203bf36afc2e8bcc75da94880d60761f09a3c6a9d200809d19a0221009a718ea66025c4a7963742efeec8badd1f19d0f26f09f153a
7
+ data.tar.gz: 3ef8374f2ddf27520bad11c78ec71d5abc1c962cb9ca6d138d1b8d65fded614261d1fd2f286fa8fbac0c28a63c9f76cd265c1a1efdd4274956c297157445a9a1
@@ -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 = {}
@@ -1,3 +1,3 @@
1
1
  module Fastbeans
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastbeans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Sabanin