ximate 0.1.1 → 0.1.2

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.
data/lib/ximate/search.rb CHANGED
@@ -21,7 +21,7 @@ module Ximate
21
21
  extend ClassMethods
22
22
  include InstanceMethods
23
23
 
24
- after_save :update_index
24
+ after_save { |proc| proc.update_index(I18n.locale, &block) }
25
25
 
26
26
  now = Time.now
27
27
  self.to_s.classify.constantize.all.each do |p|
@@ -1,3 +1,3 @@
1
1
  module Ximate
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ximate
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Enrico Pilotto