name_tamer 1.0.0 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/lib/name_tamer/strings/approximations.rb +1 -1
- data/lib/name_tamer/strings/bad_encoding.rb +2 -2
- data/lib/name_tamer/strings/capitalization.rb +1 -1
- data/lib/name_tamer/strings/compound_names.rb +1 -1
- data/lib/name_tamer/strings/core.rb +1 -1
- data/lib/name_tamer/strings/name_modifiers.rb +1 -1
- data/lib/name_tamer/strings/spacing.rb +1 -1
- data/lib/name_tamer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6297841f503f7afdd7c53dba7fd5393818a476a430f5af73e655553f4258f9da
|
|
4
|
+
data.tar.gz: cd6a297d247f13eb4c9c7d547c3d7001f4b2d8edf4d92943fa9e33405cb59ba8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3957fa8569fc8e85c0bacc26ae310d3b6f5a9b9ee1ac935bc1d2325d9a6197f94bd53ed4ecd61ccc59ad084785b3deb85b6dc333bb87ce4d3248ff9ad614ac1
|
|
7
|
+
data.tar.gz: 66b26c34e7e3da845a37256f32eb000b7142ab6ca5fb8728fd3169cc2136ec80513de0cf10ddb59a413578ce7c0c9441cd383769776fd14ee4b0777d7a8f1de3
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.2] - 2026-07-22
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Contributor documentation covering setup, testing, linting, adfix
|
|
13
|
+
maintenance, releases and changelog conventions.
|
|
14
|
+
- SonarQube Cloud project binding for SonarLint connected mode.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- The repository's maintenance tasks and prefix/suffix data files moved from
|
|
19
|
+
`doc/` to `docs/`.
|
|
20
|
+
- SonarQube analysis now imports SimpleCov 1.0 coverage reports after they are
|
|
21
|
+
normalised to absolute paths.
|
|
22
|
+
- GitHub Actions release, test and analysis workflows now use updated Ruby,
|
|
23
|
+
checkout, artifact upload, Ruby setup and SonarQube scan actions.
|
|
24
|
+
- The release workflow uses Ruby 4.0.6, while the test matrix continues to
|
|
25
|
+
cover Ruby 3.3, 3.4 and 4.0.
|
|
26
|
+
- Gem metadata and the lockfile now identify the released library as version
|
|
27
|
+
`1.0.1`.
|
|
28
|
+
- Generated planning documents under `docs/plans` are excluded from version
|
|
29
|
+
control.
|
|
30
|
+
|
|
31
|
+
## [1.0.1] - 2026-07-20
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- The mangled-Á entry in the bad-encoding table is written with an escape
|
|
36
|
+
sequence, so source scanners no longer flag the file as corrupted.
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- The `NameTamer::Strings` modules use `extend self` instead of
|
|
41
|
+
`module_function`; no public API change.
|
|
42
|
+
|
|
8
43
|
## [1.0.0] - 2026-07-18
|
|
9
44
|
|
|
10
45
|
### Changed
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# see https://github.com/svenfuchs/i18n/blob/master/lib/i18n/backend/transliterator.rb
|
|
5
5
|
module NameTamer
|
|
6
6
|
module Strings
|
|
7
|
-
|
|
7
|
+
extend self
|
|
8
8
|
|
|
9
9
|
# Any characters that resemble latin characters might usefully be
|
|
10
10
|
# transliterated into ones that are easy to type on an anglophone
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# Useful table here http://www.i18nqa.com/debug/utf8-debug.html
|
|
7
7
|
module NameTamer
|
|
8
8
|
module Strings
|
|
9
|
-
|
|
9
|
+
extend self
|
|
10
10
|
|
|
11
11
|
# Strings that were wrongly encoded with single-byte encodings sometimes
|
|
12
12
|
# have tell-tale substrings that we can put back into the correct UTF-8
|
|
@@ -129,7 +129,7 @@ module NameTamer
|
|
|
129
129
|
'Û' => 'Û',
|
|
130
130
|
'À' => 'À',
|
|
131
131
|
'Ù' => 'Ù',
|
|
132
|
-
|
|
132
|
+
"Ã\uFFFD" => 'Á', # second byte of mangled Á decodes to U+FFFD REPLACEMENT CHARACTER
|
|
133
133
|
'Å ' => 'Š',
|
|
134
134
|
'Å¡' => 'š',
|
|
135
135
|
'Ÿ' => 'Ÿ',
|
data/lib/name_tamer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: name_tamer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominic Sayers
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '0'
|
|
64
64
|
requirements: []
|
|
65
|
-
rubygems_version:
|
|
65
|
+
rubygems_version: 4.0.16
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: 'Example: NameTamer[''Mr. John Q. Smith III, MD''].simple_name # => John
|
|
68
68
|
Smith'
|