freelancing-god-thinking-sphinx 1.1.11 → 1.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -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