miga-base 1.3.4.0 → 1.3.4.1
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.rb +2 -1
- 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: 592c54ffc82b3c7355a101b81feb4c492dde4e2e0c21876056b700d8fbb191ab
|
4
|
+
data.tar.gz: 727e25670485ab5677fc99d93aa017d63d5a22d1ec4ec6f1260fd1b14ffc7075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f3980c26d56a8ad66c2a4263dac067d5f1d84e53ec40c5b1d0a81bdd86724388176a0d15f7773f2dec8783fc593c47aaa023edc89c8ae0badad084c00cb2f2f
|
7
|
+
data.tar.gz: ab051d7030764a4bc67844a6b44b471b0fbaa23c2b06be39bb02ba8e6d38e686f559b46951c655c3a614ed71a6f9fbdb98f15651beb61606309931aeaa7d831b
|
@@ -26,7 +26,8 @@ class MiGA::Cli::Action::Doctor < MiGA::Cli::Action
|
|
26
26
|
'--only TASK',
|
27
27
|
'Perform only the specified task (see --ignore)'
|
28
28
|
) do |v|
|
29
|
-
op_k = @@OPERATIONS.find { |_, i| i[0] == v.downcase }
|
29
|
+
op_k = @@OPERATIONS.find { |_, i| i[0] == v.downcase }&.first
|
30
|
+
op_k or raise "Unknown task: #{v}"
|
30
31
|
@@OPERATIONS.each_key { |i| cli[i] = false }
|
31
32
|
cli[op_k] = true
|
32
33
|
end
|
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, 4,
|
15
|
+
VERSION = [1.3, 4, 1].freeze
|
16
16
|
|
17
17
|
##
|
18
18
|
# Nickname for the current major.minor version.
|