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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59178742e814265d104b1921808f01a55d4bd2a5021b644209875fcd54afb1e7
4
- data.tar.gz: 2bbf5a39c825a76578f7f5b9572fcd96ba8616f54204d6006a8dc8a43a1ed574
3
+ metadata.gz: 592c54ffc82b3c7355a101b81feb4c492dde4e2e0c21876056b700d8fbb191ab
4
+ data.tar.gz: 727e25670485ab5677fc99d93aa017d63d5a22d1ec4ec6f1260fd1b14ffc7075
5
5
  SHA512:
6
- metadata.gz: 064ce8a7c49c0df03360cbbdd080074f87d197264994d36d0a18767ce8061e09c1cb65975bfceffe8f8ae96112ec245561af49a60da04d91867ea93f8408039f
7
- data.tar.gz: 2302337cb23527049bda0d411f85d258b1ba4958ac17f5b26e0da2e46057254085b46a01eded94a053857674af4ad23b807f022a440a29ad5d53259b5aeb1ace
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 }.first
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, 0].freeze
15
+ VERSION = [1.3, 4, 1].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.4.0
4
+ version: 1.3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R