ultra_command_line 0.4.14 → 0.4.15

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: b5648284a8e6c0969546b44d57ae933504ccbdc2
4
- data.tar.gz: f9be107949020335124c203d77d23fd23b096d5e
3
+ metadata.gz: 410b65166ae50e157924547f071c6d5e8d9857e8
4
+ data.tar.gz: eda25069b6b6bd40dde1cb97fde1c582874eb57e
5
5
  SHA512:
6
- metadata.gz: 37839f22ed52552d4308a4c0a36efaf52b96a1b3311be5c66e72e9dd623363b5ca7eeb57f5f41e904c5d30d4a5b44365393ccb9b122e3b00b82e43f2100be37b
7
- data.tar.gz: 93dfe1aa575818c3a43d6dc054186a15c5e654eaf6e735673233569aead86c552b03db7f0942200cce88f0b5427f379c5778a653551501de63e7fa6c61810c6a
6
+ metadata.gz: 3f14169262f7fd2e67e0351d1924c549f1184268a2651bb129d1eaf7a6f6b5951299d1e5ebe704116adba7d9352fd3d85c600e1a2116632acab5db01aba6f80d
7
+ data.tar.gz: 543a29c968c27e35519b9257ec7b593cc5b62305a4ee45baf7fcb3e35e906acb89ad4d491f8cdfa4cdfe6060c44e863ae12d9a02f7ba210979f5e49a63f84ead
@@ -13,6 +13,15 @@ module UltraCommandLine
13
13
 
14
14
  extend UltraCommandLine::Utils::BasicLogger
15
15
 
16
+
17
+ def self.permissive_mode=(permissive_state)
18
+ slop_options[:suppress_errors] = permissive_state
19
+ end
20
+
21
+ def self.permissive_mode?
22
+ slop_options[:suppress_errors]
23
+ end
24
+
16
25
  def self.slop_options
17
26
  @slop_options ||= DEFAULT_SLOP_OPTIONS
18
27
  end
@@ -1,3 +1,3 @@
1
1
  module UltraCommandLine
2
- VERSION = '0.4.14'.freeze
2
+ VERSION = '0.4.15'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultra_command_line
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.14
4
+ version: 0.4.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent B.
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.4.5.1
152
+ rubygems_version: 2.5.1
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Manage complex sub_command line options.