No release in over 3 years
Low commit activity in last 3 years
Spell checker for U.S. cities and states
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
~> 3.3.0

Runtime

~> 0.5.10
~> 0.2.2
 Project Readme

check_yo_spelling

Code Climate Build Status

This gem offers spelling suggestions for cities and states in the United States.

Installation

Add this line to your applications's Gemfile:

  gem 'check_yo_spelling'

and then execute:

  $ bundle

or install it yourself as:

  $ gem install 'check_yo_spelling'

Examples

# State Checking
# Checks against all states in the U.S.
CheckYoSpelling::USA.check_state("Alabma")
# => "Alabama"

# City Checking
# Checks for cities in the state for suggestions
CheckYoSpelling::USA.check_city("Montgomry", "AL")
# => "Montgomery"

Contributing

  1. Fork it ( http://github.com/Spokeo/CheckYoSpelling/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write specs!
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Running the Specs

$ rake