chieftain 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/chieftain/command.rb +8 -1
- data/lib/chieftain/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: e563101a2b20c22542bb36a78d6f8fbb0bf87cd17bb1472f6c21e122b2eb2819
|
|
4
|
+
data.tar.gz: 9c2508b000f0325a1cea0bc695e283434bac5c85b6890e8ffda47f26a6aac602
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 762bf3b4458c6ab07ea64c158133bf626981002dc241e49648de3ceef20ee2f25b439cdaae674b3118de5d910d17f72d2fcfb0cee3bf058a0c7ad9eafa2b87c4
|
|
7
|
+
data.tar.gz: 6720d6fce5e53fd978321fdcc2041adf32aeca2a84619e3be20eab79a273ed4a0cf2824651ab5438c1b4f2a706c3143fec6ba801efd0daebe2ec6bf8be63303c
|
data/lib/chieftain/command.rb
CHANGED
|
@@ -121,7 +121,14 @@ module Chieftain
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
else
|
|
124
|
-
raw_value =
|
|
124
|
+
raw_value = nil
|
|
125
|
+
if provided?(name)
|
|
126
|
+
raw_value = get_raw_parameter_value(name)
|
|
127
|
+
raw_value = settings[:default] if raw_value.nil?
|
|
128
|
+
else
|
|
129
|
+
raw_value = settings[:default]
|
|
130
|
+
end
|
|
131
|
+
|
|
125
132
|
if provided?(name)
|
|
126
133
|
if settings[:type]
|
|
127
134
|
convertor = get_convertor(settings.type)
|
data/lib/chieftain/version.rb
CHANGED