miga-base 1.3.13.4 → 1.3.13.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miga/cli/action/doctor/base.rb +3 -2
- data/lib/miga/json.rb +6 -0
- data/lib/miga/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: 86ce0bd3f3cd40ab7c4883d729bf43a1eb18303d034063714dcc0ae7944079c7
|
4
|
+
data.tar.gz: '03957e37bb90e94a63c4a746fbccab48965dc29c614439b19848ffe8f40ee98c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abe0f5938f5af2686bcc7c4d810c9ce0388e561250f1b4422234ba91e0dae0a7e9bc2b9dcbf8105edfd128d9110f7b72c79a88df1084f86b38cdac23323ba298
|
7
|
+
data.tar.gz: fbff0a7738631a4b8756d2c6ff49520e07903391ca07d4a68a2b8e2ace65e56bd8297a33a5ea8b999a805a552454e4e621af337ca772ee864f851975e471f340
|
@@ -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
|
41
|
-
cli.advance(' > Fixing',
|
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/json.rb
CHANGED
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,
|
15
|
+
VERSION = [1.3, 13, 6].freeze
|
16
16
|
|
17
17
|
##
|
18
18
|
# Nickname for the current major.minor version.
|