ssickles-tire 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tire/model/callbacks.rb +2 -2
- data/lib/tire/version.rb +1 -1
- metadata +4 -4
data/lib/tire/model/callbacks.rb
CHANGED
@@ -18,8 +18,8 @@ module Tire
|
|
18
18
|
#
|
19
19
|
if base.respond_to?(:after_save) && base.respond_to?(:after_destroy)
|
20
20
|
base.class_eval do
|
21
|
-
after_save lambda {
|
22
|
-
after_destroy lambda {
|
21
|
+
after_save lambda { update_index }
|
22
|
+
after_destroy lambda { update_index }
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
data/lib/tire/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssickles-tire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Scott Sickles
|
@@ -399,7 +399,7 @@ post_install_message: |
|
|
399
399
|
* Fixed, that blocks passed to `Tire::Index.new` or `Tire.index` losed the scope
|
400
400
|
* Added `Tire::Alias`, interface and DSL to manage aliases as resources
|
401
401
|
|
402
|
-
See the full changelog at <http://github.com/karmi/tire/commits/v0.4.
|
402
|
+
See the full changelog at <http://github.com/karmi/tire/commits/v0.4.4>.
|
403
403
|
|
404
404
|
--------------------------------------------------------------------------------
|
405
405
|
|