{"id":17635950,"url":"https://github.com/mohawk2/moox-stricthas","last_synced_at":"2025-03-30T03:43:08.873Z","repository":{"id":56839537,"uuid":"177005601","full_name":"mohawk2/moox-stricthas","owner":"mohawk2","description":"Moo extension to catch Moose features not in Moo","archived":false,"fork":false,"pushed_at":"2019-04-12T21:37:01.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T06:14:23.056Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/MooX::StrictHas","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohawk2.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-21T18:47:48.000Z","updated_at":"2019-04-12T21:37:03.000Z","dependencies_parsed_at":"2022-08-29T05:00:49.470Z","dependency_job_id":null,"html_url":"https://github.com/mohawk2/moox-stricthas","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohawk2%2Fmoox-stricthas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohawk2%2Fmoox-stricthas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohawk2%2Fmoox-stricthas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohawk2%2Fmoox-stricthas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohawk2","download_url":"https://codeload.github.com/mohawk2/moox-stricthas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273515,"owners_count":20750904,"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-23T02:24:46.480Z","updated_at":"2025-03-30T03:43:08.832Z","avatar_url":"https://github.com/mohawk2.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nMooX::StrictHas - Forbid \"has\" attributes lazy\\_build and auto\\_deref\n\n# PROJECT STATUS\n\n| OS      |  Build status |\n|:-------:|--------------:|\n| Linux   | [![Build Status](https://travis-ci.com/mohawk2/moox-stricthas.svg?branch=master)](https://travis-ci.org/mohawk2/moox-stricthas) |\n\n[![CPAN version](https://badge.fury.io/pl/moox-stricthas.svg)](https://metacpan.org/pod/MooX::StrictHas) [![Coverage Status](https://coveralls.io/repos/github/mohawk2/moox-stricthas/badge.svg?branch=master)](https://coveralls.io/github/mohawk2/moox-stricthas?branch=master)\n\n# SYNOPSIS\n\n    package MyMod;\n    use Moo;\n    use MooX::StrictHas;\n    has attr =\u003e (\n      is =\u003e 'ro',\n      auto_deref =\u003e 1, # blows up, not implemented in Moo\n    );\n    has attr2 =\u003e (\n      is =\u003e 'ro',\n      lazy_build =\u003e 1, # blows up, not implemented in Moo\n    );\n    has attr2 =\u003e (\n      is =\u003e 'ro',\n      does =\u003e \"Thing\", # blows up, not implemented in Moo\n    );\n\n# DESCRIPTION\n\nThis is a [Moo](https://metacpan.org/pod/Moo) extension, intended to aid those porting modules from\n[Moose](https://metacpan.org/pod/Moose) to Moo. It forbids two attributes for [\"has\" in Moo](https://metacpan.org/pod/Moo#has), which Moo\ndoes not implement, but silently accepts:\n\n- auto\\_deref\n\n    This is not considered best practice - just dereference in your using code.\n\n- does\n\n    Unsupported; use `isa` instead.\n\n- lazy\\_build\n\n    Use `is =\u003e 'lazy'` instead.\n\n# AUTHOR\n\nEd J\n\n# LICENCE\n\nThe same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohawk2%2Fmoox-stricthas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohawk2%2Fmoox-stricthas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohawk2%2Fmoox-stricthas/lists"}