A few scripts in benchmark/ and script/ were using old-style require statments.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763003
13f79535-47bb-0310-9956-
ffa450edef68
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
$:.unshift File.dirname(__FILE__) + "/gen-rb"
-require 'BenchmarkService'
+require 'benchmark_service'
class Client
def initialize(host, port, clients_per_process, calls_per_client, log_exceptions)
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
$:.unshift File.dirname(__FILE__) + "/gen-rb"
-require 'BenchmarkService'
+require 'benchmark_service'
module Server
include Thrift
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
$:.unshift File.dirname(__FILE__) + "/gen-rb"
-require 'BenchmarkService'
+require 'benchmark_service'
HOST = 'localhost'
PORT = 42587
#
require File.dirname(__FILE__) + "/../spec/spec_helper.rb"
-require "lib/thrift/serializer"
-require "lib/thrift/protocol/binary_protocol_accelerated"
require "benchmark"
# require "ruby-prof"
# end
# f.close
-end
\ No newline at end of file
+end