freelancing-god-thinking-sphinx 0.9.5 → 0.9.6

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.
@@ -20,7 +20,7 @@ module ThinkingSphinx
20
20
  module Version #:nodoc:
21
21
  Major = 0
22
22
  Minor = 9
23
- Tiny = 5
23
+ Tiny = 6
24
24
 
25
25
  String = [Major, Minor, Tiny].join('.')
26
26
  end
@@ -167,7 +167,7 @@ module ThinkingSphinx
167
167
  end
168
168
  end
169
169
 
170
- def cast_to_datetime(column)
170
+ def cast_to_datetime(clause)
171
171
  case @model.connection.class.name
172
172
  when "ActiveRecord::ConnectionAdapters::MysqlAdapter"
173
173
  "UNIX_TIMESTAMP(#{clause})"
@@ -178,7 +178,7 @@ module ThinkingSphinx
178
178
  end
179
179
  end
180
180
 
181
- def convert_nulls(column)
181
+ def convert_nulls(clause)
182
182
  case @model.connection.class.name
183
183
  when "ActiveRecord::ConnectionAdapters::MysqlAdapter"
184
184
  "IFNULL(#{clause}, '')"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freelancing-god-thinking-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan