digiwin_dsp 0.2.1 → 0.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: cf609190d9515001cb6540d2bbf8a88c8e1f6a5294ea21edbe1408bad4305fc4
4
- data.tar.gz: 61f86d3485d0322c3bd0af81bddcdf0ae3105327d9de63a038dbab6854a3901b
3
+ metadata.gz: 85730a801ceb67eaeafaffe50bdbdcf971c33005651e2c3d4483a78f1e076bc4
4
+ data.tar.gz: a8e441947b5b0b99a437d8572181a29aeac923890fdf76dcff7ef44c7a88e412
5
5
  SHA512:
6
- metadata.gz: 977f1b3a3e31e5de38b1bc48327ef5427cbedeb12b60949f1812c964a768fc96ab1810ca4b1aae7f4427c38b85c6fe108f296082ec0b202052bab76578901a31
7
- data.tar.gz: 9301f03f1af6630147a6d1ad88fd7db41fdd70c329886b5b526a75bbf4f2492643852f353115f5c65e22c759656d1cb86708620d28199f3d9b4514360f69da90
6
+ metadata.gz: 1b79afb15f4661863fbf0a0cff9a6ac8812fc1d36c52cae6119d488f8eef8fcde5913cecbca5974ae4df2cda4f2cd3bfaf4c7405413a456c1a0afb06d738d139
7
+ data.tar.gz: 33a97756f3d48e8384631b7706ba5bf8a8bf83586221315d24a71710284494ff4ebb3d013c4aa8ec0fc2254aa9dd9448d0f1e33714dc279870d477e5b0b057df
data/CHANGELOG.md CHANGED
@@ -140,7 +140,8 @@ Initial release. Covers the four Self-hosted Website Module (自有官網模組)
140
140
  - The gem is **synchronous on purpose**. Callers wrap requests in their own background job runner (e.g. ActiveJob) when needed.
141
141
  - Idempotency: clients can send `X-Idempotency-Key` via the `idempotency_key:` kwarg. DSP also dedupes server-side by `form_no + platform_id`.
142
142
 
143
- [Unreleased]: https://github.com/7a6163/digiwin_dsp/compare/v0.2.1...HEAD
143
+ [Unreleased]: https://github.com/7a6163/digiwin_dsp/compare/v0.2.2...HEAD
144
+ [0.2.2]: https://github.com/7a6163/digiwin_dsp/compare/v0.2.1...v0.2.2
144
145
  [0.2.1]: https://github.com/7a6163/digiwin_dsp/compare/v0.2.0...v0.2.1
145
146
  [0.2.0]: https://github.com/7a6163/digiwin_dsp/compare/v0.1.1...v0.2.0
146
147
  [0.1.1]: https://github.com/7a6163/digiwin_dsp/compare/v0.1.0...v0.1.1
@@ -29,6 +29,7 @@ module DigiwinDsp
29
29
  # "ORDER-123:Duplicated:訂單不可重複"), so we substring-match rather than
30
30
  # anchor with \A. Order matters: more-specific patterns first.
31
31
  ENVELOPE_FAILURE_MAP = [
32
+ [/DSP 序號驗證失敗/, AuthenticationError], # bad / missing DSP-api-key
32
33
  [/Duplicated:/, DuplicateRequestError], # order already exists
33
34
  [/Processing:資料處理中/, RateLimitError], # transient; retry later
34
35
  [/Processing:取消訂單處理中/, ValidationError], # cancel in flight
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DigiwinDsp
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digiwin_dsp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zac