eac_ruby_utils 0.128.3 → 0.128.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d66072e2d9ba7fa3abc76b880c5b5cb0aff384c2372ec3e07958c764d38a2604
4
- data.tar.gz: 38126791ee766f2bed33598e8ea61293a465277d9668f8ffb3beea565a5e2896
3
+ metadata.gz: ece7a4feefc13ac980ec1a31bc65e45f3151368aae3e17582da8b59256c51ebe
4
+ data.tar.gz: dacfea09150dc5277883f9000cef330825dd0e8f9c62113094ae6d12102a8a08
5
5
  SHA512:
6
- metadata.gz: ec53f724665b121661c55910f04c8db288496c0f94f5a6c8ca178ad910832fd91914f4212358bd4193cf1551caa34c5c79dbe59a55bbca672142bdd7439d2295
7
- data.tar.gz: 72cbdaca21f75ffcbe6ee111e1a1c2956c17afe5dcc48bd83dbf551350e871e471426f551fcd8d8024ab947234fa6ff119379e5f0f6bdc0f803c85ab5079b167
6
+ metadata.gz: 22ad03cf065154cecfdf15c300671418b50c8936bd2e3044ab270e6963769e991b3acfee71bd1bc64d0cc0710f65b852f51013b2049ee0348620f4e76ba6db06
7
+ data.tar.gz: 501937a60325f1b14350221a5fefee1233be134499b083d49fc5d542e01752bbdf111d3f7c8f72e46a57f542420226d10edca8eca39a9a5a43e725f35023e885
@@ -9,6 +9,7 @@ module EacRubyUtils
9
9
 
10
10
  common_concern do
11
11
  include ::EacRubyUtils::Listable
12
+
12
13
  lists.add_symbol :type, :array, :boolean, :common, :hash
13
14
  end
14
15
  end
@@ -8,6 +8,7 @@ module EacRubyUtils
8
8
  class CommonConcern
9
9
  class ClassSetup
10
10
  include ::EacRubyUtils::SimpleCache
11
+
11
12
  attr_reader :a_class, :module_setup, :include_method
12
13
 
13
14
  def initialize(module_setup, a_class, include_method)
@@ -9,6 +9,7 @@ module EacRubyUtils
9
9
  class CommonConcern
10
10
  class ModuleSetup
11
11
  include ::EacRubyUtils::SimpleCache
12
+
12
13
  attr_reader :a_module, :common_concern
13
14
 
14
15
  def initialize(common_concern, a_module)
@@ -5,7 +5,7 @@ require 'eac_ruby_utils/patches/object/debug'
5
5
  module EacRubyUtils
6
6
  module EnumerablesMethods
7
7
  class << self
8
- WRITE_METHOD_PATTERNS = [/\A[a-z].*[\!\=]\z/i] +
8
+ WRITE_METHOD_PATTERNS = [/\A[a-z].*[!=]\z/i] +
9
9
  %i[\[\]= <<].map { |m| /\A#{::Regexp.quote(m)}\z/ } +
10
10
  %i[add clear delete divide keep reset shift subtract]
11
11
  .map { |m| /\A#{::Regexp.quote(m)}.*\z/ }
@@ -13,6 +13,7 @@ module EacRubyUtils
13
13
 
14
14
  included do
15
15
  include ::EacRubyUtils::Envs::SshEnv::DashoOptions
16
+
16
17
  add_nodasho_option('IdentityFile')
17
18
  end
18
19
 
@@ -12,6 +12,7 @@ module EacRubyUtils
12
12
 
13
13
  included do
14
14
  include ::EacRubyUtils::Envs::SshEnv::DashoOptions
15
+
15
16
  add_nodasho_option('Quiet')
16
17
  end
17
18
 
@@ -13,8 +13,10 @@ module EacRubyUtils
13
13
 
14
14
  included do
15
15
  include ::EacRubyUtils::Envs::SshEnv::DashoOptions
16
+
16
17
  add_nodasho_option('Terminal')
17
18
  include ::EacRubyUtils::Listable
19
+
18
20
  lists.add_string :terminal_option, :auto, :disable, :enable, :force
19
21
  end
20
22
 
@@ -4,7 +4,7 @@ require 'eac_ruby_utils/regexp_parser'
4
4
 
5
5
  module EacRubyUtils
6
6
  class ObjectsTable
7
- BY_PARSER = ::EacRubyUtils::RegexpParser.new(/\Aby_([^!\?]+)(!)?\z/) do |m|
7
+ BY_PARSER = ::EacRubyUtils::RegexpParser.new(/\Aby_([^!?]+)(!)?\z/) do |m|
8
8
  BY_PARSER_PARSED_STRUCT.new(m[1], "by_attribute#{'!' if m[2].present?}")
9
9
  end
10
10
  BY_PARSER_PARSED_STRUCT = ::Struct.new(:attribute, :method_name)
@@ -9,6 +9,7 @@ class Module
9
9
  # @return [void]
10
10
  def acts_as_abstract(*methods)
11
11
  include ::EacRubyUtils::ActsAsAbstract
12
+
12
13
  abstract_methods(*methods)
13
14
  end
14
15
  end
@@ -16,6 +16,7 @@ module EacRubyUtils
16
16
  }.freeze
17
17
 
18
18
  include ::EacRubyUtils::Listable
19
+
19
20
  lists.add_symbol :option, :base, :include_modules, :require_dependency, :require_mode
20
21
  lists.add_symbol :require_mode, :active_support, :autoload, :kernel
21
22
 
@@ -37,7 +37,7 @@ module EacRubyUtils
37
37
 
38
38
  raise ::ArgumentError, [
39
39
  "Trying to ignore path \"#{path}\" did not increase the ignored paths.",
40
- "Argument path: \"#{path}\"", "Target path: \"#{target_path}\"",
40
+ "Argument path: \"#{path}\"", "Target path: \"#{target_paths}\"",
41
41
  "Ignored paths: #{result}"
42
42
  ].join("\n")
43
43
  end
@@ -4,7 +4,7 @@ module EacRubyUtils
4
4
  module SimpleCache
5
5
  UNCACHED_METHOD_NAME_SUFFIX = '_uncached'
6
6
  UNCACHED_METHOD_PATTERN = /
7
- \A(\s+)_#{::Regexp.quote(UNCACHED_METHOD_NAME_SUFFIX)}([\!\?]?)\z
7
+ \A(\s+)_#{::Regexp.quote(UNCACHED_METHOD_NAME_SUFFIX)}([!?]?)\z
8
8
  /x.freeze
9
9
 
10
10
  class << self
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.128.3'
4
+ VERSION = '0.128.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.128.3
4
+ version: 0.128.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-03 00:00:00.000000000 Z
11
+ date: 2025-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -118,20 +118,14 @@ dependencies:
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: '0.5'
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: 0.5.1
121
+ version: '0.6'
125
122
  type: :development
126
123
  prerelease: false
127
124
  version_requirements: !ruby/object:Gem::Requirement
128
125
  requirements:
129
126
  - - "~>"
130
127
  - !ruby/object:Gem::Version
131
- version: '0.5'
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- version: 0.5.1
128
+ version: '0.6'
135
129
  - !ruby/object:Gem::Dependency
136
130
  name: eac_ruby_gem_support
137
131
  requirement: !ruby/object:Gem::Requirement