eco-helpers 2.0.59 → 2.0.60

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: aec1ba6cc48e340c576f141bec3e128afcb0fe7e072051c8a6da5a6e0fb9c3b1
4
- data.tar.gz: a592079366217bd0ec34fbae8a659ed971cc79bdac762a26f5f36e2346f0f944
3
+ metadata.gz: 182922a2146b1fa50b0372253a5279eb7d801c4fabd8fcd5303dd6322091c91c
4
+ data.tar.gz: 5f807f72bc3b6fc7a376bbd43d7a10b99cb5144a606ded5f9eb6817b82740788
5
5
  SHA512:
6
- metadata.gz: e612ff67ebd1148cffc40c064bdcb6e61d119c021b5b1261210699d1f1114bf5d42479822a54545f67947b6f0eee6293607a61947d5e245195cd7a60e1c5d56a
7
- data.tar.gz: 2ff3fd08e0f4780a9f0891081357b1e3723ef341c8d038e2f3b3fa508b59349a21ea4bc30f7b71633cdabd73f8d7bd1032b189c67efd7c1316ae64b955d69e25
6
+ metadata.gz: 40cb65992b4c9524e025b7f7073f699062cd22008202491c593089b662c9b72ac611eb9cfcccfe14a2f62e1d519eb5dad14fef9389b6e2cbee1798ced0baa54f
7
+ data.tar.gz: 3e3154fcf629162a1445acbafd96f2d00f8d2a84f77bfb9b2cb68ce6c7f36ed4e8f5fea3cee43e897ac1b50b0210fd14bf9489b0a6708a6bc954093a7b1af3f8
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [2.0.59] - 2022-06-xx
4
+ ## [2.0.60] - 2022-06-xx
5
+
6
+ ### Added
7
+ ### Changed
8
+ ### Fixed
9
+ - `Ecoportal::API::V1::PersonDetails.key?` patched
10
+
11
+ ## [2.0.59] - 2022-06-07
5
12
 
6
13
  ### Added
7
14
  - `Eco::API::Organization::TagTree#leafs` new method to spot tags with no children.
@@ -13,7 +20,7 @@ All notable changes to this project will be documented in this file.
13
20
  ### Fixed
14
21
  - `Eco::API::Policies::DefaultPolicies::UserAccess`
15
22
  - `-exclude-account` should leave it untouched
16
-
23
+
17
24
  ## [2.0.58] - 2022-05-31
18
25
 
19
26
  ### Added
@@ -0,0 +1,15 @@
1
+ module Ecoportal
2
+ module API
3
+ class V1
4
+ class PersonDetails
5
+ # Checks if an `id` or `alt_id` exists
6
+ # @param id [String] the `id` or the `alt_id` of the target field.
7
+ # @return [Boolean] `true` if it exists, `false` otherwise
8
+ def key?(id)
9
+ @fields_by_id or index_fields
10
+ @fields_by_id.key?(id) || @fields_by_alt_id.key?(id)
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,2 +1,3 @@
1
1
  require_relative 'ecoportal_api/external_person'
2
+ require_relative 'ecoportal_api/external_details'
2
3
  require_relative 'ecoportal_api/internal_person'
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "2.0.59"
2
+ VERSION = "2.0.60"
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: 2.0.59
4
+ version: 2.0.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
@@ -437,6 +437,7 @@ files:
437
437
  - lib/eco/api/common/session/sftp.rb
438
438
  - lib/eco/api/common/version_patches.rb
439
439
  - lib/eco/api/common/version_patches/ecoportal_api.rb
440
+ - lib/eco/api/common/version_patches/ecoportal_api/external_details.rb
440
441
  - lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
441
442
  - lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
442
443
  - lib/eco/api/common/version_patches/exception.rb