xapor 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/xapor/model_integration.rb +2 -4
- data/xapor.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
@@ -24,10 +24,8 @@ module Xapor::XapianFuIntegration
|
|
24
24
|
@config
|
25
25
|
end
|
26
26
|
end
|
27
|
-
if self.
|
28
|
-
|
29
|
-
after_save :add_to_index
|
30
|
-
end
|
27
|
+
if self.ancestors.include?(ActiveRecord::Base)
|
28
|
+
after_save :add_to_index
|
31
29
|
end
|
32
30
|
@config = Xapor::Config.new
|
33
31
|
if block_given?
|
data/xapor.gemspec
CHANGED