{"id":16687957,"url":"https://github.com/danielpclark/basecustom","last_synced_at":"2025-04-10T00:32:49.681Z","repository":{"id":5286693,"uuid":"6466176","full_name":"danielpclark/BaseCustom","owner":"danielpclark","description":"Define any base conversion with any identifier for each value. Let the fun begin!","archived":false,"fork":false,"pushed_at":"2016-04-29T02:56:35.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T16:25:17.990Z","etag":null,"topics":["base-conversion","numeric","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-30T23:33:53.000Z","updated_at":"2022-03-13T14:20:55.000Z","dependencies_parsed_at":"2022-07-04T23:31:51.354Z","dependency_job_id":null,"html_url":"https://github.com/danielpclark/BaseCustom","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2FBaseCustom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2FBaseCustom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2FBaseCustom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2FBaseCustom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielpclark","download_url":"https://codeload.github.com/danielpclark/BaseCustom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239088383,"owners_count":19579432,"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":["base-conversion","numeric","ruby"],"created_at":"2024-10-12T15:26:05.744Z","updated_at":"2025-02-16T04:33:09.533Z","avatar_url":"https://github.com/danielpclark.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BaseCustom\nby Daniel P. Clark\n\n[![Gem Version](https://badge.fury.io/rb/basecustom.svg)](http://badge.fury.io/rb/basecustom)\n[![Build Status](https://travis-ci.org/danielpclark/BaseCustom.svg)](https://travis-ci.org/danielpclark/BaseCustom)\n\nInspired by:\n* base62 by \"JT Zemp\" and contributors \"Saadiq Rodgers-King\", \"Derrick Camerino\"\n\n**Description**\n* Define any 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%2Fbasecustom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielpclark%2Fbasecustom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fbasecustom/lists"}