No commit activity in last 3 years
No release in over 3 years
learn about countries and their largest cities
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Ten Largest Cities

This Ruby Gem provides a CLI to view country facts and city facts per the Geonames Country website. Original data credited to https://www.geonames.org/countries/

Installation & useage

Clone repository.

$ cd downloads (or appropriate location where file has been saved)

$ cd ten_largest_cities-master

$ ruby bin/run.rb

Follow the colorized on-screen prompts.

Contributing

New features for this gem are welcome.

The goal of my project was to learn how to create a CLI application while also learning about different countries of the world.

Please help us all learn!

Please visit GitHub at https://github.com/mackenzie-km/ten_largest_cities to check out the repo.

Known Bugs/Issues

We are currently experiencing an encoding issue with the output of some city names.

When a city name has an accent mark in it, such as Ōsaka, the letter changes (example: Å)�. These strings do not respond to .unicode_normalize. These strings are displaying as UTF-8 when city_name.encoding is called. It also returns true for valid_encoding?

Any feedback is welcome.

License

This gem is available as open source under the terms of the MIT License https://opensource.org/licenses/MIT