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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7e8145f57a5104d0baa5b6e4af2808edb459c50
4
- data.tar.gz: 39483fbff2577e4b4eab571088b4e6b6df4c7b89
3
+ metadata.gz: 16c0705f14b874830e8e7d49aab1767195f6d5f4
4
+ data.tar.gz: 0fa695c482ffa1c3dd65aa543947fb58c00c1cbe
5
5
  SHA512:
6
- metadata.gz: ba6516fface565ddc5d8881ed39da52528cc625d4c57f73139afd5ad95f2180012296f066ca5ebfb7cced90252242a5e01bccbdd007334d030f89a667a9248e2
7
- data.tar.gz: a44a8fb669154fbc09da763c5e986375441332c5a76cd270533ef814016d0de7966bf68ddefaab1283b904aa54def98c58e8a52b9544c8392cb4d10db981fa97
6
+ metadata.gz: ec5d34262d5f52012589128d3c92f89e1e08424f6e2bc69e367e1cacf3debdadf992aedca4f21d3d8fa1cdc715ce2b092efff570d3647b12e696a574e7a2c697
7
+ data.tar.gz: 7f33dd48df136a39a7088944f99c1b94ed9ae0a91fad0324ce25574b74f32b1a14754c8d53b465f79c7604c59f71ad5ba5b4d600dec3ae5e1a865c6d1f90528b
@@ -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 underscore_flags: false
21
+ Slop::Options.new **slop_options
16
22
  end
17
23
 
18
24
  end
@@ -1,3 +1,3 @@
1
1
  module UltraCommandLine
2
- VERSION = '0.4.12'.freeze
2
+ VERSION = '0.4.13'.freeze
3
3
  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.12
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-09 00:00:00.000000000 Z
11
+ date: 2019-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler