activesalesforce 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/asf_adapter.rb +4 -2
- metadata +2 -2
data/lib/asf_adapter.rb
CHANGED
@@ -228,15 +228,17 @@ module ActiveRecord
|
|
228
228
|
|
229
229
|
previous_command = nil
|
230
230
|
commands = []
|
231
|
+
|
231
232
|
@command_boxcar.each do |command|
|
232
233
|
if commands.length >= MAX_BOXCAR_SIZE or (previous_command and (command.verb != previous_command.verb))
|
233
234
|
send_commands(commands)
|
235
|
+
|
234
236
|
commands = []
|
237
|
+
previous_command = nil
|
235
238
|
else
|
236
239
|
commands << command
|
240
|
+
previous_command = command
|
237
241
|
end
|
238
|
-
|
239
|
-
previous_command = command
|
240
242
|
end
|
241
243
|
|
242
244
|
# Finish off the partial boxcar
|
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.5.
|
7
|
-
date: 2006-05-
|
6
|
+
version: 0.5.8
|
7
|
+
date: 2006-05-26 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
|