ros-apartment 3.4.3 → 3.4.4
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/apartment/tasks/task_helper.rb +3 -3
- data/lib/apartment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f49aeee027e9b0efcfa2582df0370ec85c9825eab664bab8fda3fbcf519423b4
|
|
4
|
+
data.tar.gz: 5f6f755319a8e2126d2e1f778da1908a84b7f3463540af929c242cb6ccd67438
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65ec120872ede00a3e8b7b808786dde24bd8e8f8282c9e64be3a5ac2cbf32aa919ff9317364e32c95d66f62c6f01cb7cddb0a27783031042b3c3b9fd8f97ae43
|
|
7
|
+
data.tar.gz: 85fabb97517aaa2941f14e037ac6e94c208ebed031625607bef4b9df46eed1a688c155834ac5f4f44691dcc63e0107c0fd9ea9881b711eb3e3ef785be8406db7
|
|
@@ -85,13 +85,13 @@ module Apartment
|
|
|
85
85
|
|
|
86
86
|
# Parallel execution wrapper. Disables advisory locks for the duration,
|
|
87
87
|
# then delegates to platform-appropriate parallelism strategy.
|
|
88
|
-
def each_tenant_parallel(&)
|
|
88
|
+
def each_tenant_parallel(&block)
|
|
89
89
|
with_advisory_locks_disabled do
|
|
90
90
|
case resolve_parallel_strategy
|
|
91
91
|
when :processes
|
|
92
|
-
each_tenant_in_processes(&)
|
|
92
|
+
each_tenant_in_processes(&block)
|
|
93
93
|
else
|
|
94
|
-
each_tenant_in_threads(&)
|
|
94
|
+
each_tenant_in_threads(&block)
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
end
|
data/lib/apartment/version.rb
CHANGED