ultra_command_line 0.4.12 → 0.4.13
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.rb +7 -1
- data/lib/ultra_command_line/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16c0705f14b874830e8e7d49aab1767195f6d5f4
|
4
|
+
data.tar.gz: 0fa695c482ffa1c3dd65aa543947fb58c00c1cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec5d34262d5f52012589128d3c92f89e1e08424f6e2bc69e367e1cacf3debdadf992aedca4f21d3d8fa1cdc715ce2b092efff570d3647b12e696a574e7a2c697
|
7
|
+
data.tar.gz: 7f33dd48df136a39a7088944f99c1b94ed9ae0a91fad0324ce25574b74f32b1a14754c8d53b465f79c7604c59f71ad5ba5b4d600dec3ae5e1a865c6d1f90528b
|
data/lib/ultra_command_line.rb
CHANGED
@@ -9,10 +9,16 @@ require 'ultra_command_line/utils/yaml_factory'
|
|
9
9
|
|
10
10
|
module UltraCommandLine
|
11
11
|
|
12
|
+
DEFAULT_SLOP_OPTIONS = { underscore_flags: false }
|
13
|
+
|
12
14
|
extend UltraCommandLine::Utils::BasicLogger
|
13
15
|
|
16
|
+
def self.slop_options
|
17
|
+
@slop_options ||= DEFAULT_SLOP_OPTIONS
|
18
|
+
end
|
19
|
+
|
14
20
|
def self.new_slop_options
|
15
|
-
Slop::Options.new
|
21
|
+
Slop::Options.new **slop_options
|
16
22
|
end
|
17
23
|
|
18
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultra_command_line
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent B.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|