bacon-tracker 1.1.1 → 1.1.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: 42440d405b85d2a4c75b2d12dc9f76a5519e694ecd88e10b208d008bc8f8a6ad
4
- data.tar.gz: 2a7a38d3156579ec88136713ecc60f8b1bf35a35d57f4e9141000be7a9ac2946
3
+ metadata.gz: 322d2ee34076ea624f44901ff5f2a67ced37ddc3e0d0677ead1cf40c39fc4a94
4
+ data.tar.gz: 1501ba1a4b4aea4e4cd7d6c7e3e8e8bb565e4b99d18624765e06e374e2982dc2
5
5
  SHA512:
6
- metadata.gz: c85377256c359817bf27bae870babd0f34fe724d5b1f117eb0a61c216ea50fc18dbb5bfbded6d105286f9d146ffe9c315e83b1d7b5bfd70e1ae5014e2c865f1d
7
- data.tar.gz: d57fc7d4fb694b8729751b92d04d34921de3099ded4fcd2a52eadd2e665ceae33f66129663198279dd489b30c242f41f683f081ec5bea48e730d0f506eba5d82
6
+ metadata.gz: 6a3ea03b467fb292aec46df928970edf1949b21aa6f8cf1a5d8c76b6426ebc931bec202a07a02985c83620d369aea37e45a21eff7b0f373d80d0a9b0b3bea899
7
+ data.tar.gz: ead2444ec10dd2fd5d16f22e1c243b9f98de2b0b614db513b08d5e7b92cf92e5403b782bbc55841f999b0c9c42f89ba1a0c7f8359c58d7f8d481f37850b201ae
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented here.
4
4
  Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), [Semantic Versioning](https://semver.org/).
5
5
 
6
+
7
+ ## [1.1.2] - 2026-10-23
8
+
9
+ ### Fixed
10
+
11
+ - Docs pages and decision records no longer all show "could not load" after the first page with a fenced code block. kramdown required Rouge to highlight the block whenever Rouge was installed, and Rouge loaded a second copy of `strscan`, which broke every markdown render after it until the server restarted. Code blocks are now rendered plain, without a syntax highlighter, which is how the page already showed them.
12
+
6
13
  ## [1.1.1] - 2026-10-21
7
14
 
8
15
  ### Fixed
@@ -1,3 +1,3 @@
1
1
  module BaconTracker
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
data/lib/bacon_tracker.rb CHANGED
@@ -1172,8 +1172,15 @@ module BaconTracker
1172
1172
  }
1173
1173
  end
1174
1174
 
1175
+ # No syntax highlighter: kramdown defaults to Rouge and requires it on the
1176
+ # first fenced code block if it happens to be installed. Rouge activates
1177
+ # the strscan gem over the already-loaded default one, two StringScanner
1178
+ # types then live in the process, and every parse after that raises - the
1179
+ # whole docs surface goes dark until a restart. Plain <pre><code> is all
1180
+ # the page styles anyway.
1175
1181
  def render_markdown(text)
1176
- doc = Kramdown::Document.new(gfm_table_compat(text), input: 'GFM', hard_wrap: false)
1182
+ doc = Kramdown::Document.new(gfm_table_compat(text), input: 'GFM', hard_wrap: false,
1183
+ syntax_highlighter: nil)
1177
1184
  sanitize_tree!(doc.root)
1178
1185
  doc.to_html
1179
1186
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bacon-tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Berger