ultra_command_line 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ultra_command_line/commands/factory.rb +1 -1
- data/lib/ultra_command_line/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6331e815543a9129e303135a5cdf58740e9f0b8b
|
4
|
+
data.tar.gz: a1ed588240764568e0a40641dba89ffd6ecec01b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce1a9299903370ace23a8875b6713a77988bd132e5e9508fed5c814eab0cfba8d5c1cb9706bcd2125601188ab0ff270f99c2a8c93a1152e1e9ba4a89e9302c3a
|
7
|
+
data.tar.gz: 26801b1fdd1227582ae87a534dc76c5ec10bc18397f63ff008e83db9da6edcd8d4fa2061460feeac1a80044dbe349ed9c8a841ac6a4ad792f4192343c2e3bca3
|
@@ -13,7 +13,7 @@ module UltraCommandLine
|
|
13
13
|
options_definition_hash = definition_hash.fetch(:options, {})
|
14
14
|
manager = factory_options[:manager]
|
15
15
|
banner = definition_hash.fetch :banner, DEFAULT_BANNER
|
16
|
-
type = definition_hash.fetch
|
16
|
+
type = definition_hash.fetch(:type, DEFAULT_COMMAND_TYPE).to_sym
|
17
17
|
create_command name, type, options_definition_hash, banner, manager
|
18
18
|
end
|
19
19
|
|