eac_ruby_base0 0.17.1 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_ruby_base0/runner/prepend.rb +26 -0
- data/lib/eac_ruby_base0/runner.rb +2 -10
- data/lib/eac_ruby_base0/version.rb +1 -1
- metadata +15 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec80e40f31bd5b55a358a87e4c743951e42aed2443dc841e7185d6c85caa92e
|
4
|
+
data.tar.gz: 94f485a005bf57a967bf9571e49e84b5386ae9ae5a774f90ead91281740bb960
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43e4bd9665b5c9d74a8cf60ecaee95268514d531fa0d57d1d2f7c72e4005902c2ff285f486672712d16fc0b47bb5ac408c9f6d5309d1ef030c6b3ec79312a426
|
7
|
+
data.tar.gz: c518b21f971f0031d069e088b5a8e2fe80f7c6a4329d5f194e5562eccb4e19b202d98a7026e871e5f6bc1bbc0b9b864c0ca9ee5d83d859f64730893b8429250e
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/core_ext'
|
4
|
+
require 'eac_cli/speaker'
|
5
|
+
require 'eac_cli/speaker/input_blocked'
|
6
|
+
require 'eac_config/node'
|
7
|
+
require 'eac_fs/contexts'
|
8
|
+
require 'eac_ruby_utils/speaker'
|
9
|
+
|
10
|
+
module EacRubyBase0
|
11
|
+
module Runner
|
12
|
+
module Prepend
|
13
|
+
def run
|
14
|
+
if parsed.version?
|
15
|
+
show_version
|
16
|
+
else
|
17
|
+
run_with_subcommand
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def run_run
|
22
|
+
on_context { super }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -9,10 +9,12 @@ require 'eac_ruby_utils/speaker'
|
|
9
9
|
|
10
10
|
module EacRubyBase0
|
11
11
|
module Runner
|
12
|
+
require_sub __FILE__
|
12
13
|
enable_speaker
|
13
14
|
common_concern do
|
14
15
|
include ::EacCli::RunnerWith::Help
|
15
16
|
include ::EacCli::RunnerWith::Subcommands
|
17
|
+
prepend ::EacRubyBase0::Runner::Prepend
|
16
18
|
runner_definition do
|
17
19
|
bool_opt '-q', '--quiet', 'Quiet mode.'
|
18
20
|
bool_opt '-I', '--no-input', 'Fail if a input is requested.'
|
@@ -23,16 +25,6 @@ module EacRubyBase0
|
|
23
25
|
end
|
24
26
|
end
|
25
27
|
|
26
|
-
def run
|
27
|
-
on_context do
|
28
|
-
if parsed.version?
|
29
|
-
show_version
|
30
|
-
else
|
31
|
-
run_with_subcommand
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
28
|
def application_version
|
37
29
|
runner_context.call(:application).version.to_s
|
38
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_ruby_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_ruby_base1
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.27.1
|
19
|
+
version: '0.29'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.27.1
|
26
|
+
version: '0.29'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: eac_cli
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,6 +31,9 @@ dependencies:
|
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
33
|
version: '0.30'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.30.1
|
40
37
|
type: :runtime
|
41
38
|
prerelease: false
|
42
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,40 +41,37 @@ dependencies:
|
|
44
41
|
- - "~>"
|
45
42
|
- !ruby/object:Gem::Version
|
46
43
|
version: '0.30'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.30.1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: eac_fs
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.16'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.16'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: eac_ruby_utils
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 0.107.1
|
67
|
+
version: '0.112'
|
71
68
|
type: :runtime
|
72
69
|
prerelease: false
|
73
70
|
version_requirements: !ruby/object:Gem::Requirement
|
74
71
|
requirements:
|
75
72
|
- - "~>"
|
76
73
|
- !ruby/object:Gem::Version
|
77
|
-
version: '0.
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 0.107.1
|
74
|
+
version: '0.112'
|
81
75
|
- !ruby/object:Gem::Dependency
|
82
76
|
name: eac_ruby_gem_support
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,6 +103,7 @@ files:
|
|
109
103
|
- lib/eac_ruby_base0/rspec.rb
|
110
104
|
- lib/eac_ruby_base0/rspec/setup.rb
|
111
105
|
- lib/eac_ruby_base0/runner.rb
|
106
|
+
- lib/eac_ruby_base0/runner/prepend.rb
|
112
107
|
- lib/eac_ruby_base0/runner_with.rb
|
113
108
|
- lib/eac_ruby_base0/runner_with/confirmation.rb
|
114
109
|
- lib/eac_ruby_base0/runner_with/input.rb
|