disarm 0.17.2 → 0.18.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: 359f83c7f8f014a863c70caaa5bbea011530f5dc4866013bdd087ce6de77c7b4
4
- data.tar.gz: 419a067a9dd9fde079844c8e5047b9be0b88cdb9a0f781a38c3f29a5e120ab10
3
+ metadata.gz: 97a1134e3c4dd290d1b24d101c251a92662aa7ef00b04706b8d814a20c51f38d
4
+ data.tar.gz: 16f89af520143e300c0c21c83f0b30749e64faa3ba35519c6b9bcbb0347e86fb
5
5
  SHA512:
6
- metadata.gz: 9831ccfdd4b6fb49d8f5eb1df058226403fae7afc2ae933118f516fd1203a6e4dcd2c0d1dafd3ab5c63a081aa16013f95203c5df444a5bd8f1b6a5f479bb937a
7
- data.tar.gz: a410e078c2b8092815673eaa244d1747a3dbff70e9ddcb789143c77f1617816715ea1dbe8f23fd1bf0231768c704da5c3dd7a197ed91c5af2fa3a7e157a6c741
6
+ metadata.gz: 1605f0c7a86da20fb66f2bbc75b332f5ba9aa95abc5e7bc62d474b1ed1cae612cc58a2c0d1304cb58b3eb244245790577d8cc254b563c723149fb3f84f613eba
7
+ data.tar.gz: c7defb7539d47ac7c06c9f6221940d34b5a94766999d45d67d26c851073491b168b85dde3e7834577939c34fcd6f20f517485f04605dbb134749325feff8d8ab
data/NOTICE ADDED
@@ -0,0 +1,88 @@
1
+ disarm
2
+ Copyright (c) 2026 Richard Quinn
3
+ Licensed under the MIT License; see LICENSE.
4
+
5
+ disarm includes data adapted from the following works, which remain under
6
+ their own licences.
7
+
8
+ confusable-vision
9
+ (c) 2026 Paul Wood FRSA (@paultendo)
10
+ https://github.com/paultendo/confusable-vision
11
+ Data licensed under the Creative Commons Attribution 4.0 International
12
+ License (CC-BY-4.0): https://creativecommons.org/licenses/by/4.0/
13
+ The data is provided as-is; see the licence for its disclaimer of warranties.
14
+
15
+ Used:
16
+ data/output/confusable-weights-v2.json (v2026-03-02)
17
+ data/output/candidate-discoveries.json (2026-02-27 revision)
18
+ data/output/m2b-verification-report.json (2026-02-27 revision)
19
+
20
+ Changed: disarm selects confusable pairs from those files by the admission
21
+ rules stated in data/confusables_supplement.tsv and
22
+ data/confusables_vision.tsv, and folds the selected pairs into its confusable
23
+ tables (src/tables/data/confusables_to_latin.tsv and
24
+ src/tables/data/confusables_to_cyrillic.tsv). Those tables are compiled into
25
+ every disarm package. The measurements themselves are not redistributed.
26
+ The author does not endorse disarm by this credit.
27
+
28
+ Unicode data
29
+ Copyright © 1991-2025 Unicode, Inc.
30
+ https://www.unicode.org/
31
+ Licensed under the Unicode License v3 (SPDX: Unicode-3.0), reproduced below.
32
+
33
+ Used:
34
+ the Unicode Character Database (UCD): Scripts.txt (vendored as
35
+ data/Scripts.txt), CaseFolding.txt, DerivedCoreProperties.txt and
36
+ emoji/emoji-data.txt, and the character properties (General_Category,
37
+ East_Asian_Width, Bidi_Class, Numeric_Type and others) read through
38
+ Python's unicodedata module
39
+ Unicode Security Mechanisms (UTS #39): confusables.txt (vendored as
40
+ data/confusables.txt)
41
+ Unicode CLDR emoji annotations: common/annotations/en.xml and
42
+ common/annotationsDerived/en.xml (vendored as data/cldr/en.xml and
43
+ data/cldr/en_derived.xml)
44
+ The version of each, per table, is listed in docs/provenance.md.
45
+
46
+ Changed: disarm's generators (scripts/gen_*.py) read these files and write
47
+ the lookup tables under src/tables/, folding, filtering and re-keying them;
48
+ the tables are compiled into every disarm package.
49
+
50
+ UNICODE LICENSE V3
51
+
52
+ COPYRIGHT AND PERMISSION NOTICE
53
+
54
+ Copyright © 1991-2025 Unicode, Inc.
55
+
56
+ NOTICE TO USER: Carefully read the following legal agreement. BY
57
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
58
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
59
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
60
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
61
+
62
+ Permission is hereby granted, free of charge, to any person obtaining a
63
+ copy of data files and any associated documentation (the "Data Files") or
64
+ software and any associated documentation (the "Software") to deal in the
65
+ Data Files or Software without restriction, including without limitation
66
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
67
+ copies of the Data Files or Software, and to permit persons to whom the
68
+ Data Files or Software are furnished to do so, provided that either (a)
69
+ this copyright and permission notice appear with all copies of the Data
70
+ Files or Software, or (b) this copyright and permission notice appear in
71
+ associated Documentation.
72
+
73
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
74
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
75
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
76
+ THIRD PARTY RIGHTS.
77
+
78
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
79
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
80
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
81
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
82
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
83
+ FILES OR SOFTWARE.
84
+
85
+ Except as contained in this notice, the name of a copyright holder shall
86
+ not be used in advertising or otherwise to promote the sale, use or other
87
+ dealings in these Data Files or Software without prior written
88
+ authorization of the copyright holder.
@@ -30,7 +30,7 @@ crate-type = ["cdylib"]
30
30
  # dep — not a path — so the gem is self-contained and the rb-sys-dock cross-gem
31
31
  # build (which mounts only this gem dir) can fetch it. Imported as `disarm_core`
32
32
  # because the package name `disarm` would otherwise clash with this crate.
33
- disarm_core = { package = "disarm", version = "0.17", default-features = false }
33
+ disarm_core = { package = "disarm", version = "0.18", default-features = false }
34
34
  # magnus: ergonomic, safe Ruby<->Rust bindings over rb-sys. 0.8 supports Ruby >= 3.0
35
35
  # (the gem's required_ruby_version); rb-sys handles the platform glue.
36
36
  magnus = "0.8"
@@ -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.17.2"
5
+ VERSION = "0.18.0"
6
6
  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.17.2
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Quinn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-26 00:00:00.000000000 Z
11
+ date: 2026-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -108,6 +108,7 @@ extensions:
108
108
  extra_rdoc_files: []
109
109
  files:
110
110
  - LICENSE
111
+ - NOTICE
111
112
  - README.md
112
113
  - ext/disarm/Cargo.toml
113
114
  - ext/disarm/extconf.rb