activesalesforce 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/asf_adapter.rb +1 -0
  2. metadata +2 -2
data/lib/asf_adapter.rb CHANGED
@@ -150,6 +150,7 @@ module ActiveRecord
150
150
  when NilClass then quoted_value = "NULL"
151
151
  when TrueClass then quoted_value = "TRUE"
152
152
  when FalseClass then quoted_value = "FALSE"
153
+ when Float, Fixnum, Bignum then quoted_value = "'#{value.to_s}'"
153
154
  else quoted_value = super(value, column)
154
155
  end
155
156
 
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.6
7
- date: 2006-03-17 00:00:00 -05:00
6
+ version: 0.4.7
7
+ date: 2006-03-20 00:00:00 -05: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