moon_phase_tracker 1.3.2 → 2.0.0

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: 3fbc22c1b9f3481bd4585f49394696bea4bbef56302467bc0d9433bc17f6c179
4
- data.tar.gz: bd9d8566042eb8d1dccc4ab8ce66de2e6542e9103e3c2732ee45c0f467c98e3d
3
+ metadata.gz: 9ff732cf61a629a58284391c9e0cc0148ec6b6a9ad4a4334a94a67070e38b6e5
4
+ data.tar.gz: e07d67d910ca2a10e7dce78d1e992dc5c936fa3a15241e4acdd18554858b6d41
5
5
  SHA512:
6
- metadata.gz: b5575c03ca0ea020a9b9332c0c624567dd9cd370192c0db29ef5578d28c0f98bfbc8c5d2811eeb3498d270b2e1ee8ef279028c0f4638ae4063ff7958abe02457
7
- data.tar.gz: ffe82390f6ad4deab517a8aaa0ef0e32541da030b0b0a10ba5d6991ae1749d2219069d5838cad8e05bff76f3c31913355536e766b50052fa590b177b046c2c7a
6
+ metadata.gz: 94b9aa6bac39efa2bafc7a3c25fb5006cfc1ac290d942acc48fdd1739f6e304cd46cd60b79540ad3c58b9e1203ea37df623d6947d0f6fa8770bc1b01af3b777b
7
+ data.tar.gz: 6a59a51a12d2457b889eb218094c178c4393bff1af296c26a235b4a1e03c6e24808d8bd2df77a6dc13f749f80ef560f73ee0196e2eb4250927b40452653824bd
data/CHANGELOG.md CHANGED
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ Will ship as 2.0.0.
11
+
12
+ ### Breaking
13
+
14
+ - **Ruby 4.0 required**
15
+ - `required_ruby_version` is now `>= 4.0`, dropping Ruby 3.2, 3.3 and 3.4
16
+ - CI runs Ruby 4.0.10 only, in both `main.yml` and `release.yml`
17
+ - `Gemfile.lock` bumped minitest, prism and unicode-emoji so it installs on Ruby 4
18
+
19
+ ### Security
20
+
21
+ - **Server text no longer reaches `APIError` messages**
22
+ - `APIError` messages now carry only gem-computed values, such as the HTTP
23
+ status code
24
+ - Removed the server's `error` field, the HTTP reason phrase, and
25
+ `JSON::ParserError#message`, which echoes the response body
26
+ - `cause: nil` on the malformed-response path, because the original exception
27
+ still held the remote text
28
+ - `Net::HTTPBadResponse` now maps to `APIError`. It used to reach callers raw,
29
+ with the remote status line in its message
30
+ - `NetworkError` still interpolates the underlying error message. That text is
31
+ the gem's own hostname and OS resolver output, not server content
32
+
33
+ ### Fixed
34
+
35
+ - **Error classes were unreachable**
36
+ - In `Client#make_request`, `Net::TimeoutError` does not exist in the locked
37
+ net-http 0.6.0, so evaluating that rescue clause raised `NameError` and
38
+ masked the real error
39
+ - Every `APIError` and `NetworkError` the gem documented was unreachable on
40
+ that path
41
+ - Added `spec/moon_phase_tracker/client_spec.rb` covering the error paths
42
+
10
43
  ## [1.3.2] - 2025-08-04
11
44
 
12
45
  ### Changed