activesalesforce 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/asf_adapter.rb +10 -2
- metadata +2 -2
data/lib/asf_adapter.rb
CHANGED
@@ -427,8 +427,8 @@ module ActiveRecord
|
|
427
427
|
if match
|
428
428
|
ids = [ match[1] ]
|
429
429
|
else
|
430
|
-
# Check for the form id IN ('x', 'y')
|
431
|
-
match = sql.match(/WHERE\s
|
430
|
+
# Check for the form (id IN ('x', 'y'))
|
431
|
+
match = sql.match(/WHERE\s+\(\s*id\s+IN\s*\((.+)\)\)/mi)[1]
|
432
432
|
ids = match.scan(/\w+/)
|
433
433
|
end
|
434
434
|
|
@@ -473,6 +473,14 @@ module ActiveRecord
|
|
473
473
|
ids
|
474
474
|
}
|
475
475
|
end
|
476
|
+
|
477
|
+
|
478
|
+
def get_user_info(name = nil)
|
479
|
+
msg = "get_user_info()"
|
480
|
+
log(msg, name) {
|
481
|
+
get_result(@connection.getUserInfo([]), :getUserInfo)
|
482
|
+
}
|
483
|
+
end
|
476
484
|
|
477
485
|
|
478
486
|
def retrieve_field_values(object_type, fields, ids, name = nil)
|
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.6.
|
7
|
-
date: 2006-07-
|
6
|
+
version: 0.6.2
|
7
|
+
date: 2006-07-19 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
|