Skip to content
/ namelib Public
forked from tenderlove/namecase

Ruby gem that properly cases your clients' names

License

Notifications You must be signed in to change notification settings

HLFH/namelib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://rubygems.org/gems/namelib

Description

Namelib is a Ruby fork of NameCase, a library for converting denormalized names to be properly cased.

Example Usage

Let's say in your database, all the names of your clients were in uppercase and that you want to properly lowercase the right parts of them, then Namelib is for you!

Namelib("RON BURGUNDY")              # => Ron Burgundy
Namelib("MCDONALDS")                 # => McDonalds
Namelib("VALÉRY GISCARD D'ESTAING")  # => Valéry Giscard d'Estaing

Acknowledgements

This library is a port of a Perl library by Mark Summerfield. And also a fork of the NameCase gem by Aaron Patterson.

Authors

Original Version: Copyright (c) Mark Summerfield 1998-2002. All Rights Reserved

Ruby version: Copyright (c) Aaron Patterson 2006-2015

Ruby fork: Copyright (c) Gaspard d'Hautefeuille 2017

License

Namelib is distributed under the GPL v3 license. Please see the LICENSE file.

About

Ruby gem that properly cases your clients' names

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%