cl 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cl/opt.rb +1 -1
- data/lib/cl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c813741e86f3ae66b08d918f981295c587adc05a5bf7d3d22d017baaea69ff7f
|
4
|
+
data.tar.gz: cd4c7aff4a9148c819e8c7f09e14d3b3878c02aade25168dd9468db44eb7a7c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf49bbbc715debc03060ba8c7ae63036f13993557eebafabbfcd2972150b57d0041dc7bb72d7c40d826f7901ca115eb2558fe0506b0abdd510e7ff72027c532b
|
7
|
+
data.tar.gz: 2d4a88d405fee25d8e0500096ef9edb44d7068ea52aa1476f83d72fc7f2892b8904adc1009679335d7cce8ed6c74314d906beec3d2053e525b47947c078ec4de
|
data/lib/cl/opt.rb
CHANGED
@@ -30,7 +30,7 @@ class Cl
|
|
30
30
|
return @name if instance_variable_defined?(:@name)
|
31
31
|
opt = strs.detect { |str| str.start_with?('--') }
|
32
32
|
name = opt.split(' ').first.match(OPT)[1] if opt
|
33
|
-
@name = name
|
33
|
+
@name = name.sub('-', '_').to_sym if name
|
34
34
|
end
|
35
35
|
|
36
36
|
def type
|
data/lib/cl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Fuchs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: regstry
|