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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2096df3dcaec80c5e02c17abba74e3a14463bb605eb86cbe60a33599123a854
4
- data.tar.gz: ca4801c9843d8a19d7ca8da621996cd6390c291fb3d74133ff33a79734edab96
3
+ metadata.gz: 913595208325759296ef5f3d504d5980d0c2f9083f5b25ef49eccdc4679231a4
4
+ data.tar.gz: 147428144596b31f175e0e92495479c6eb0b49e73187e0de7b1daba2d477f2f5
5
5
  SHA512:
6
- metadata.gz: 355f4ac5e4a87abf6e1bd3f7be44dc48a53d74c42db3692c85a2e6faafcc0a40f02f8770abd86dc3e149d62de9d16024cc46617b787a8a2b3a5261550ededeee
7
- data.tar.gz: b19e80921d188eec872f2b2e751289677f714bfd74097df6aa2d251e520f9b51377c4d525e0fd44940f2d30147ed4a6209f27c2bc31476f58e42b5426347ceda
6
+ metadata.gz: 5c39bd237a0930017599d9832bdaebd7396f2727500f486bfd56b8b743d89e89990f428cf258ddf8c7330ff190e6655b02d229cfe1da5ff003470431c7744b3d
7
+ data.tar.gz: e1372df188c909c7e1a0d6e49513d63e64c4d07f98db07d0967eadca1c98b2f428726685d429739e1ab65ca5e3f7513bf99367e619151e395d7258967997eaed
@@ -1,4 +1,4 @@
1
- require 'docopt'
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 = Docopt.docopt self.class.docopt, version: self.class.meta.version, argv: argv
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 Docopt::Exit => e
19
+ rescue DocoptNG::Exit => e
20
20
  puts e.message
21
21
  1
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module MisterBin
2
- VERSION = '0.7.4'
2
+ VERSION = '0.7.5'
3
3
  end
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
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-01-31 00:00:00.000000000 Z
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: docopt
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.6'
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.6'
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.6.0
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.5
80
+ rubygems_version: 3.4.6
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Command line interface for your gems