ecoportal-api-v2 3.2.1 → 3.2.2

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: aaf7bf7b0b0a2a7c68d2ed09dfdaa0b69860439f0003aefe110c9778c5e78625
4
- data.tar.gz: a2a5ac69eaf1845f5e985f4cda8a40aa4e39c0533e6b2346c3a2f402945431dd
3
+ metadata.gz: 27272591a287d72280eb8ed11719a96a56eac6268bbf9763869b083f7d659ef4
4
+ data.tar.gz: b12071246e6b4d8fd45fb655a3459f84d2f1e8077f25c0d47f22959c002f3b44
5
5
  SHA512:
6
- metadata.gz: f09f03b0d08e86d11f07e30eacc033f6f84bad40d1665b9a027421ca3241fe6134db4a8fef205d98d90cf7fd336b8637b89c709dc0ca5ec3cfc50019a68c379f
7
- data.tar.gz: adb0ad497d2f42d0ae28d29cd40d7b32ca0f9e0cff7e0115a8d5f82b1488230d20d41ff3359bf1195dec27a7e0c9c6d9caa7f68d9c985904980cf0240e6fd3f5
6
+ metadata.gz: c78f4d91e0da127ab0619e2e562e9dfe618dd3b98bf1fbcd2cfce512ad5a857f75337444662e6ad9c2653c7832b92fee41412491dc6ecd52e8ca62088ec72acc
7
+ data.tar.gz: c059f9d5e456bed8e71028b2d2a0d0c3cd257b2f89e117e897f48268a6cd23fab1b56758a117be504bc31416987a7debbfc09a04734df2ecd7a3944ffb1078b8
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [3.2.1] - 2025-05-xx
5
+ ## [3.3.1] - 2025-05-xx
6
6
 
7
7
  ### Added
8
8
 
@@ -12,6 +12,22 @@ All notable changes to this project will be documented in this file.
12
12
 
13
13
  ### Fixed
14
14
 
15
+ ## [3.2.2] - 2025-05-17
16
+
17
+ ### Changed
18
+
19
+ - upgraded `ecoportal-api` gem
20
+
21
+ ### Fixed
22
+
23
+ - Namespaces
24
+
25
+ ## [3.2.1] - 2025-05-16
26
+
27
+ ### Changed
28
+
29
+ - upgraded `ecoportal-api` gem
30
+
15
31
  ## [3.1.1] - 2025-05-14
16
32
 
17
33
  ### Added
@@ -90,9 +90,12 @@ module Ecoportal::API::Common::Content::DoubleModel::Attributable::Nesting
90
90
  end
91
91
 
92
92
  # It allows to work-around missing item_key
93
+ # @note this is a **work around**.
93
94
  def items_key_setup!(embedded_class, obj_doc)
94
95
  # only if is going to be a collection
95
- return unless obj_doc.is_a?(Array) && embedded_class < CollectionModel
96
+ col_class = Ecoportal::API::Common::Content::CollectionModel
97
+
98
+ return unless obj_doc.is_a?(Array) && embedded_class < col_class
96
99
  return unless (item_class = embedded_class.klass)
97
100
  # if already has key don't need to work around
98
101
  return if item_class&.key
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- GEM2_VERSION = '3.2.1'.freeze
3
+ GEM2_VERSION = '3.2.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecoportal-api-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-16 00:00:00.000000000 Z
11
+ date: 2025-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry