ace-review 0.62.2 → 0.62.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: 0d5ed9b815de2be3f42f06d250cd67c0b9016b45af7a22a577e22627c3ecbd58
4
- data.tar.gz: b1da6f44694b73e8cc155d1f71c9b7100a7f7cf794e955ae6ee8d4ba3504fd06
3
+ metadata.gz: f8f691c307f6df84befce2dda53f79c5a1778f9a1207bc15d0c39a8535a63ec1
4
+ data.tar.gz: 0b5346e057e4427bed7eb4b7f4cb5ce08d27d5fb83ee4dfbfccc24991c7b53e9
5
5
  SHA512:
6
- metadata.gz: 5f47911975e20b99a4f56dfe274db15f2f9fb1b237bb5cdd245d00d7d72653c07f586bde7c4957dad4f04c1c544a2969eeabf639c5ee5c0ea8cc0f7863b21819
7
- data.tar.gz: 335d6fa500b2818b297477b08db95b1b4c5afbbe1d1c214fbe8236612b7dbd2a1f43ab43cc43a0d1f9fc08b7f3f7c7fdac2c3d8d5d08e32a786acb5927e0367b
6
+ metadata.gz: 6fec7e83a708f00b0e26820e8f29784e4f3b5ac19d83f83eb13428f0a29136e5d46b82ef4c67da8a966b56266da1c153f7a2a0325a5a9a4f2444a3355cfb9690
7
+ data.tar.gz: adec1749b05a807e515106dd900961e033b555519a42233c90a7fbae31394ea932d1ee119495c2bd6719b23ef4b42bdeb46012596ca14a616218d930c770b635
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.62.3] - 2026-11-10
11
+
12
+ ### Fixed
13
+
14
+ - Parse review JSON containing literal Markdown fences without truncating valid findings.
15
+
10
16
  ## [0.62.2] - 2026-10-23
11
17
 
12
18
  ### Added
@@ -353,15 +353,15 @@ module Ace
353
353
  # @return [String] Extracted JSON string
354
354
  def extract_json_from_response(response)
355
355
  cleaned = response.to_s.strip
356
+ return cleaned if cleaned.start_with?("{")
356
357
 
357
- # Try to extract JSON from markdown code fence (handles text before/after fence)
358
- if (match = cleaned.match(/```(?:json)?\s*(.*?)\s*```/m))
358
+ # Only fence lines wrap the response. Findings can contain literal backticks.
359
+ if (match = cleaned.match(/^```(?:json)?[ \t]*\r?\n(.*?)^```[ \t]*\r?$/m))
359
360
  return match[1].strip
360
361
  end
361
362
 
362
- # No code fence - try to find JSON object directly
363
- # This handles cases where JSON is embedded in text without fences
364
- if cleaned !~ /\A\s*\{/ && (json_match = cleaned.match(/(\{.*\})/m))
363
+ # This handles JSON embedded in text without a wrapping fence.
364
+ if (json_match = cleaned.match(/(\{.*\})/m))
365
365
  return json_match[1]
366
366
  end
367
367
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Review
5
- VERSION = "0.62.2"
5
+ VERSION = "0.62.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-review
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.2
4
+ version: 0.62.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-10-23 00:00:00.000000000 Z
10
+ date: 2026-11-10 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: json