activekit 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_kit/sequence/sequenceable.rb +2 -1
- data/lib/active_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2a8a1118c555e7d450d530a4d844e43d718acf3c879c5e21616e2607c46bd7e
|
4
|
+
data.tar.gz: 838dd18ff937255d7f860ad0279f886123de8367ae9182cd3f93d1bf6dcbd829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f5946fd34c134e6b0b11e70a3c5f307dc4c83d77bcfd11003e6d7aeddce7772202ba96d13e3638060d313231ee7390c6dd80a0d9d23de11ed2e10e54ba97b96
|
7
|
+
data.tar.gz: 171003ab2c3b2c8e4f9c8f098c5b5811cf2e3e6dd9d2315658bbdfaa1beaea0b7ce3551d60bad7bd9425b39783d570236f43cd25cb5e67c0084e9ed5b7ffc5cb
|
@@ -52,7 +52,7 @@ module ActiveKit
|
|
52
52
|
after_save :activekit_sequence_sequenceable_callback
|
53
53
|
after_destroy :activekit_sequence_sequenceable_callback
|
54
54
|
|
55
|
-
|
55
|
+
define_method :activekit_sequence_sequenceable_callback do
|
56
56
|
inverse_assoc = self.class.search_inverse_assoc(self, updater_on)
|
57
57
|
position = positioning_method ? self.public_send(positioning_method) : nil
|
58
58
|
if inverse_assoc.respond_to?(:each)
|
@@ -62,6 +62,7 @@ module ActiveKit
|
|
62
62
|
end
|
63
63
|
logger.info "ActiveSequence - Sequencing from #{self.class.name}: Done."
|
64
64
|
end
|
65
|
+
private :activekit_sequence_sequenceable_callback
|
65
66
|
end
|
66
67
|
end
|
67
68
|
end
|
data/lib/active_kit/version.rb
CHANGED