lib/rest_adapter.rb in dm-rest-adapter-0.9.11 vs lib/rest_adapter.rb in dm-rest-adapter-0.10.0
- old
+ new
@@ -1,12 +1,10 @@
-$:.push File.expand_path(File.dirname(__FILE__))
-
-require 'dm-core'
-require 'extlib'
-require 'pathname'
require 'rexml/document'
-require 'rubygems'
+
+require 'cgi' # for CGI.escape
+require 'addressable/uri'
require 'dm-serializer'
+
require 'rest_adapter/version'
require 'rest_adapter/adapter'
require 'rest_adapter/connection'
require 'rest_adapter/formats'
require 'rest_adapter/exceptions'