global-registry-bindings 0.8.0 → 0.8.1
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 +4 -4
- data/lib/global_registry_bindings/global_registry_bindings.rb +1 -0
- data/lib/global_registry_bindings/options/entity_options_parser.rb +1 -1
- data/lib/global_registry_bindings/version.rb +1 -1
- data/lib/global_registry_bindings/workers/push_entity_worker.rb +1 -0
- data/lib/global_registry_bindings/workers/push_relationship_worker.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8715379a5f7aa0eedd220ed188726d5baf98fdddf7a19cc5909c50a37e265f5a
|
|
4
|
+
data.tar.gz: b5760b4da33aa304a48dc72653304fd5e5d3fc49b969df9c59c9f213ab33408a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d84f2656fa02ec1439c69eff316708d99129f1407663a2a640d062361170a13506dd7f9dd19c9f44ede6d01130f757961d2296bdc20981078e10bb39124ba0e
|
|
7
|
+
data.tar.gz: 03b98c9983ac8cf7ef9954ce2ef9e1fbe80575c2f873c35d104bc384fd2ce7ea0af5ec3023bfac247fb14efb18332a2eb973416966fcc9b5ffc5d556f2919c74
|
|
@@ -58,7 +58,7 @@ module GlobalRegistry # :nodoc:
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def update_association_classes
|
|
61
|
-
|
|
61
|
+
if @options[:parent_class].nil? && @options[:parent] # rubocop:disable Style/GuardClause
|
|
62
62
|
@options[:parent_class] = association_class @options[:parent]
|
|
63
63
|
end
|
|
64
64
|
end
|
|
@@ -10,6 +10,7 @@ module GlobalRegistry # :nodoc:
|
|
|
10
10
|
class PushEntityWorker < GlobalRegistry::Bindings::Worker
|
|
11
11
|
include GlobalRegistry::Bindings::Entity::EntityTypeMethods
|
|
12
12
|
include GlobalRegistry::Bindings::Entity::PushEntityMethods
|
|
13
|
+
|
|
13
14
|
sidekiq_options unique: :until_and_while_executing
|
|
14
15
|
|
|
15
16
|
def perform(model_class, id)
|
|
@@ -10,6 +10,7 @@ module GlobalRegistry # :nodoc:
|
|
|
10
10
|
class PushRelationshipWorker < GlobalRegistry::Bindings::Worker
|
|
11
11
|
include GlobalRegistry::Bindings::Entity::RelationshipTypeMethods
|
|
12
12
|
include GlobalRegistry::Bindings::Entity::PushRelationshipMethods
|
|
13
|
+
|
|
13
14
|
sidekiq_options unique: :until_and_while_executing
|
|
14
15
|
|
|
15
16
|
attr_accessor :type
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: global-registry-bindings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Zoetewey
|
|
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
354
354
|
- !ruby/object:Gem::Version
|
|
355
355
|
version: '0'
|
|
356
356
|
requirements: []
|
|
357
|
-
rubygems_version: 3.
|
|
357
|
+
rubygems_version: 3.7.2
|
|
358
358
|
specification_version: 4
|
|
359
359
|
summary: ActiveRecord bindings for Global Registry
|
|
360
360
|
test_files: []
|