activesalesforce 0.6.0 → 0.6.1
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.
- data/lib/asf_adapter.rb +1 -1
- metadata +2 -2
data/lib/asf_adapter.rb
CHANGED
|
@@ -293,7 +293,7 @@ module ActiveRecord
|
|
|
293
293
|
|
|
294
294
|
# Fixup column references to use api names
|
|
295
295
|
columns = entity_def.column_name_to_column
|
|
296
|
-
soql.gsub!(/((?:\w+\.)?\w+)(?=\s*(
|
|
296
|
+
soql.gsub!(/((?:\w+\.)?\w+)(?=\s*(?:=|!=|<|>|<=|>=|like)\s*(?:'[^']*'|NULL|TRUE|FALSE))/mi) do |column_name|
|
|
297
297
|
# strip away any table alias
|
|
298
298
|
column_name.sub!(/\w+\./, '')
|
|
299
299
|
|
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-
|
|
6
|
+
version: 0.6.1
|
|
7
|
+
date: 2006-07-18 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
|