eac_ruby_base0 0.17.1 → 0.17.2

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: 13e924a6aa38a4c3fffee67e2cce3eefd1129c65691e9aff3576208e626476a5
4
- data.tar.gz: 65b35e04a229b62cf6670c477842084cb65335a5869492c261c44c3b83dd8048
3
+ metadata.gz: 84278eaddcfa719a1118070f5b6de0f2f29f3cba9dab2f62f5c60360da0c4928
4
+ data.tar.gz: 3494e16615d944db4fe3d0c2c9600fe5467f8f2cf03bab2a1a2bf995c390d403
5
5
  SHA512:
6
- metadata.gz: 3b3e6a4c25f225d53dee88ae21261fb76e2e8baf24cfe9f13b55e22f7dbb5a018846fed7c2c95021b649a58b3e2424379cea878ed23b46ce1fea3c4ab8c174fd
7
- data.tar.gz: 4f0a912d7f196a102722a6831411a7c663938de1164da6b34a945a925cd62e652422614c5e2fc112e3b7e07dbe1f28e138c0ec8e9f2e3693023cc73d03ec11fa
6
+ metadata.gz: cdaf385d35ecea55a56c7afbd26b3e73a14a1e7bbb1e790f67fe473a9a0f8f7f8aaa0c47538965f21aedc68fb550a40bda86d188933942239738c988c424b927
7
+ data.tar.gz: 28311446b8ad136720ab4ce6f38e50af481d6063a8fafde104d24453921ebf3d6cd644b9ab431fa6bf9594af39057aee84d89122d06c8aaa67970822a36062bc
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyBase0
4
- VERSION = '0.17.1'
4
+ VERSION = '0.17.2'
5
5
  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.1
4
+ version: 0.17.2
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: 2022-11-11 00:00:00.000000000 Z
11
+ date: 2023-01-21 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.27'
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.27'
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
@@ -50,34 +44,28 @@ dependencies:
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '0.15'
47
+ version: '0.16'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '0.15'
54
+ version: '0.16'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: eac_ruby_utils
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '0.107'
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: 0.107.1
61
+ version: '0.111'
71
62
  type: :runtime
72
63
  prerelease: false
73
64
  version_requirements: !ruby/object:Gem::Requirement
74
65
  requirements:
75
66
  - - "~>"
76
67
  - !ruby/object:Gem::Version
77
- version: '0.107'
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 0.107.1
68
+ version: '0.111'
81
69
  - !ruby/object:Gem::Dependency
82
70
  name: eac_ruby_gem_support
83
71
  requirement: !ruby/object:Gem::Requirement
@@ -109,6 +97,7 @@ files:
109
97
  - lib/eac_ruby_base0/rspec.rb
110
98
  - lib/eac_ruby_base0/rspec/setup.rb
111
99
  - lib/eac_ruby_base0/runner.rb
100
+ - lib/eac_ruby_base0/runner/prepend.rb
112
101
  - lib/eac_ruby_base0/runner_with.rb
113
102
  - lib/eac_ruby_base0/runner_with/confirmation.rb
114
103
  - lib/eac_ruby_base0/runner_with/input.rb