lib/rforce.rb in activesalesforce-0.5.8 vs lib/rforce.rb in activesalesforce-0.5.9

- old
+ new

@@ -53,11 +53,11 @@ require 'zlib' require 'stringio' require 'rexml/document' require 'rexml/xpath' require 'rubygems' -require_gem 'builder' +require_gem 'builder', ">= 2.0.0" module RForce #Allows indexing hashes like method calls: hash.key @@ -220,10 +220,10 @@ extra_headers << MruHeader if update_mru #Fill in the blanks of the SOAP envelope with our #session ID and the expanded XML of our request. request = (Envelope % [@session_id, @batch_size, extra_headers, expanded]) - + # reset the batch size for the next request @batch_size = DEFAULT_BATCH_SIZE # gzip request request = encode(request)