Skip to content

Release 2.2.14: ambiguous currency symbols on data v2.2.1 - #47

Merged
ronaldtse merged 1 commit into
mainfrom
currency-ambiguous-2-2-14
Nov 11, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
currency-ambiguous-2-2-14

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • SymbolPresentations gains the optional ambiguous boolean, exposing the new currency symbol data (Add ambiguous currency symbol presentations (bare dollar, yen, franc) unitsdb#141, data tag v2.2.1): USD bare $, CNY CN¥/bare ¥, JPY ¥, CHF Fr. — strict-unit consumers skip ambiguous presentations, prose style-enforcement consumers match them.
  • Data submodule pinned to v2.2.1; VERSION 2.2.14; UNITS_DATA_VERSION 2.2.1.

Resolves the data side of #140.

Test plan

  • bundle exec rspec — 871 examples, 0 failures (new: ambiguous symbols parsed from the shipped data)
  • bundle exec rake — specs + rubocop clean
  • Release: tag v2.2.14 after merge (rubygems workflow publishes)

SymbolPresentations carries the optional ambiguous flag of the new
currency symbol data (bare dollar, yen signs, franc Fr.), the data
submodule pins v2.2.1, and VERSION/UNITS_DATA_VERSION track it.
@ronaldtse
ronaldtse merged commit ee6dd68 into main Nov 11, 2026
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant