From 5e3ffebe7a1fba612521e50e7f788f598fff8884 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Mon, 9 May 2011 12:46:29 -0700 Subject: [PATCH] No need to require rubygems or specify the gem version for thrift --- lib/thrift_client.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/thrift_client.rb b/lib/thrift_client.rb index dd17d67..0bf4d47 100644 --- a/lib/thrift_client.rb +++ b/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' @@ -27,7 +23,6 @@ class NoServersAvailable < StandardError; end :timeout:: Specify the default timeout in seconds. Defaults to 1. :timeout_overrides:: Specify additional timeouts on a per-method basis, in seconds. Only works with Thrift::BufferedTransport. :defaults:: Specify default values to return on a per-method basis, if :raise is set to false. - =end rdoc def initialize(client_class, servers, options = {})