active_propagation 0.2.8 → 0.2.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 546b45d44944c308de7c49f242a763de3982a7a6
4
- data.tar.gz: 552ef586326008e01556de50bc36bb6409793d5c
3
+ metadata.gz: fa77bf7810c2c6fdb0f3b1d991c02fa363a91508
4
+ data.tar.gz: 9e6e48a4a4dec9624d7876adc8af0928231cb69f
5
5
  SHA512:
6
- metadata.gz: 04a19e40126cf00016a218d698f08ef158346836a0c24b50f9befc1d7df9881e7fff8f5a0c626029449b84ff0d725b7281dae964cca6359c42c16932cc0ad560
7
- data.tar.gz: 8909f0be111e1c96141d64cba2f2f538417aa9ca31649e87ee2b822aff35ffe82a0cf58abc70da97aee7590666af45ebdacc392b1b997eb54844d6eed46a427f
6
+ metadata.gz: 0fef0dadab35fbd04d75232990c64833ee21785eadc364a5784a89e83414831b525b1d2b834c736d411d04c9d5f9d4606c57c376923fa170bcd67a547e7d9609
7
+ data.tar.gz: 74aff79c936a503eea3185da6078eaceb63a1633ad500724e3854ef092dc1e1640c85a3e4df161ddb9f0a091e1896e2678d877b2b136f2b45899f93636f29e5b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_propagation (0.2.7)
4
+ active_propagation (0.2.8)
5
5
  activerecord (~> 4.0)
6
6
  activesupport (~> 4.0)
7
7
  sidekiq
@@ -1,3 +1,3 @@
1
1
  module ActivePropagation
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
@@ -75,10 +75,10 @@ module ActivePropagation
75
75
  end
76
76
 
77
77
  class AsyncUpdater < AbstractPropagaterWorker
78
- def perform(klass_str, model_id, assoc, only, assoc_klass_str)
78
+ def perform(klass_str, model_id, assoc, only)
79
79
  klass = klass_str.constantize
80
- Propagater.new(klass, assoc, model_id).run do |a|
81
- AsyncLoopUpdater.perform_async(klass.to_s, model_id, a.id, only, assoc_klass_str.to_s)
80
+ Propagater.new(klass, assoc, model_id).run do |a, assoc_klass|
81
+ AsyncLoopUpdater.perform_async(klass.to_s, model_id, a.id, only, assoc_klass.to_s)
82
82
  end
83
83
  end
84
84
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_propagation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiki Schmitz