From 4ba9af4f74eafe0a0450ec599bc8b9a229a940bd Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 19 Aug 2015 01:27:01 +0200 Subject: [PATCH] Fixed oga requires for benchmarking/profiling --- benchmark/benchmark_helper.rb | 3 +-- profile/profile_helper.rb | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/benchmark/benchmark_helper.rb b/benchmark/benchmark_helper.rb index 2570374..5a72c35 100644 --- a/benchmark/benchmark_helper.rb +++ b/benchmark/benchmark_helper.rb @@ -2,8 +2,7 @@ require 'bundler/setup' require 'stringio' require 'benchmark' require 'benchmark/ips' - -require_relative '../lib/oga' +require 'oga' # @return [File] def big_xml_file diff --git a/profile/profile_helper.rb b/profile/profile_helper.rb index 1fdc1eb..37ed24c 100644 --- a/profile/profile_helper.rb +++ b/profile/profile_helper.rb @@ -1,8 +1,7 @@ require 'bundler/setup' require 'timeout' require 'stringio' - -require_relative '../lib/oga' +require 'oga' Thread.abort_on_exception = true