eac_ruby_base0 0.16.6 → 0.17.0

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: 44f3d45dcae417c67a3fd4baf2595d981b4d4d9ed3d160e7c7683a1e0260afdc
4
- data.tar.gz: 6536289742790538602ceb430378d059440614acd82e559c20f533d656cca8b5
3
+ metadata.gz: fd2398ee3d406e4b3d7cf205ded14236149597a7f4756734309bbacd54c2d848
4
+ data.tar.gz: 97a5d837f9febae922a1cb21d2fd9e5b4fb819062fd8d609fc4f9cbf16787390
5
5
  SHA512:
6
- metadata.gz: d0c5e6bdf8b0242c2db16b7b7503b9ced3d7be07476d19ca0df858c66d857084ec92170e9ae96da7b3926d5d2e669a7adda55ff27dde07e039498be6a5516202
7
- data.tar.gz: 94ce39707b756c337a8de7fbaa13ae875dd72c5432e1871bb3c4c8f2efb996ecd3807c76a2d131688ba5c578cbc1fbadb82bd1a5df2e70ec2392e3f7edfbd96f
6
+ metadata.gz: ac25e40f3cbdd58d90a436f803c69c61881812855f96fc5a8aff56f368563598408053a98b4676b9aaa1ecd6b29f4811514dbc12dfdc76ae00166db84b823c92
7
+ data.tar.gz: a115e7419c583be230c3ccf032c9371ddf2758a3c2941f509d1c070e055d49528550b37e267a3492fbc3715469552763de327e3bf4d249475b1c56683ba50e2f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyBase0
4
- VERSION = '0.16.6'
4
+ VERSION = '0.17.0'
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.16.6
4
+ version: 0.17.0
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-07-21 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_ruby_base1
@@ -16,68 +16,62 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.8'
19
+ version: '0.21'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.8'
26
+ version: '0.21'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: eac_cli
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.27'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 0.27.5
33
+ version: '0.28'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '0.27'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 0.27.5
40
+ version: '0.28'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: eac_fs
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '0.10'
47
+ version: '0.12'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.12.3
54
51
  type: :runtime
55
52
  prerelease: false
56
53
  version_requirements: !ruby/object:Gem::Requirement
57
54
  requirements:
58
55
  - - "~>"
59
56
  - !ruby/object:Gem::Version
60
- version: '0.10'
57
+ version: '0.12'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 0.12.3
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.95'
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: 0.95.1
67
+ version: '0.103'
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.95'
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 0.95.1
74
+ version: '0.103'
81
75
  - !ruby/object:Gem::Dependency
82
76
  name: eac_ruby_gem_support
83
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +100,11 @@ files:
106
100
  - lib/eac_ruby_base0/patches.rb
107
101
  - lib/eac_ruby_base0/patches/class.rb
108
102
  - lib/eac_ruby_base0/patches/class/jobs_runner.rb
109
- - lib/eac_ruby_base0/patches/object.rb
110
- - lib/eac_ruby_base0/patches/object/runner_with.rb
111
103
  - lib/eac_ruby_base0/rspec.rb
112
104
  - lib/eac_ruby_base0/rspec/setup.rb
113
105
  - lib/eac_ruby_base0/runner.rb
114
106
  - lib/eac_ruby_base0/runner_with.rb
115
107
  - lib/eac_ruby_base0/runner_with/confirmation.rb
116
- - lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
117
108
  - lib/eac_ruby_base0/runner_with/input.rb
118
109
  - lib/eac_ruby_base0/runner_with/output.rb
119
110
  - lib/eac_ruby_base0/version.rb
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_cli/core_ext'
4
- require 'eac_ruby_base0/runner_with'
5
- ::EacCli::RunnerWithSet.default.add_namespace(::EacRubyBase0::RunnerWith)
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Dir["#{File.dirname(__FILE__)}/#{::File.basename(__FILE__, '.*')}/*.rb"].sort.each do |path|
4
- require path
5
- end
@@ -1,52 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_cli/runner'
4
- require 'eac_ruby_utils/core_ext'
5
- require 'eac_fs/traversable'
6
- require 'eac_ruby_utils/settings_provider'
7
-
8
- module EacRubyBase0
9
- module RunnerWith
10
- module FilesystemTraverser
11
- DEFAULT_DEFAULT_TRAVERSER_RECURSIVE = false
12
-
13
- common_concern do
14
- include ::EacCli::Runner
15
- include ::EacFs::Traversable
16
- enable_settings_provider
17
- include TopMethods
18
- runner_definition do
19
- bool_opt '-R', '--recursive', 'Recursive.'
20
- bool_opt '--no-recursive', 'No recursive.'
21
- pos_arg :paths, optional: true, repeat: true
22
- end
23
- end
24
-
25
- module TopMethods
26
- def on_none_path_informed
27
- infom 'Warning: none path informed'
28
- end
29
-
30
- def paths
31
- parsed.paths.map(&:to_pathname)
32
- end
33
-
34
- def run_filesystem_traverser
35
- if parsed.paths.any?
36
- parsed.paths.each { |path| traverser_check_path(path) }
37
- else
38
- on_none_path_informed
39
- end
40
- end
41
-
42
- def traverser_recursive
43
- return false if parsed.no_recursive?
44
- return true if parsed.recursive?
45
-
46
- setting_value(:default_traverser_recursive, required: false)
47
- .if_not_nil(DEFAULT_DEFAULT_TRAVERSER_RECURSIVE)
48
- end
49
- end
50
- end
51
- end
52
- end