Skip to content

v3.3.1

Choose a tag to compare

@dasmig dasmig released this 01 Nov 17:02
· 6 commits to master since this release
90b8f59

Fix: the locale tables are read only from country-generator's own resources.

On 3.3.0, load(dataset) located the locale tables by lite/locales.tsv alone. A program run from a directory with another library's resources/lite/locales.tsv read that file, and load() threw. user-generator compiles in the countries and has its own locales.tsv, so 40 of its 47 tests failed against 3.3.0. The locale tables are now read from the first candidate resources/ that has both the tier's countries.tsv and its locales.tsv. Builds with DASMIG_COUNTRY_EMBED_LOCALE were not affected.

Output, known answers and the data hash are unchanged. A new test covers the case.