diff --git a/CHANGELOG.md b/CHANGELOG.md index 0602363..257a738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0] - 2024-06-28 + +### Added + +- Support for parsing Gaelic names + ## [0.1.0] - 2024-06-28 Initial realase @@ -12,4 +18,5 @@ Initial realase - Support for parsing complex names with prefixes, suffixes, particles and beyond. +[0.2.0]: https://github.com/kylewelsby/name_formatter/releases/tag/v0.2.0 [0.1.0]: https://github.com/kylewelsby/name_formatter/releases/tag/v0.1.0 diff --git a/README.md b/README.md index ed44d8c..e6139ed 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ NameFormatter is a Ruby gem that provides robust name parsing and formatting cap ## ✨ Features -- Handles personal names from various cultures (Western, Spanish, German, etc.) +- Handles personal names from various cultures (Gaelic, Western, Spanish, German, etc.) - Supports company names and legal entities - Correctly formats prefixes, suffixes, and particles (e.g., "van", "de", "von") - Preserves capitalization for names like "McDonald" or "DeVito" @@ -44,7 +44,7 @@ formatted = formatter.format("JOHN DOE") puts formatted # Output: "John Doe" # Parse and Format a name -parsed = formatter.parse_formatted("Dr. Jane Smith Jr.") +parsed = formatter.parse_formatted("DR. JANE SMITH JR.") puts parsed # Output: { # prefix: "Dr.", @@ -54,13 +54,13 @@ puts parsed # } # Parse skip formatting a name -parsed = formatter.parse("Dr. Jane Smith Jr.") +parsed = formatter.parse("DR. JANE SMITH JR.") puts parsed # Output: { -# prefix: "Dr.", -# first_name: "Jane", -# last_name: "Smith", -# suffix: "Jr." +# prefix: "DR.", +# first_name: "JANE", +# last_name: "SMITH", +# suffix: "JR." # } # Handle complex names diff --git a/lib/name_formatter/version.rb b/lib/name_formatter/version.rb index ad8af95..b87a259 100644 --- a/lib/name_formatter/version.rb +++ b/lib/name_formatter/version.rb @@ -1,3 +1,3 @@ module NameFormatterModule - VERSION = "0.1.0" + VERSION = "0.2.0" end