Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for ex_cldr 2.38.0 + bug fix #41

Merged
merged 3 commits into from
May 14, 2024
Merged

Conversation

kipcole9
Copy link
Collaborator

@kipcole9 kipcole9 commented Apr 21, 2024

When using ex_cldr_territories version 2.8.1 from hex, compilation fails with ex_cldr version 2.38.0 released yesterday. However ex_cldr_territories from master works perfectly fine so hopefully you're able to publish an update soon?

In running the tests with ex_cldr version 2.38.0 there are some data changes which made some tests fail due to either a difference in data sort order or because 2 doctests expected Cuba to have two currencies (the CUP has now been discontinued - so I changed the tests to use Haiti which still has two currencies).

Summary of changes

  • Return {:error, reason} when Territory.info/1 has no info
  • Make currency info sorted to be deterministic
  • Fix info tests (CUP no longer exists, use :HT example since it has more than one currency)

Make currency info sorted to be deterministic
Fix currency tests (CUP no longer exists, use :HT example)
@Schultzer
Copy link
Collaborator

@kipcole9 Can you rebase this and only keep the changes to Cldr.Territory.info, since I believe that the other bugs have been addressed in #43

@Schultzer Schultzer merged commit 66cb36d into elixir-cldr:main May 14, 2024
1 check 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.

None yet

2 participants