{"id":16515259,"url":"https://github.com/pine/p5-mac-osversion-lite","last_synced_at":"2025-03-02T15:54:11.253Z","repository":{"id":56836451,"uuid":"56432523","full_name":"pine/p5-Mac-OSVersion-Lite","owner":"pine","description":":apple: The lightweight version object for Mac OS X with auto detection","archived":false,"fork":false,"pushed_at":"2019-09-09T03:53:22.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T03:14:06.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/Mac::OSVersion::Lite","language":"Perl","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/pine.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2016-04-17T11:18:31.000Z","updated_at":"2019-12-16T20:00:46.000Z","dependencies_parsed_at":"2022-08-20T12:31:11.452Z","dependency_job_id":null,"html_url":"https://github.com/pine/p5-Mac-OSVersion-Lite","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fp5-Mac-OSVersion-Lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fp5-Mac-OSVersion-Lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fp5-Mac-OSVersion-Lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fp5-Mac-OSVersion-Lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pine","download_url":"https://codeload.github.com/pine/p5-Mac-OSVersion-Lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533650,"owners_count":19977826,"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-11T16:16:26.760Z","updated_at":"2025-03-02T15:54:11.230Z","avatar_url":"https://github.com/pine.png","language":"Perl","readme":"[![Build Status](https://travis-ci.org/pine/p5-Mac-OSVersion-Lite.svg?branch=master)](https://travis-ci.org/pine/p5-Mac-OSVersion-Lite) [![Build Status](https://img.shields.io/appveyor/ci/pine/p5-Mac-OSVersion-Lite/master.svg?logo=appveyor)](https://ci.appveyor.com/project/pine/p5-Mac-OSVersion-Lite/branch/master) [![Coverage Status](http://codecov.io/github/pine/p5-Mac-OSVersion-Lite/coverage.svg?branch=master)](https://codecov.io/github/pine/p5-Mac-OSVersion-Lite?branch=master)\n# NAME\n\nMac::OSVersion::Lite - It's the lightweight version object for Mac OS X\n\n# SYNOPSIS\n\n```perl\nuse Mac::OSVersion::Lite;\nuse feature qw/say/;\n\nmy $version = Mac::OSVersion::Lite-\u003enew;\nsay $version-\u003emajor; # 10\nsay $version-\u003eminor; # 11\nsay $version-\u003ename;  # el_capitan\n```\n\n# DESCRIPTION\n\nMac::OSVersion::Lite is the lightweight version object for Mac OS X with auto detection.\n\n# METHODS\n\n## CLASS METHODS\n\n### `new()`\n\nCreate new `Mac::OSVersion::Lite` instance with auto detection.\n\n### `new($version_string)`\n\nCreate new `Mac::OSVersion::Lite` instance from a version string.\n`Mac::OSVersion::Lite-\u003enew('10.11')` equals `Mac::OSVersion::Lite-\u003enew(10, 11)`.\n\n### `new($major, $minor = 0)`\n\nCreate new `Mac::OSVersion::Lite` instance from version numbers.\n`Mac::OSVersion::Lite-\u003enew(10, 11)` equals `Mac::OSVersion::Lite-\u003enew('10.11')`.\n\n## METHODS\n\n### `major`\n\nGet the major version number.\n\n### `minor`\n\nReturn the minor version number.\n\n### `\u003c=\u003e`\n\nCompare two `SemVer::V2::Strict` instances.\n\n### `\"\"`\n\nConvert a `SemVer::V2::Strict` instance to string.\n\n### `as_string()`\n\nConvert a `SemVer::V2::Strict` instance to string.\n\n# SEE ALSO\n\n- [Mac::OSVersion](https://metacpan.org/pod/Mac::OSVersion)\n\n# LICENSE\n\nThe MIT License (MIT)\n\nCopyright (c) 2017-2019 Pine Mizune\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n# AUTHOR\n\nPine Mizune \u003cpinemz@gmail.com\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fp5-mac-osversion-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpine%2Fp5-mac-osversion-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fp5-mac-osversion-lite/lists"}