THRIFT-437. rb: fix benchmarking tools to require proper file names

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
diff --git a/lib/rb/benchmark/client.rb b/lib/rb/benchmark/client.rb
index 948f08d..703dc8f 100644
--- a/lib/rb/benchmark/client.rb
+++ b/lib/rb/benchmark/client.rb
@@ -20,7 +20,7 @@
 $:.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)
diff --git a/lib/rb/benchmark/server.rb b/lib/rb/benchmark/server.rb
index d44fa88..74e13f4 100644
--- a/lib/rb/benchmark/server.rb
+++ b/lib/rb/benchmark/server.rb
@@ -20,7 +20,7 @@
 $:.unshift File.dirname(__FILE__) + '/../lib'
 require 'thrift'
 $:.unshift File.dirname(__FILE__) + "/gen-rb"
-require 'BenchmarkService'
+require 'benchmark_service'
 
 module Server
   include Thrift
diff --git a/lib/rb/benchmark/thin_server.rb b/lib/rb/benchmark/thin_server.rb
index 47126ad..4de2eef 100644
--- a/lib/rb/benchmark/thin_server.rb
+++ b/lib/rb/benchmark/thin_server.rb
@@ -20,7 +20,7 @@
 $:.unshift File.dirname(__FILE__) + '/../lib'
 require 'thrift'
 $:.unshift File.dirname(__FILE__) + "/gen-rb"
-require 'BenchmarkService'
+require 'benchmark_service'
 HOST = 'localhost'
 PORT = 42587
 
diff --git a/lib/rb/script/proto_benchmark.rb b/lib/rb/script/proto_benchmark.rb
index 4ff6a55..bb49e2e 100644
--- a/lib/rb/script/proto_benchmark.rb
+++ b/lib/rb/script/proto_benchmark.rb
@@ -18,8 +18,6 @@
 #
 
 require File.dirname(__FILE__) + "/../spec/spec_helper.rb"
-require "lib/thrift/serializer"
-require "lib/thrift/protocol/binary_protocol_accelerated"
 
 require "benchmark"
 # require "ruby-prof"
@@ -120,4 +118,4 @@
   # end
   # f.close
 
-end
\ No newline at end of file
+end