global-registry-bindings 0.4.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/global_registry_bindings/model/pull_mdm.rb +1 -1
- data/lib/global_registry_bindings/model/push_entity.rb +1 -1
- data/lib/global_registry_bindings/model/push_relationship.rb +2 -2
- data/lib/global_registry_bindings/version.rb +1 -1
- data/spec/internal/db/test.sqlite +0 -0
- data/spec/internal/log/test.log +1457 -0
- data/spec/spec_helper.rb +1 -8
- metadata +17 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1bf89db492db87d9cee2be24c4f8590e79b8c10cc4ff2bc496bb039fc9de0ee2
|
4
|
+
data.tar.gz: 445673e08caa1b4b619758bd65257a1ca089bf31af0082f0984f14810c08093b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567f441096855148539983991e2fabb8a82d2d5d5fc878d83ff0fb5c6f85778920c5ca4e8316795e239f9ac1627cf8f12b0ddb01ad6ff52b4193574fa56e4d92
|
7
|
+
data.tar.gz: bc51f7f19abe2265beec6748412079eef7e629605f99342e1087d3686ebf4001f864e1ff5ae024b125999ae73f66299a55efdff0e5de4435eb3cb7663ae08ddc
|
@@ -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)
|
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)
|
Binary file
|