global-registry-bindings 0.5.0 → 0.6.0
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7882fb4c6df04a1e0a026bb5b71b92709d9f1906e4f75b2f4209b522d05092e0
|
|
4
|
+
data.tar.gz: ab1603022457a0243cc196193bd98658be85f5047eacb60b79f93ed934a112f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf33e3f1d6b88f6db986eeb87b3f455a0b7aeeaf4e84a66eb705203c43d4123f56f7edcd473798554de241c309375158c1fc51cb7bfc722e4dc4c73965c0824b
|
|
7
|
+
data.tar.gz: dad203488b2970241d9723071220c53ea158127578fee59fdc07612ed2f76e9d4d89081b8f08e1b729b037e871d577f977bad75ade92dba872474df842396b26
|
|
@@ -15,7 +15,7 @@ module GlobalRegistry #:nodoc:
|
|
|
15
15
|
def push_entity_to_global_registry_async
|
|
16
16
|
return if global_registry_entity.condition?(:if)
|
|
17
17
|
return unless global_registry_entity.condition?(:unless)
|
|
18
|
-
::GlobalRegistry::Bindings::Workers::PushEntityWorker.perform_async(self.class, id)
|
|
18
|
+
::GlobalRegistry::Bindings::Workers::PushEntityWorker.perform_async(self.class.to_s, id)
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
@@ -39,7 +39,7 @@ module GlobalRegistry #:nodoc:
|
|
|
39
39
|
def global_registry_relationship_async_push(type)
|
|
40
40
|
return if global_registry_relationship(type).condition?(:if)
|
|
41
41
|
return unless global_registry_relationship(type).condition?(:unless)
|
|
42
|
-
::GlobalRegistry::Bindings::Workers::PushRelationshipWorker.perform_async(self.class, id, type)
|
|
42
|
+
::GlobalRegistry::Bindings::Workers::PushRelationshipWorker.perform_async(self.class.to_s, id, type)
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
def global_registry_relationship_async_replace(type)
|
|
@@ -52,7 +52,7 @@ module GlobalRegistry #:nodoc:
|
|
|
52
52
|
update_column( # rubocop:disable Rails/SkipsModelValidations
|
|
53
53
|
global_registry_relationship(type).id_column, nil
|
|
54
54
|
)
|
|
55
|
-
::GlobalRegistry::Bindings::Workers::PushRelationshipWorker.perform_async(self.class, id, type)
|
|
55
|
+
::GlobalRegistry::Bindings::Workers::PushRelationshipWorker.perform_async(self.class.to_s, id, type)
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def global_registry_relationship_async_delete(type)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: global-registry-bindings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Zoetewey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -434,7 +434,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
434
434
|
- !ruby/object:Gem::Version
|
|
435
435
|
version: '0'
|
|
436
436
|
requirements: []
|
|
437
|
-
rubygems_version: 3.
|
|
437
|
+
rubygems_version: 3.3.6
|
|
438
438
|
signing_key:
|
|
439
439
|
specification_version: 4
|
|
440
440
|
summary: ActiveRecord bindings for Global Registry
|