BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

territorial

v0.4.0RubyGems· Ruby

If you have to work with lists of ISO 3166-1 alpha-2 country codes that sometimes include fake codes that should be expanded to a longer list, e.g. 'EU', or if you have to deal with lists of territory metadata like 'EU -FR' then territorial will help. It defines some commonly seen default expansion codes, and allows you to correctly expand a string like 'EU -FR' into an array of 2-letter country codes

The verdict
Abandoned. Last published 10 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 10 years ago.
Popularity
6 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.4.010 years ago
territorial — If you have to work with lists of ISO 3166-1 alpha-2 country codes that sometimes include fake codes that should be expanded to a longer list, e.g. 'EU', or if you have to deal with lists of territory metadata like 'EU -FR' then territorial will help. It defines some commonly seen default expansion codes, and allows you to correctly expand a string like 'EU -FR' into an array of 2-letter country codes (Ruby / RubyGems) · Modules