{"id":16019600,"url":"https://github.com/iboard/spm","last_synced_at":"2025-04-05T03:25:04.783Z","repository":{"id":5579882,"uuid":"6785874","full_name":"iboard/spm","owner":"iboard","description":"Simple Page Manager - Ruby-app to generate static webpages (json-files instead of a database)","archived":false,"fork":false,"pushed_at":"2013-01-02T19:41:06.000Z","size":476,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T08:08:51.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/iboard.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2012-11-20T21:56:47.000Z","updated_at":"2014-01-09T04:01:16.000Z","dependencies_parsed_at":"2022-09-22T03:00:43.528Z","dependency_job_id":null,"html_url":"https://github.com/iboard/spm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Fspm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Fspm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Fspm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Fspm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iboard","download_url":"https://codeload.github.com/iboard/spm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247283341,"owners_count":20913557,"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-08T17:04:53.321Z","updated_at":"2025-04-05T03:25:04.768Z","avatar_url":"https://github.com/iboard.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"SimplePageManager\n=================\n\nSimple Page Manager - A Ruby-application to generate static webpages (json-files instead of a database)\n\n\nDraft\n=====\n\n![SPM Draft](https://raw.github.com/iboard/spm/master/doc/spm-drafts.png \"Simple Page Manager - Draft\")\n\n\nExamples\n========\n\n    app = Application.new(:development)\n    app.run(:create, id: 1, title: 'First Page, body: \"Lorem ipsum....\")\n    app.run(:create, id: 2, title: 'Second Page, body: \"Lorem ipsum....\")\n    app.run(:build_pages)\n    app.run(:index, output: \"index.html\", format: :html)\n\n    Outputs =\u003e\n\n    ...data_development/\n        1.json\n        2.json\n    ...html_development/\n        index.html\n        1.html\n        2.html\n        assets/pages.css\n\nRSpec\n=====\n\n    rspec --format d --color spec/\n\n    Outputs =\u003e\n\n    Application\n      should exit with 0 if no errors\n      should exit with -n if any errors\n      should create the version-page run(:version)\n      should create data-file run(:create, 1, '...', '...')\n      should update data-file run(:update, 1, '...', '...')\n      should clean up the output path run(:clean_pages)\n      should build output files for all pages run(:build_pages)\n      should create the index page run(:index)\n      should create assets/pages.css\n\n    PageRenderer\n      should render a page with a given template\n\n    Page\n      should store id and title\n      should find a page by it's id\n\n    TemplateFinder\n      should initialize a template\n\n    Template\n      should load template file\n\n    Finished in 0.12523 seconds\n    14 examples, 0 failures\n\n\nFor more information RTFC ;-)\n\n\nLicense\n=======\n\nPublic Domain Dedication\n------------------------\n\nThis work is a compilation and derivation from other previously released works. With the exception of\nvarious included works, which may be restricted by other licenses, the author or authors of this code\ndedicate any and all copyright interest in this code to the public domain. We make this dedication for\nthe benefit of the public at large and to the detriment of our heirs and successors. We intend this\ndedication to be an overt act of relinquishment in perpetuity of all present and future rights to this\ncode under copyright law.\n\n(c) 2012 by Andreas Altendorfer, \u003candreas@altendorfer.at\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboard%2Fspm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiboard%2Fspm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboard%2Fspm/lists"}