mister_bin 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mister_bin/command.rb +3 -3
- data/lib/mister_bin/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 913595208325759296ef5f3d504d5980d0c2f9083f5b25ef49eccdc4679231a4
|
4
|
+
data.tar.gz: 147428144596b31f175e0e92495479c6eb0b49e73187e0de7b1daba2d477f2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c39bd237a0930017599d9832bdaebd7396f2727500f486bfd56b8b743d89e89990f428cf258ddf8c7330ff190e6655b02d229cfe1da5ff003470431c7744b3d
|
7
|
+
data.tar.gz: e1372df188c909c7e1a0d6e49513d63e64c4d07f98db07d0967eadca1c98b2f428726685d429739e1ab65ca5e3f7513bf99367e619151e395d7258967997eaed
|
data/lib/mister_bin/command.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'docopt_ng'
|
2
2
|
require 'colsole'
|
3
3
|
|
4
4
|
module MisterBin
|
@@ -12,11 +12,11 @@ module MisterBin
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def execute(argv = [])
|
15
|
-
@args =
|
15
|
+
@args = DocoptNG.docopt self.class.docopt, version: self.class.meta.version, argv: argv
|
16
16
|
target = self.class.find_target_command self, args
|
17
17
|
exitcode = send target
|
18
18
|
exitcode.is_a?(Numeric) ? exitcode : 0
|
19
|
-
rescue
|
19
|
+
rescue DocoptNG::Exit => e
|
20
20
|
puts e.message
|
21
21
|
1
|
22
22
|
end
|
data/lib/mister_bin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mister_bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
@@ -31,19 +31,19 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: docopt_ng
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.7'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.7'
|
47
47
|
description: Easily add command line interface to your gems
|
48
48
|
email: db@dannyben.com
|
49
49
|
executables: []
|
@@ -70,14 +70,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 2.
|
73
|
+
version: '2.7'
|
74
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
76
|
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.4.
|
80
|
+
rubygems_version: 3.4.6
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Command line interface for your gems
|