simple_command_line_parser 1.1.0 → 1.1.1
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/simple_command_line_parser.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fbcfad0e004604b87a9bdc83ff5c90ef8a154f68
|
|
4
|
+
data.tar.gz: 9a68ae745b5a41081a3649eb0deba86a7b0b7b77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4ada80ee3a9e00166f5e3255eaf19af2e6b6af3e08c9013eac900e28e2172a7ecd6079f4a5e76ce1f08f841f4c023c367030ef798f4234b9cd4a2e6549eaebc
|
|
7
|
+
data.tar.gz: d848e0d266b512cee23e5cc072a488d7131cf61587ee18cf2081c3bd779bb07e3f7cbf0473afa4e842c13819429b3a3f3c9aec988426966ec46124e9ad464c45
|
|
@@ -155,7 +155,7 @@ module BlackStack
|
|
|
155
155
|
def value(k)
|
|
156
156
|
h = self.args[k]
|
|
157
157
|
i = self.conf.select {|j| j[:name]==k}.first
|
|
158
|
-
raise "Unknown name of
|
|
158
|
+
raise "Unknown name of parameter." if i.nil?
|
|
159
159
|
if !h.nil?
|
|
160
160
|
return h.to_s if i[:type] == BlackStack::SimpleCommandLineParser::STRING
|
|
161
161
|
return h.to_i if i[:type] == BlackStack::SimpleCommandLineParser::INT
|
metadata
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_command_line_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leandro Daniel Sardi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: 'Find documentation here: https://github.com/leandrosardi/simple_command_line_parser.'
|
|
13
|
+
description: 'THIS GEM IS STILL IN DEVELOPMENT STAGE. Find documentation here: https://github.com/leandrosardi/simple_command_line_parser.'
|
|
14
14
|
email: leandro.sardi@expandedventure.com
|
|
15
15
|
executables: []
|
|
16
16
|
extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
|
18
18
|
files:
|
|
19
19
|
- lib/simple_command_line_parser.rb
|
|
20
|
-
homepage: https://rubygems.org/gems/
|
|
20
|
+
homepage: https://rubygems.org/gems/simple_command_line_parser
|
|
21
21
|
licenses:
|
|
22
22
|
- MIT
|
|
23
23
|
metadata: {}
|
|
@@ -40,5 +40,5 @@ rubyforge_project:
|
|
|
40
40
|
rubygems_version: 2.4.5.1
|
|
41
41
|
signing_key:
|
|
42
42
|
specification_version: 4
|
|
43
|
-
summary: Easy command line parser library.
|
|
43
|
+
summary: THIS GEM IS STILL IN DEVELOPMENT STAGE. Easy command line parser library.
|
|
44
44
|
test_files: []
|