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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67eb8f62ef1b3e4f6532c5431730922130158646b4067ed14511314777d18448
4
- data.tar.gz: 11d7429b7011c2aca230935789489c4ac6828ff60e4cb250fe18910fd14d2daf
3
+ metadata.gz: c2a8a1118c555e7d450d530a4d844e43d718acf3c879c5e21616e2607c46bd7e
4
+ data.tar.gz: 838dd18ff937255d7f860ad0279f886123de8367ae9182cd3f93d1bf6dcbd829
5
5
  SHA512:
6
- metadata.gz: 63885175b26d2bace31dd3ded154ab4631819645f4c2cc41653e57179968f03149f2f352c399c9693bb69bbc476e322f3c7ef67e9e4f159e956111bc478fde7c
7
- data.tar.gz: fdd159ca5f30a970452036b5d8fd8eb384466dc908c166b7873144a2cee0f3c6cd8b671b23813db22073b389dbb916469576c8eef3cd0a44d1ca80e844507372
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
- private def activekit_sequence_sequenceable_callback
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
@@ -1,3 +1,3 @@
1
1
  module ActiveKit
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activekit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - plainsource