forward-rbase 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rbase/client.rb +2 -2
  2. metadata +2 -2
data/lib/rbase/client.rb CHANGED
@@ -5,8 +5,8 @@ module Rbase
5
5
  yield client if block_given?
6
6
  end
7
7
 
8
- def initialize(server, port=9090)
9
- socket = Thrift::Socket.new(server, port.to_s)
8
+ def initialize(server, port=9090, timeout=60)
9
+ socket = Thrift::Socket.new(server, port.to_s, timeout)
10
10
  transport = Thrift::BufferedTransport.new(socket)
11
11
  transport.open
12
12
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Forward Internet Group