miga-base 1.3.13.4 → 1.3.13.5

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: bdf054cb57b5a84d9ffb450b440a4dc6310e8aaf826d9b2160f0eecabce16385
4
- data.tar.gz: 237517417fa21ad566df29aa9da67a8307b8b6a3988b0fae16fd4b594d2cc6f8
3
+ metadata.gz: a1685116a04fec8af54d7f61494d8465fe51ae333620b36e5733094dfe3cb084
4
+ data.tar.gz: 3b88d700bab3819fc510e433855c86c1dad22a237364397e0cc32cec79caa673
5
5
  SHA512:
6
- metadata.gz: aae8695fab93405b5bb96063c35b12218eed2c78fcea1b2f308589bf29e600c7fbd89515cff59fc1b378b090b0786d55d627444d88810c7c25b202c0d772a310
7
- data.tar.gz: 923d60bb47caeab98c9b062dc8af575e8dbe2950cf0602e123cfe8e7533ccdb0aaa5034d1bf0006d5e5f418f7004777c08f861a1e2eb9d143a79044ece69a2d3
6
+ metadata.gz: 341e70012a81c98836843ca5ff286b293f9cd5ae381636b7936943bad6118bbacd4af7e854dfaf944ee19aa56a975290a0734e791c29fca94a7df03c73d6e481
7
+ data.tar.gz: ab555131f4e7863b0409c2d89f6d493b539482afb075e19b172755d645ecd736491266f0a74dace121583c356a3b94216f605ab419268b84517488d7c2d4c458
@@ -37,10 +37,11 @@ module MiGA::Cli::Action::Doctor::Base
37
37
  return if fix.empty?
38
38
 
39
39
  cli.say("- Fixing #{fix.size} datasets")
40
- fix.each_with_index do |d_n, k|
41
- cli.advance(' > Fixing', k + 1, fix.size, false)
40
+ MiGA::Parallel.distribute(fix, cli[:threads]) do |d_n, idx, thr|
41
+ cli.advance(' > Fixing', idx + 1, fix.size, false) if thr == 0
42
42
  p.dataset(d_n).cleanup_distances!
43
43
  end
44
+ cli.say
44
45
  end
45
46
 
46
47
  ##
data/lib/miga/version.rb CHANGED
@@ -12,7 +12,7 @@ module MiGA
12
12
  # - String indicating release status:
13
13
  # - rc* release candidate, not released as gem
14
14
  # - [0-9]+ stable release, released as gem
15
- VERSION = [1.3, 13, 4].freeze
15
+ VERSION = [1.3, 13, 5].freeze
16
16
 
17
17
  ##
18
18
  # Nickname for the current major.minor version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.13.4
4
+ version: 1.3.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R