strongmind-platform-sdk 3.33.2 → 3.33.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: 16ef38b315d004dc797038066c3977c189a027ede5c9ce9b5816a7115ba98879
4
- data.tar.gz: 2ea99aeeef3faadf552cb389b04ccc6e594e7bd97361aa4548e455bc1278aab8
3
+ metadata.gz: 85bd1d055f77716a03a77710cde29bcbc624297fab97ef27f3a4d47073fce58b
4
+ data.tar.gz: '0549546024a90f8af99b256228b76386eb0138f6a22e49301872e53359f00993'
5
5
  SHA512:
6
- metadata.gz: 5efb1af7b39c87ad4ece516cadc566f997e0a30a6c8e23964978ad240eef99660859421b102368bf379f8e1dc4f7c7990ed977b56d477ff65ca6f65aced1a202
7
- data.tar.gz: 4cdb95b27e2165a8b1a2a325714b1cfa9f67946975e0b264684946fb49a591b02cea635404d55855d9582eb8ae04c3a08e9af0e74476cfd0c9481e394be31391
6
+ metadata.gz: e14d78d87e2eddb4b5ab659034962cd5c1c3fd1c966008be2f65779cfa0b772adbdb9f1f571fc6987dc24d2336fbb8c8a4d4fb098f1a4551b5c972edd0a85ddd
7
+ data.tar.gz: d5d61fda92d8b10005427332d01b5656b1c04d4aeece8a19406eff0c3179371a6b52d5988ec8c84f1466a07f9d23089238bffaa8e3c590b49925e5269ca7134e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## [Unreleased]
2
2
 
3
+ - Fix `CanvasApiWrapper::Client#success?` treating some non-2xx responses as successful. The check used an unanchored `/2[0-9]/` match, so `429` matched on its `"29"` substring and a rate-limited response took the success branch, then raised `NoMethodError: undefined method 'split' for nil:NilClass` in `page_links` — `429` responses carry no `Link` header. Now anchored to `(200..299)`, so these fall through to the error branch and raise a descriptive message. Also corrects `422` and the other `3xx`/`4xx`/`5xx` codes matching the same pattern.
4
+
3
5
  ## [3.33.0] - 2026-07-28
4
6
 
5
7
  - Add `PlatformSdk::Identity::Zitadel::Client` — Zitadel v2 user API client (`#provision_identity`), mirroring the IS4 client's signature. Preserves the IS4 `Id` as the Zitadel `userId` and treats a `409` as an idempotent replay once the preserved id is confirmed to hold the same username.
@@ -648,7 +648,7 @@ module PlatformSdk
648
648
  # @param response_code [Integer]
649
649
  # @return [Boolean]
650
650
  def success?(response_code)
651
- !!(response_code.to_s =~ /2[0-9]/)
651
+ (200..299).cover?(response_code.to_i)
652
652
  end
653
653
 
654
654
  # @param message [String]
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 33
6
- PATCH = 2
6
+ PATCH = 3
7
7
 
8
8
  VERSION = "#{PlatformSdk::MAJOR}.#{PlatformSdk::MINOR}.#{PlatformSdk::PATCH}".freeze
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.33.2
4
+ version: 3.33.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-07 00:00:00.000000000 Z
11
+ date: 2026-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64