{"id":16688022,"url":"https://github.com/danielpclark/base_custom_cr","last_synced_at":"2025-09-12T20:32:36.696Z","repository":{"id":142006875,"uuid":"87928025","full_name":"danielpclark/base_custom_cr","owner":"danielpclark","description":"Define any numeric base conversion with any identifier for each value.","archived":false,"fork":false,"pushed_at":"2017-04-11T12:17:29.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-15T12:39:42.151Z","etag":null,"topics":["base","crystal","numeric","shard"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielpclark.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-11T11:48:53.000Z","updated_at":"2017-04-11T11:50:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2e8ac37-8174-449c-88f6-936c19c16d76","html_url":"https://github.com/danielpclark/base_custom_cr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielpclark/base_custom_cr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fbase_custom_cr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fbase_custom_cr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fbase_custom_cr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fbase_custom_cr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielpclark","download_url":"https://codeload.github.com/danielpclark/base_custom_cr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fbase_custom_cr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274873345,"owners_count":25365823,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["base","crystal","numeric","shard"],"created_at":"2024-10-12T15:26:29.604Z","updated_at":"2025-09-12T20:32:36.651Z","avatar_url":"https://github.com/danielpclark.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BaseCustom\n\n[![Build Status](https://travis-ci.org/danielpclark/base_custom_cr.svg?branch=master)](https://travis-ci.org/danielpclark/base_custom_cr)\n\nby Daniel P. Clark\n\nPorted from Ruby gem [basecustom](https://github.com/danielpclark/basecustom).\n\nInspired by:\n* base62 by \"JT Zemp\" and contributors \"Saadiq Rodgers-King\", \"Derrick Camerino\"\n\n**Description**\n* Define any numeric base conversion with any identifier for each value.\n\n\u003cpre\u003erequire \"basecustom\"\n\nbase2 = BaseCustom.new(\"01\")\nbase2.base(\"00001\")\n=\u003e 1\nbase2.base(\"100110101\")\n=\u003e 309\nbase2.base(340)\n=\u003e \"101010100\"\nbase2.base(0xF45)\n=\u003e \"111101000101\"\n\nbaseABC = BaseCustom.new(\"ABC\")\nbaseABC.base(\"ABC\")\n=\u003e 5\nbaseABC.base(123)\n=\u003e \"BBBCA\"\n\u003c/pre\u003e\n\n# Usage Video\n\n[![ScreenShot](http://img.youtube.com/vi/b7TdvicxIrs/0.jpg)](http://www.youtube.com/embed/b7TdvicxIrs)\n\n# Version History\n\nVersion 1.0.2\n* Cleaned up gemspec.\n\nVersion 1.0.1\n* Enabled use of special characters like newline (\\n) or tab (\\t) to be counted\n  as acceptable numeric characters.  These characters can now also be printed with\n  expected behavior.\n\nVersion 1.0.0\n* Bump version number. Gem has proven ready as a version 1 release.\n\nVersion 0.1.8\n* Changed .all() to join by delimiter\n\nVersion 0.1.7\n* Added features .length() and .all()\n\nVersion 0.1.6\n* Fixed 0 as 0 bug.\n\nVersion 0.1.5\n* Added jmchambers' debug from jtzemp/base62 to avoid infinite loop in Rails 3.0.7\n\nVersion 0.1.4\n* My father suggested delimiter splitting on String initialization made more sense.\n* Test-Unit assertions fixed/updated.\n\nVersion 0.1.3\n* Fixed multicharacter numbering units\n* Added delimiter for multicharacter numbering units\n* Safe base type creation.  Each situation checked for and proper error messages.\n\nVersion 0.1.2\n* Added unique to string init declaration\n* Added unique to array as well as checking that all array elements are strings\n\nVersion 0.1.1\n* Flatten array's on input initialization\n\nVersion 0.1.0\n* Complete Release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fbase_custom_cr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielpclark%2Fbase_custom_cr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fbase_custom_cr/lists"}