tax_generator 0.0.6 → 0.0.7
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/tax_generator/classes/processor.rb +2 -2
- data/lib/tax_generator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbf884b081995860bac0ceb7a6fc296566d5058e
|
|
4
|
+
data.tar.gz: ba3ca1b27479a01c9f69868ab242dd6cc1802260
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f5bd31c04e3f18d258c1fe02e446633b02891a9f99bc2b21a936a128567d771390cc8534cebbd0111d50b211168e3c1258759106422b147c8a0d668dba7f812
|
|
7
|
+
data.tar.gz: bfdf01af30c7a9eccdc652f9845b4b018f9658fdf9dff162db4f2deaf1e77449389b41f40220f1523e9194c9afcc5a8797ae3dbaf3357c16ebc78692ad90f0aa
|
|
@@ -211,7 +211,7 @@ module TaxGenerator
|
|
|
211
211
|
def wait_jobs_termination
|
|
212
212
|
result = @condition.wait
|
|
213
213
|
return unless result.present?
|
|
214
|
-
terminate
|
|
214
|
+
terminate if all_workers_finished?
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# registers the worker so that the current actor has access to it at any given time and starts the worker
|
|
@@ -245,7 +245,7 @@ module TaxGenerator
|
|
|
245
245
|
@taxonomy = TaxGenerator::TaxonomyTree.new(taxonomy_file_path)
|
|
246
246
|
@taxonomy.print_tree
|
|
247
247
|
generate_files
|
|
248
|
-
|
|
248
|
+
wait_jobs_termination
|
|
249
249
|
else
|
|
250
250
|
log_message('Please provide valid options', log_method: 'fatal')
|
|
251
251
|
end
|