{"id":19640426,"url":"https://github.com/kentnl/dist-zilla-role-version-sanitize","last_synced_at":"2026-06-18T09:31:38.319Z","repository":{"id":12226990,"uuid":"14836424","full_name":"kentnl/Dist-Zilla-Role-Version-Sanitize","owner":"kentnl","description":"Sanitize a version from a plugin","archived":false,"fork":false,"pushed_at":"2017-03-03T09:10:12.000Z","size":223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T18:57:22.050Z","etag":null,"topics":["dist-zilla","perl"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kentnl.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":"CONTRIBUTING.pod","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-01T09:38:38.000Z","updated_at":"2017-02-28T02:26:49.000Z","dependencies_parsed_at":"2022-09-08T07:41:38.908Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Dist-Zilla-Role-Version-Sanitize","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Role-Version-Sanitize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Role-Version-Sanitize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Role-Version-Sanitize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Role-Version-Sanitize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Dist-Zilla-Role-Version-Sanitize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"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":["dist-zilla","perl"],"created_at":"2024-11-11T14:05:46.649Z","updated_at":"2026-06-18T09:31:38.153Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nDist::Zilla::Role::Version::Sanitize - Sanitize a version from a plugin\n\n# VERSION\n\nversion 0.002004\n\n# ATTRIBUTES\n\n## `normal_form`\n\nDetermines which [_normal form_](#normal-forms) is used.\n\nDefault is : **`numify`**\n\n## `mantissa`\n\nDetermines the mandatory length of the `mantissa` for the [`numify`](#numify) normal form.\n\nDefault is : **`6`**\n\nWhich yields:\n\n       1.001001\n      10.001001\n     100.001001\n    1000.001001\n\nEtc.\n\n# NORMAL FORMS\n\n## `normal`\n\nNormalizes to the notation:\n\n    v1\n    v1.2\n    v1.2.3\n    v1.2.3.4\n\n## `normal_3`\n\nNormalizes to the notation\n\n    1.2.3\n    1.2.3.4\n\nNote: Due to the absence of the leading `v`, 3, is the minimum number of places that can be represented in this notation.\n\nAccidentally normalizing to\n\n    1.2\n\nIn this form should raise a fatal exception.\n\n## `numify`\n\nNormalizes to the notation\n\n    1.23456789\n    | ^------^--- The Mantissa\n    |\n    ^------------ Integer part.\n\nAnd the length for mantissa is forced by `mantissa`, either _truncating_ to `mantissa` length, or `paddding` to `mantissa` length with `0`'s\n\n# AUTHOR\n\nKent Fredric \u003ckentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by Kent Fredric \u003ckentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-role-version-sanitize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fdist-zilla-role-version-sanitize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-role-version-sanitize/lists"}