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 +4 -4
- data/lib/ultra_command_line.rb +9 -0
- 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: 410b65166ae50e157924547f071c6d5e8d9857e8
|
4
|
+
data.tar.gz: eda25069b6b6bd40dde1cb97fde1c582874eb57e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f14169262f7fd2e67e0351d1924c549f1184268a2651bb129d1eaf7a6f6b5951299d1e5ebe704116adba7d9352fd3d85c600e1a2116632acab5db01aba6f80d
|
7
|
+
data.tar.gz: 543a29c968c27e35519b9257ec7b593cc5b62305a4ee45baf7fcb3e35e906acb89ad4d491f8cdfa4cdfe6060c44e863ae12d9a02f7ba210979f5e49a63f84ead
|
data/lib/ultra_command_line.rb
CHANGED
@@ -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
|
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.
|
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.
|
152
|
+
rubygems_version: 2.5.1
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Manage complex sub_command line options.
|