ecoportal-api-v2 3.2.1 → 3.2.3

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: 4dab64a9422215b6f7d9b4bda3eb73c411344aca80f99cc2711964900bfc4a30
4
+ data.tar.gz: f5799cb3923a128de225284f3651a6da79c685945475bea3a266596a45cab943
5
5
  SHA512:
6
- metadata.gz: f09f03b0d08e86d11f07e30eacc033f6f84bad40d1665b9a027421ca3241fe6134db4a8fef205d98d90cf7fd336b8637b89c709dc0ca5ec3cfc50019a68c379f
7
- data.tar.gz: adb0ad497d2f42d0ae28d29cd40d7b32ca0f9e0cff7e0115a8d5f82b1488230d20d41ff3359bf1195dec27a7e0c9c6d9caa7f68d9c985904980cf0240e6fd3f5
6
+ metadata.gz: 937f64a463494c9ba9a31833dcf015df176550c6d97562e820d6ab5c912aa5cbc3698ff210cfcafaf9409fd6f14b3b141180c09ad16f889a986474b7fda98d5b
7
+ data.tar.gz: 481ef0272c9df40e2a27e8e5b3a71ba3db6d6ae29ca34d1c4720bbb121315f14fb5cad9731556e025a4c106a6a6e791ff4503889bc34edad8de5ca0c58b7c463
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,28 @@ All notable changes to this project will be documented in this file.
12
12
 
13
13
  ### Fixed
14
14
 
15
+ ## [3.2.3] - 2025-05-17
16
+
17
+ ### Fixed
18
+
19
+ - **typo** (`#patch_diff`)
20
+
21
+ ## [3.2.2] - 2025-05-17
22
+
23
+ ### Changed
24
+
25
+ - upgraded `ecoportal-api` gem
26
+
27
+ ### Fixed
28
+
29
+ - Namespaces
30
+
31
+ ## [3.2.1] - 2025-05-16
32
+
33
+ ### Changed
34
+
35
+ - upgraded `ecoportal-api` gem
36
+
15
37
  ## [3.1.1] - 2025-05-14
16
38
 
17
39
  ### 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
@@ -8,7 +8,7 @@ module Ecoportal::API::Common::Content::DoubleModel::Diffable
8
8
  @subject = subject
9
9
  end
10
10
 
11
- def path_diff
11
+ def patch_diff
12
12
  super(
13
13
  curr_doc,
14
14
  prev_doc
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- GEM2_VERSION = '3.2.1'.freeze
3
+ GEM2_VERSION = '3.2.3'.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.3
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