simple-cli 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/simple/cli.rb +11 -2
- data/simple-cli.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7c76281ec1c86003ccc81f754067a1ab6c1270c1252b49be9b2e77b5003b4f0
|
4
|
+
data.tar.gz: 13ee4536fab8272fdc833ea585ee324ec6fc7454939aef9fe4c762c168087001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74f848f2d6fe96a2bb63ccae8fdd866a37d403162ecd7a2c595c87b3e6f3c7b2999f12a932892c658e9f754f7fc1918ca1d36889ff022162a10ac35948313624
|
7
|
+
data.tar.gz: f131ad6dfc56139703414dcb0d991425db604ede1efe4e5e12dd558f02a724603e46bddac93e79dcf3a6879d9cec5d08ec87b9061fbe4e2fd0ceabe29c8a9d49
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/lib/simple/cli.rb
CHANGED
@@ -87,8 +87,17 @@ module Simple::CLI
|
|
87
87
|
# Run service.
|
88
88
|
Runner.run! service, options.command, *args, verbose: options.verbose?
|
89
89
|
rescue ::Simple::Service::ArgumentError
|
90
|
-
STDERR.puts
|
91
|
-
|
90
|
+
STDERR.puts <<~MSG
|
91
|
+
#{$!}
|
92
|
+
|
93
|
+
You probably run the command with invalid arguments; to learn more run
|
94
|
+
|
95
|
+
#{$0} help #{options.command}
|
96
|
+
|
97
|
+
Error location:
|
98
|
+
|
99
|
+
- #{$!.backtrace[0,5].join("\n- ")}
|
100
|
+
MSG
|
92
101
|
rescue StandardError => e
|
93
102
|
on_exception(e)
|
94
103
|
exit 3
|
data/simple-cli.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |gem|
|
|
24
24
|
# executables are used for development purposes only
|
25
25
|
gem.executables = []
|
26
26
|
|
27
|
-
gem.required_ruby_version = '
|
27
|
+
gem.required_ruby_version = '>= 2.5'
|
28
28
|
|
29
29
|
# optional gems (required by some of the parts)
|
30
|
-
gem.add_dependency "simple-service", "~> 0.2.
|
30
|
+
gem.add_dependency "simple-service", "~> 0.2.2"
|
31
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- radiospiel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simple-service
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.2.
|
20
|
+
version: 0.2.2
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.2.
|
27
|
+
version: 0.2.2
|
28
28
|
description: Simple CLI builder
|
29
29
|
email: eno@radiospiel.org
|
30
30
|
executables: []
|
@@ -73,9 +73,9 @@ require_paths:
|
|
73
73
|
- lib
|
74
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- - "
|
76
|
+
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: '2.
|
78
|
+
version: '2.5'
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|