Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
No need to require rubygems or specify the gem version for thrift
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed May 9, 2011
1 parent fc29464 commit 5e3ffeb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/thrift_client.rb
@@ -1,8 +1,4 @@
require 'rubygems'
gem 'thrift', '~>0.5.0'
require 'thrift'

require 'rubygems'
require 'thrift_client/thrift'
require 'thrift_client/connection'
require 'thrift_client/abstract_thrift_client'
Expand All @@ -27,7 +23,6 @@ class NoServersAvailable < StandardError; end
<tt>:timeout</tt>:: Specify the default timeout in seconds. Defaults to <tt>1</tt>.
<tt>:timeout_overrides</tt>:: Specify additional timeouts on a per-method basis, in seconds. Only works with <tt>Thrift::BufferedTransport</tt>.
<tt>:defaults</tt>:: Specify default values to return on a per-method basis, if <tt>:raise</tt> is set to false.
=end rdoc

def initialize(client_class, servers, options = {})
Expand Down

0 comments on commit 5e3ffeb

Please sign in to comment.