eac_ruby_utils 0.64.0 → 0.65.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: aebc2af21cfa1d812eb22e31af074450b65a3fd9641cfc072086f63b79e42ca5
4
- data.tar.gz: 86257e2b0311d994c1ca761826c0726c77433765f8604a072339256d2145e9fc
3
+ metadata.gz: 823da035ba7b8dc287824ac361ede6806dc17dd19aeb1ae2cd4626f3d1883231
4
+ data.tar.gz: 44ad34e935574af466a3a3b9eb72859074f58b43759c2355423f7162bab9df66
5
5
  SHA512:
6
- metadata.gz: 953714355bec27c6d0c732391c15fc63042b50953a042e13e7d9563998c83e3ca74f0c3547aca0d2367008ca6c655e76cab52eedd6ab7de1b4f0a572c38ad2f4
7
- data.tar.gz: d2714d1ceee3653692b2cf7ba197cb8814145e4a40e2e9a80edd1d7b08e6abe8dfef274b64536b5f68634086eabcb0a0e65a20724d40754b34dd5ccaf57fce91
6
+ metadata.gz: a98249defe02854ceb5b865b6ed1c63cb78cf93ec2e70340428dc0a7ebc5f864fddd30f57108b7892959a3bbc9ab9a00c574c73d2e827e59d105f927347df2d0
7
+ data.tar.gz: 414b7753c72ea221e05a9b41f2563fe5c01c82025658aae6ca13bd705c791a7c78400c45e0663c7118b24d8007fcd7164c9ad88864a45767f472fa52e31ba99d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.64.0'
4
+ VERSION = '0.65.0'
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.64.0
4
+ version: 0.65.0
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: 2021-05-23 00:00:00.000000000 Z
11
+ date: 2021-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -100,7 +100,6 @@ files:
100
100
  - lib/eac_ruby_utils/common_constructor/class_initialize.rb
101
101
  - lib/eac_ruby_utils/common_constructor/instance_initialize.rb
102
102
  - lib/eac_ruby_utils/common_constructor/super_args.rb
103
- - lib/eac_ruby_utils/contextualizable.rb
104
103
  - lib/eac_ruby_utils/core_ext.rb
105
104
  - lib/eac_ruby_utils/custom_format.rb
106
105
  - lib/eac_ruby_utils/envs.rb
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module EacRubyUtils
4
- # Provides the method context which search and call a method in self and ancestor objects.
5
- module Contextualizable
6
- def context(method)
7
- current = self
8
- while current
9
- return current.send(method) if current.respond_to?(method)
10
-
11
- current = current.respond_to?(:parent) ? current.parent : nil
12
- end
13
- raise "Context method \"#{method}\" not found for #{self.class}"
14
- end
15
- end
16
- end