al_math 1.0.1 → 1.0.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +14 -5
  4. data/lib/al_math.rb +0 -1
  5. metadata +8 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2fbc350fe4a31d0dc12a0c8240ab2e56fc2021660cf7139f96935fd049ddf88
4
- data.tar.gz: 1f3fd9bb5bfde5e39880283fd05f0155fbe60ed2e2b216fe046ba4d745b1c6b2
3
+ metadata.gz: a68223faa1bd25cfbfc5db72387a013e8b378e061265137435ac7bd749dae267
4
+ data.tar.gz: f58f52c6bd4fd62db1919197f62627f51d65c8ef5cfc56588da1a6a06c7970b5
5
5
  SHA512:
6
- metadata.gz: 58e44cd6b7fcac77bb53ea8299b45616b5c331ffe2da7b8b5dfb63dbe520912f5d961bf342090f44df2960e6ae10a6a0d49acaf52069a33d1ffb407e403808c3
7
- data.tar.gz: 1fb3819ff86b39ea758f3bc995e360d3fde7e12cefc3e43beb8267d098fbe7046f3926c336b9932abc6fc1fb29c048445a01aa635f0748732892dc93ef19141e
6
+ metadata.gz: 298460b685f29ba97e9397d3d68fc79cf654d1ead4dc9c6494018cbdf36798d26e119950dca9c9bf2e6b3399ef2ccfeb9d0cfef35bb3b27fce545eaf99b3025a
7
+ data.tar.gz: 207b9d0ceb647b646149f733e8ca0028bc9bcddaa75ab200848121636074175cf51155571f14c5418ebffe4ecb8bf6df9f9a1d82ae2ffac2ef6102832e046df8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2 - 2026-07-24
4
+
5
+ ### Security / hygiene
6
+
7
+ - Stopped emitting the `polyfill.io` (`es6`) `<script>` from the MathJax path. The polyfill.io service was taken over in a June 2024 supply-chain attack and is unnecessary for MathJax 3 on modern browsers. The tag no longer reads `third_party_libraries.polyfill`, so the corresponding starter `_config.yml` entry can be dropped as follow-up cleanup.
8
+
3
9
  ## 1.0.1 - 2026-02-17
4
10
 
5
11
  - Switched TikZJax CSS/JS loading from vendored plugin files to pinned CDN URLs in `third_party_libraries.tikzjax`.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Al-Math
1
+ # al-math
2
2
 
3
- A Jekyll plugin that provides math-related assets and script loading.
3
+ `al_math` provides math runtime loading for `al-folio` v1.x.
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,8 +8,6 @@ A Jekyll plugin that provides math-related assets and script loading.
8
8
  gem 'al_math'
9
9
  ```
10
10
 
11
- Enable in `_config.yml`:
12
-
13
11
  ```yaml
14
12
  plugins:
15
13
  - al_math
@@ -17,12 +15,14 @@ plugins:
17
15
 
18
16
  ## Usage
19
17
 
18
+ Render assets:
19
+
20
20
  ```liquid
21
21
  {% al_math_styles %}
22
22
  {% al_math_scripts %}
23
23
  ```
24
24
 
25
- TikZJax runtime assets are loaded from `third_party_libraries.tikzjax` when a page sets `tikzjax: true`.
25
+ TikZJax runtime is loaded from CDN config when a page sets `tikzjax: true`.
26
26
 
27
27
  ```yaml
28
28
  third_party_libraries:
@@ -34,3 +34,12 @@ third_party_libraries:
34
34
  css: <optional-sri-hash>
35
35
  js: <optional-sri-hash>
36
36
  ```
37
+
38
+ ## Ecosystem context
39
+
40
+ - Starter wiring/docs live in `al-folio`.
41
+ - Math runtime ownership lives in this plugin.
42
+
43
+ ## Contributing
44
+
45
+ Math runtime provider/config behavior changes should be proposed in this repository.
data/lib/al_math.rb CHANGED
@@ -65,7 +65,6 @@ module AlMath
65
65
  out << %(<script type="text/javascript" src="#{libs.dig('pseudocode', 'url', 'js')}" integrity="#{libs.dig('pseudocode', 'integrity', 'js')}" crossorigin="anonymous"></script>)
66
66
  else
67
67
  out << %(<script src="#{baseurl}/assets/al_math/js/mathjax-setup.js"></script>)
68
- out << %(<script defer src="#{libs.dig('polyfill', 'url', 'js')}" crossorigin="anonymous"></script>)
69
68
  end
70
69
  end
71
70
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: al_math
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - al-org
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-07-29 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: jekyll
@@ -58,7 +59,7 @@ dependencies:
58
59
  version: '2.0'
59
60
  - - "<"
60
61
  - !ruby/object:Gem::Version
61
- version: '3.0'
62
+ version: '5.0'
62
63
  type: :development
63
64
  prerelease: false
64
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -68,7 +69,7 @@ dependencies:
68
69
  version: '2.0'
69
70
  - - "<"
70
71
  - !ruby/object:Gem::Version
71
- version: '3.0'
72
+ version: '5.0'
72
73
  - !ruby/object:Gem::Dependency
73
74
  name: rake
74
75
  requirement: !ruby/object:Gem::Requirement
@@ -104,6 +105,7 @@ metadata:
104
105
  allowed_push_host: https://rubygems.org
105
106
  homepage_uri: https://github.com/al-org-dev/al-math
106
107
  source_code_uri: https://github.com/al-org-dev/al-math
108
+ post_install_message:
107
109
  rdoc_options: []
108
110
  require_paths:
109
111
  - lib
@@ -118,7 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
120
  - !ruby/object:Gem::Version
119
121
  version: '0'
120
122
  requirements: []
121
- rubygems_version: 4.0.6
123
+ rubygems_version: 3.5.22
124
+ signing_key:
122
125
  specification_version: 4
123
126
  summary: Math rendering assets and tags for Jekyll
124
127
  test_files: []