disarm 0.19.0-x86_64-linux → 0.20.0-x86_64-linux

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: 8819ec0b23cf2a644d01483bda6810543c9b4bc50ac0498d0b711a286c3cae72
4
- data.tar.gz: cb06e502ed173a2a4524711ca0d8cd4aabf10d9c874f7b92c5cc6fe9f2e966b3
3
+ metadata.gz: c96b93b2853a39244d85fd39cb5251ce134e40345061c32d39f5dbc021b8a7de
4
+ data.tar.gz: 76f87025375bab53275f069ec849d183719fb320436aa2baf98c24bcdf5b4905
5
5
  SHA512:
6
- metadata.gz: b16c66710c8978cc7adb825ff4a4c0ceaa9aa4ef7dab4e2dadad5c0675eab3fa4bd63cfb36e593902321510519b04c3b7a2473f58e05a29aaae38e73602710cb
7
- data.tar.gz: 42558474f2a045d06d856d9914cdf0d47d2420e19307105d4497a5d7e81b3c8b484294eb5e397e272d99cd0aa52797b809d4f166a4861a52cdf082ee023c6826
6
+ metadata.gz: c436d92defd165bceb42e8f4c00964ef8f4ad208a13caf9c1ef18ee6106645ba723ed2aa41a653cf8d1949204fb3326c88b3640f18a0fa4fc3df6e93eeb8a8cf
7
+ data.tar.gz: c141bc53fa6698fdd1fe9040f9a025614046c4acde5bf4db9462147db514323903a7df1356e7e6a7bc2c2ad288906f5c9c2e2cf59781a55042c64cd9a68f72c6
Binary file
Binary file
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Disarm
4
4
  # Kept in lockstep with the Rust crate / Python package version.
5
- VERSION = "0.19.0"
5
+ VERSION = "0.20.0"
6
6
  end
data/lib/disarm.rb CHANGED
@@ -482,9 +482,10 @@ module Disarm
482
482
  # `list_scripts` and avoiding a `require "set"` in the gem entrypoint.
483
483
  #
484
484
  # Read as exposure, not as a score — this is where an adaptive attacker goes once
485
- # the mapped sources stop working. It includes five ASCII characters ("%", "0",
486
- # "1", "I", "m"): TR39 is a skeleton transform, and disarm deliberately does not
487
- # apply those rows because folding a legitimate "m" to "rn" corrupts prose.
485
+ # the mapped sources stop working. It includes eight ASCII characters ('"', "%",
486
+ # "0", "1", "I", "`", "m", "|"): TR39 is a skeleton transform, and disarm's table
487
+ # deliberately does not apply those rows because folding a legitimate "m" to "rn"
488
+ # corrupts prose and folding '"' to "''" breaks every JSON document (#1236).
488
489
  def unmapped_confusables(target: :latin)
489
490
  translate_errors { _unmapped_confusables(target.to_s) }
490
491
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Richard Quinn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-01 00:00:00.000000000 Z
11
+ date: 2026-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake