activesalesforce 0.4.9 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rforce.rb +4 -0
  2. metadata +2 -2
data/lib/rforce.rb CHANGED
@@ -253,6 +253,10 @@ module RForce
253
253
 
254
254
  login(@user, @password)
255
255
 
256
+ # repackage and rencode request with the new session id
257
+ request = (Envelope % [@session_id, @batch_size, extra_headers, expanded])
258
+ request = encode(request)
259
+
256
260
  #Send the request to the server and read the response.
257
261
  response = @server.post2(@url.path, request.lstrip, headers)
258
262
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: activesalesforce
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.9
7
- date: 2006-04-05 00:00:00 -04:00
6
+ version: 0.5.0
7
+ date: 2006-04-13 00:00:00 -04:00
8
8
  summary: ActiveSalesforce (ASF) is a Rails connection adapter that provides direct access to Salesforce.com hosted data and metadata via the ActiveRecord model layer. Objects, fields, and relationships are all auto surfaced as active record attributes and rels.
9
9
  require_paths:
10
10
  - lib