activesalesforce 0.5.8 → 0.5.9

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 (3) hide show
  1. data/lib/asf_adapter.rb +4 -4
  2. data/lib/rforce.rb +2 -2
  3. metadata +2 -2
data/lib/asf_adapter.rb CHANGED
@@ -54,9 +54,9 @@ module ActiveRecord
54
54
  url = config[:url]
55
55
  url = "https://www.salesforce.com/services/Soap/u/7.0" unless url
56
56
 
57
- sid = config[:sid]
58
- username = config[:username]
59
- password = config[:password]
57
+ sid = config[:sid]
58
+ username = config[:username].to_s
59
+ password = config[:password].to_s
60
60
 
61
61
  # Recording/playback support
62
62
  recording_source = config[:recording_source]
@@ -88,7 +88,7 @@ module ActiveRecord
88
88
  binding = @@cache["#{url}.#{username}.#{password}"] unless binding
89
89
 
90
90
  unless binding
91
- debug("Establishing new connection for ['#{url}', '#{username}']")
91
+ debug("Establishing new connection for ['#{url}', '#{username}'")
92
92
 
93
93
  seconds = Benchmark.realtime {
94
94
  binding = RForce::Binding.new(url, sid)
data/lib/rforce.rb CHANGED
@@ -55,7 +55,7 @@ require 'stringio'
55
55
  require 'rexml/document'
56
56
  require 'rexml/xpath'
57
57
  require 'rubygems'
58
- require_gem 'builder'
58
+ require_gem 'builder', ">= 2.0.0"
59
59
 
60
60
 
61
61
  module RForce
@@ -222,7 +222,7 @@ module RForce
222
222
  #Fill in the blanks of the SOAP envelope with our
223
223
  #session ID and the expanded XML of our request.
224
224
  request = (Envelope % [@session_id, @batch_size, extra_headers, expanded])
225
-
225
+
226
226
  # reset the batch size for the next request
227
227
  @batch_size = DEFAULT_BATCH_SIZE
228
228
 
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.8
7
- date: 2006-05-26 00:00:00 -04:00
6
+ version: 0.5.9
7
+ date: 2006-06-06 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