public
Rubygem
Description: Makes http fun! Also, makes consuming restful web services dead easy.
Homepage:
Clone URL: git://github.com/jnunemaker/httparty.git
Click here to lend your support to: httparty and make a donation at www.pledgie.com !
Removed Hash#from_xml method from HTTParty and added regression spec to make 
sure HTTParty doesn't foobar ActiveSupport.
jnunemaker (author)
Mon Dec 08 18:14:49 -0800 2008
commit  fc44b0b75a8ed321bc7f89f6dfa54fcae24b4723
tree    2b065823cf1061de601296d1834877ac30fc8b19
parent  8591270358c71ccf300c2ab813d107212c05f858
...
285
286
287
288
289
290
291
292
 
293
294
295
...
285
286
287
 
 
 
 
 
288
289
290
291
0
@@ -285,11 +285,7 @@ class ToHashParser
0
   end
0
 end
0
 
0
-class Hash
0
-  def self.from_xml(xml)
0
-    ToHashParser.from_xml(xml)
0
-  end
0
-  
0
+class Hash  
0
   # @return <String> This hash as a query string
0
   #
0
   # @example
...
95
96
97
98
 
99
100
101
...
95
96
97
 
98
99
100
101
0
@@ -95,7 +95,7 @@ module HTTParty
0
         return nil if body.nil? or body.empty?
0
         case format
0
         when :xml
0
-          Hash.from_xml(body)
0
+          ToHashParser.from_xml(body)
0
         when :json
0
           JSON.parse(body)
0
         else

Comments