debilinguifier

This is a module to help me sanitize an already populated db. The db contains company names and product descriptions in capital letters. Users populating the db had been careless enough to allow both [greek, latin] characters to be used in a single word or phrase, making it difficult to alphabetically sort them or search for them.

The purpose of this gem is to help me import the data into a new db (for a completely different app) in a more deterministic way.

  • Ruby version 2.4.0 is the minimum required due to [String supports Unicode case mappings] www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/

  • To use this gem, just add it (require ‘debilinguifier’) and call: DeBiLinguifier.dbl(your_string_to_de-bi-linguified)

  • Please note that this only works with capital and detoned characters.

This is my very first gem and I used Juwelier github.com/flajann2/juwelier to create it.

Contributing to debilinguifier

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.

  • Fork the project.

  • Start a feature/bugfix branch.

  • Commit and push until you are happy with your contribution.

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2017 apapamichalis. See LICENSE.txt for further details.