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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be51279849d660421f0372979e25820cd47addaf
4
- data.tar.gz: e766df14198f96a20e6531f5b6c8074efa93ab12
3
+ metadata.gz: cbf884b081995860bac0ceb7a6fc296566d5058e
4
+ data.tar.gz: ba3ca1b27479a01c9f69868ab242dd6cc1802260
5
5
  SHA512:
6
- metadata.gz: f2c28741d3c03190d064d771f83e6b89e831581d28693902b224416e06ce755583c3f799d5eee7be62baba83d8f70015f4396afd523f82d5ae568dd1f4177455
7
- data.tar.gz: db926270f7f0a75b7b1f9bc7d0d753ba0161fc2a3b219a425eeea8f3a2f89750e54120fa472ffa3a0771247615570f1c153a77cac59bb40a9a23c95eb582e9ef
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
- async.wait_jobs_termination
248
+ wait_jobs_termination
249
249
  else
250
250
  log_message('Please provide valid options', log_method: 'fatal')
251
251
  end
@@ -17,7 +17,7 @@ module TaxGenerator
17
17
  # minor release version
18
18
  MINOR = 0
19
19
  # tiny release version
20
- TINY = 6
20
+ TINY = 7
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tax_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada