Project

General

Profile

Actions

Feature #12546

closed

Remove UnicodeNormalize::UNICODE_VERSION

Added by duerst (Martin Dürst) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:76251]

Description

UnicodeNormalize::UNICODE_VERSION is defined in lib/unicode_normalize/tables.rb, but we now also have RbConfig::CONFIG['UNICODE_VERSION'], which is more general. Therefore, UnicodeNormalize::UNICODE_VERSION can be removed.

I'm opening an issue on this just in case somebody is depending on this. I have searched all of Ruby proper (incl. standard libraries) and removed any uses that I found.

I'll implement this feature if I don't get some pushback in a week or so.


Related issues

Related to CommonRuby - Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSIONClosednobu (Nobuyoshi Nakada)Actions
Related to Ruby master - Bug #12547: Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.hClosednobu (Nobuyoshi Nakada)Actions
Actions #1

Updated by duerst (Martin Dürst) over 5 years ago

  • Related to Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION added
Actions #2

Updated by duerst (Martin Dürst) over 5 years ago

  • Related to Bug #12547: Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.h added

Updated by matz (Yukihiro Matsumoto) over 5 years ago

Go ahead.

Matz.

Updated by duerst (Martin Dürst) over 5 years ago

  • Status changed from Open to Closed

Updated by usa (Usaku NAKAMURA) over 5 years ago

  • Status changed from Closed to Assigned

lib/unicode_normalize/tables.rb is automatically generated from template/unicode_norm_gen.tmpl.
You have to change not only the former but also the latter.

Actions #6

Updated by duerst (Martin Dürst) over 5 years ago

  • Status changed from Assigned to Closed

Applied in changeset ruby-trunk:r55725.


  • template/unicode_norm_gen.tmpl: Remove UnicodeNormalize::UNICODE_VERSION at origin [Feature #12546].
Actions #7

Updated by duerst (Martin Dürst) about 3 years ago

  • Related to Feature #15341: Provide emoji version as RbConfig::CONFIG['UNICODE_EMOJI_VERSION'] added
Actions #8

Updated by duerst (Martin Dürst) about 3 years ago

  • Related to deleted (Feature #15341: Provide emoji version as RbConfig::CONFIG['UNICODE_EMOJI_VERSION'])
Actions

Also available in: Atom PDF