ecoportal-api-v2 3.3.4 → 3.3.5
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 +4 -4
- data/CHANGELOG.md +24 -0
- data/lib/ecoportal/api/common/content/class_helpers.rb +1 -1
- data/lib/ecoportal/api/v2_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9ea2abc82177f2b292bab333e466526dc633c8b849a4af90ce66c7ed8e127f7
|
|
4
|
+
data.tar.gz: 655492d67fe745a2025dbb3b3fc4c928af901a985d40daf80a2fad687c5502d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c822d0f45c889887c6b65b76ed410b141b814a490cabdeb8144e6135066fa2dd54153fb747dc95213b6038563750f40fbc58fb10d1341b51c239471e4cdba9ff
|
|
7
|
+
data.tar.gz: 1d780d683ba889a1ec606a36877a36e35d2aa4a4fea74c060c75c2b03d052af0529aa8d538d250f1f48cae6546c94bcf2dc79c3007ca9bb123c90595a72328a6
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.3.5] - 2026-08-20
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **`ClassHelpers#to_time` rescued a constant that does not exist.** The rescue clause read
|
|
10
|
+
`ArgumentArgument`, which appears nowhere in this gem, so the documented `exception: false`
|
|
11
|
+
mode could never work: a failed `Time.parse` raised
|
|
12
|
+
`NameError: uninitialized constant ...ClassHelpers::ArgumentArgument` while Ruby resolved the
|
|
13
|
+
rescue, instead of returning `nil`. Downstream, `ecoportal-api-graphql`'s models inherit this
|
|
14
|
+
helper through DoubleModel, so a null or object-shaped date reaching a `passdate` field
|
|
15
|
+
surfaced as that NameError rather than as nil or a clean `ArgumentError`.
|
|
16
|
+
Adds `spec/ecoportal/api/common/content/class_helpers_spec.rb` -- the first spec that file has
|
|
17
|
+
had -- covering both modes, `Time`/`nil` pass-through and `Date` conversion. The guard was
|
|
18
|
+
verified by re-introducing the typo, which fails the suite with exactly that NameError.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- **CI runs on merge requests.** `.gitlab-ci.yml` previously carried only the `epai:sync`
|
|
23
|
+
include, whose rules exclude MR pipelines, so a merge request produced a pipeline with zero
|
|
24
|
+
jobs -- which GitLab does not create at all. With "only allow merge if pipeline succeeds"
|
|
25
|
+
enabled, every MR was blocked on a pipeline that could not exist. Now: `workflow:` rules that
|
|
26
|
+
admit `merge_request_event`, `rspec` blocking, `rubocop` non-blocking while four pre-existing
|
|
27
|
+
offences remain in `class_helpers.rb`.
|
|
28
|
+
|
|
5
29
|
## [3.3.4] - 2026-08-13
|
|
6
30
|
|
|
7
31
|
### Fixed
|