{"id":16732385,"url":"https://github.com/carpodaster/normalizacion","last_synced_at":"2025-03-15T19:25:20.587Z","repository":{"id":1076390,"uuid":"918631","full_name":"carpodaster/normalizacion","owner":"carpodaster","description":"Let String instances be conviently normalized","archived":false,"fork":false,"pushed_at":"2016-05-07T07:53:49.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T22:53:53.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carpodaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-17T15:13:00.000Z","updated_at":"2016-05-06T20:07:38.000Z","dependencies_parsed_at":"2022-08-16T12:00:17.667Z","dependency_job_id":null,"html_url":"https://github.com/carpodaster/normalizacion","commit_stats":null,"previous_names":["carpodaster/string_normalizr"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpodaster%2Fnormalizacion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpodaster%2Fnormalizacion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpodaster%2Fnormalizacion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpodaster%2Fnormalizacion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carpodaster","download_url":"https://codeload.github.com/carpodaster/normalizacion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243779225,"owners_count":20346679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T23:44:11.290Z","updated_at":"2025-03-15T19:25:20.549Z","avatar_url":"https://github.com/carpodaster.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Normalizacion [![Build Status](https://travis-ci.org/carpodaster/normalizacion.svg?branch=master)](https://travis-ci.org/carpodaster/normalizacion)\n\nThis gem provides a [Refinement](http://ruby-doc.org/core-2.1.1/doc/syntax/refinements_rdoc.html) for the `String` class. It adds `String#normalize` which transliterates non-ASCII characters using a static collation table. It also replaces whitespaces with `-` and optionally downcases the string value.\n\nIt is very similar to what `ActiveSupport`'s `#parameterize` does, only more customizable (and without depending on ActiveSupport).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'normalizacion'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install normalizacion\n\n## Usage\n\n```ruby\nclass YourClass\n  using Normalizacion\n\n  def to_s\n    \"Schöneberger Straße\"\n  end\nend\n\nYourClass.new.to_s # =\u003e \"Schoenberger-Strasse\"\n```\n\n## .plan\n* support custom collation hash\n* support more special chars by default\n* handle punctuation marks\n\n## Changelog\n### v1.0.0\n* Uses Ruby 2.1 idioms: Keyword Arguments and Refinments\n* Renamed gem\n\n#### v0.3.0\n* Added `#normalize!` for in-place normalization\n* Adds downcase option\n\n### v0.2.0\n* Normalization can now be customized via an options hash.\n\n---\n\nCopyright (c) 2010-2016 Carsten Zimmermann, released under a BSD-type license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpodaster%2Fnormalizacion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarpodaster%2Fnormalizacion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpodaster%2Fnormalizacion/lists"}