eco-helpers 1.5.4 → 1.5.5

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: afd844b9beef06b6b7433f14dcd1138be3796e381c6f9fb9b339449cf324f5f0
4
- data.tar.gz: 6376fa023304d0e3b0a0ce07a700359a3e5891d6f1a95b37f723318f6a4965df
3
+ metadata.gz: e5c38c89a722acd7c4cda02090d342bc5001c172dd81f832b0e61448c71168c1
4
+ data.tar.gz: e0d8c5a4bda31d93dd9b0934dc95865a0b0a9dd4c99882dcfbb62f404d09a25d
5
5
  SHA512:
6
- metadata.gz: b458416828c6a84d17ac0ed83b68dd15b4fa154627365ab00928410008874305f3cd54210f10ee90cca1f8172587e44140470e43b00f2348e6b3eaf5fa6ec17c
7
- data.tar.gz: 67a49053cb25f484639603c6a95c42de53d501b441a72aeb139bb18352f4820f36cb7a3a3ce3fbdf3138dc4a7c9ac62d927523c4cd2ce61bd2f45306c2fb4fa5
6
+ metadata.gz: 9fc9fdef2f0ffd80d0350f8ba813d48843f036892b9ba390c23bcc7fb4f65c4d6760494b84c5bbc1883c064bc65826a44ded2cfcbd4c74a0161a91dffb2c723f
7
+ data.tar.gz: f15c70ea774d4e69b4e6dbb9bda829b1fe08979b6b127979cf5bf7bd953cf258aac5f5e61d6fedb65576af6bcc2ab17d358c29741352b4b75a2284523e74fc60
@@ -1,6 +1,12 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.5.5] - 2020-12-xx
5
+
6
+ ### Added
7
+ ### Changed
8
+ ### Fixed
9
+
4
10
  ## [1.5.4] - 2020-12-02
5
11
 
6
12
  ### Added
@@ -7,6 +7,7 @@ module Eco
7
7
  end
8
8
  end
9
9
 
10
+ require_relative 'version_patches/object'
10
11
  require_relative 'version_patches/exception'
11
12
  require_relative 'version_patches/hash'
12
13
  require_relative 'version_patches/ecoportal_api'
@@ -0,0 +1,10 @@
1
+ Object.class_eval do
2
+ unless method_defined?(:yield_self)
3
+ define_method(:yield_self) do |&block|
4
+ return block.call(self) if block
5
+ out = self
6
+ out = [self] unless self.is_a?(Enumerable)
7
+ out.each
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "1.5.4"
2
+ VERSION = "1.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
@@ -296,6 +296,7 @@ files:
296
296
  - lib/eco/api/common/version_patches/exception.rb
297
297
  - lib/eco/api/common/version_patches/hash.rb
298
298
  - lib/eco/api/common/version_patches/hash/deep_merge.rb
299
+ - lib/eco/api/common/version_patches/object.rb
299
300
  - lib/eco/api/custom.rb
300
301
  - lib/eco/api/custom/error_handler.rb
301
302
  - lib/eco/api/custom/namespace.rb