lib/peaty.rb in peaty-0.4.4 vs lib/peaty.rb in peaty-0.4.5
- old
+ new
@@ -1,5 +1,6 @@
+require 'pathname'
require 'logger'
require 'active_support/concern'
require 'active_support/inflector'
require 'active_support/core_ext/benchmark'
@@ -12,10 +13,10 @@
require 'rest-client'
require 'nokogiri'
require 'xml_to_json'
require 'yajl/json_gem'
-$:.unshift File.dirname(__FILE__)
+$:.unshift Pathname.new(__FILE__).dirname
require 'peaty/integration'
require 'peaty/proxy'
require 'peaty/base'
require 'peaty/project'
require 'peaty/iteration'