{"id":15478436,"url":"https://github.com/astj/p5-plack-middleware-revisionplate","last_synced_at":"2025-03-28T14:14:27.945Z","repository":{"id":31951836,"uuid":"35521679","full_name":"astj/p5-Plack-Middleware-RevisionPlate","owner":"astj","description":"Plack::Middleware that serves endpoint returns application's REVISION. Perl port of https://github.com/sorah/revision_plate","archived":false,"fork":false,"pushed_at":"2015-08-25T03:26:17.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T03:22:36.162Z","etag":null,"topics":["perl","plack"],"latest_commit_sha":null,"homepage":"","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/astj.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":"2015-05-13T01:35:13.000Z","updated_at":"2017-03-04T02:04:53.000Z","dependencies_parsed_at":"2022-09-02T04:00:17.758Z","dependency_job_id":null,"html_url":"https://github.com/astj/p5-Plack-Middleware-RevisionPlate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp5-Plack-Middleware-RevisionPlate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp5-Plack-Middleware-RevisionPlate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp5-Plack-Middleware-RevisionPlate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp5-Plack-Middleware-RevisionPlate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astj","download_url":"https://codeload.github.com/astj/p5-Plack-Middleware-RevisionPlate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246042013,"owners_count":20714147,"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":["perl","plack"],"created_at":"2024-10-02T04:04:18.783Z","updated_at":"2025-03-28T14:14:27.899Z","avatar_url":"https://github.com/astj.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/astj/p5-Plack-Middleware-RevisionPlate.svg?branch=master)](https://travis-ci.org/astj/p5-Plack-Middleware-RevisionPlate)\n# NAME\n\nPlack::Middleware::RevisionPlate - Serves an endpoint returns application's `REVISION`.\n\n# SYNOPSIS\n\n    use Plack::Builder;\n    use Plack::Middleware::RevisionPlate;\n\n    builder {\n        # Default revision_filename is ./REVISION.\n        enable 'Plack::Middleware::RevisionPlate',\n            path =\u003e '/site/sha1';\n\n        # Otherwise you can specify revision_filename.\n        enable 'Plack::Middleware::RevisionPlate',\n            path =\u003e '/site/sha1/somemodule', revision_filename =\u003e './modules/hoge/REVISION';\n\n        sub {\n            my $env = shift;\n            return [ 200, [], ['Hello! Plack'] ];\n        };\n    };\n\n# DESCRIPTION\n\nPlack::Middleware::RevisionPlate returns content of file `REVISION` (or the file specified by `revision_filename` option) on GET/HEAD request to path specified `path` option.\nContent of endpoint doesn't change even if `REVISION` file changed, but returns 404 if `REVISION` file removed.\n\n# LICENSE\n\nMIT License\n\n# AUTHOR\n\nAsato Wakisaka \u003casato.wakisaka@gmail.com\u003e\n\nThis module is a perl port of ruby gem [RevisionPlate](https://github.com/sorah/revision_plate) by sorah.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastj%2Fp5-plack-middleware-revisionplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastj%2Fp5-plack-middleware-revisionplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastj%2Fp5-plack-middleware-revisionplate/lists"}