global-registry-bindings 0.5.0 → 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0847a25784209dfd574ace31c1162e14759f3bcd993a19ad010444011da4b4b2'
|
4
|
+
data.tar.gz: ad25738f695ef03adf447d56e3d7f326995f415cab23776b922aece4bd74dfa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61bac2dee0d7605aa729e370fcd4631d16064388eecf99cf6f91a36e1fc10663a218ac50df286bd195520308524d0e70200334edccd9ec9ba02bce589ab4e556
|
7
|
+
data.tar.gz: b1e02c355122d43651651da8cf0c1c904ab004052f4022b006270594b5e259a5a9b40910a0a43a091f0d020a78daaa176b0629dee43bfc33f7a5ce242e950c63
|
@@ -17,7 +17,7 @@ module GlobalRegistry #:nodoc:
|
|
17
17
|
return if global_registry_entity.condition?(:if)
|
18
18
|
return unless global_registry_entity.condition?(:unless)
|
19
19
|
"::GlobalRegistry::Bindings::Workers::#{global_registry_entity.mdm_worker_class_name}"
|
20
|
-
.constantize .perform_async(self.class, id)
|
20
|
+
.constantize .perform_async(self.class.name, id)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
@@ -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.to_s)
|
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.to_s)
|
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.2
|
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-03-30 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
|