Skip to content

Commit

Permalink
removing duplicated requirements and reloading requirement structure
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesilveira committed Oct 24, 2010
1 parent d4eceec commit 608e525
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion lib/restfulie/client.rb
Expand Up @@ -24,5 +24,4 @@ module Client
require 'restfulie/client/ext/http_ext'
require 'restfulie/client/ext/atom_ext'
require 'restfulie/client/ext/json_ext'
require 'restfulie/client/ext/xml_ext'

16 changes: 1 addition & 15 deletions lib/restfulie/client/http.rb
@@ -1,21 +1,7 @@
module Restfulie
module Client
module HTTP#:nodoc:
autoload :Error, 'restfulie/client/http/error'
autoload :Response, 'restfulie/client/http/response'
autoload :ResponseHandler, 'restfulie/client/http/response_handler'
autoload :RequestAdapter, 'restfulie/client/http/request_adapter'
autoload :FollowLink, 'restfulie/client/http/follow_link'
autoload :Cache, 'restfulie/client/http/cache'
autoload :ResponseHolder, 'restfulie/client/http/response_holder'
autoload :RequestMarshaller, 'restfulie/client/http/request_marshaller'
autoload :LinkRequestBuilder, 'restfulie/client/http/link_request_builder'
autoload :VerbRequest, 'restfulie/client/http/verb_request'
Dir["#{File.dirname(__FILE__)}/http/*.rb"].each {|f| autoload File.basename(f)[0..-4].camelize.to_sym, f }
end
end
end

require 'restfulie/client/ext/atom_ext'
require 'restfulie/client/ext/xml_ext'
require 'restfulie/client/ext/http_ext'
require 'restfulie/client/ext/json_ext'

0 comments on commit 608e525

Please sign in to comment.