freelancing-god-thinking-sphinx 1.1.11 → 1.1.12

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.
@@ -36,7 +36,7 @@ module ThinkingSphinx
36
36
  module Version #:nodoc:
37
37
  Major = 1
38
38
  Minor = 1
39
- Tiny = 11
39
+ Tiny = 12
40
40
 
41
41
  String = [Major, Minor, Tiny].join('.')
42
42
  end
@@ -252,7 +252,7 @@ module ThinkingSphinx
252
252
  @attributes << Attribute.new(
253
253
  resource.columns.collect { |col| col.clone },
254
254
  options.merge(
255
- :type => resource.is_a?(Field) ? :string : nil,
255
+ :type => resource.is_a?(Field) ? :string : options[:type],
256
256
  :as => resource.unique_name.to_s.concat(suffix).to_sym,
257
257
  :crc => crc
258
258
  ).except(:facet)
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: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan