{"id":13879377,"url":"https://github.com/adam12/roda-unpoly","last_synced_at":"2025-04-14T17:30:53.228Z","repository":{"id":56892547,"uuid":"83923328","full_name":"adam12/roda-unpoly","owner":"adam12","description":"Easily add support to Roda for the server protocol expected by Unpoly","archived":false,"fork":false,"pushed_at":"2024-12-27T16:22:03.000Z","size":49,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T05:43:28.049Z","etag":null,"topics":["roda"],"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/adam12.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-04T20:41:45.000Z","updated_at":"2024-12-27T16:22:07.000Z","dependencies_parsed_at":"2024-11-08T06:03:27.325Z","dependency_job_id":"f71f0510-2059-4f1e-8780-d76cc08e4854","html_url":"https://github.com/adam12/roda-unpoly","commit_stats":{"total_commits":49,"total_committers":1,"mean_commits":49.0,"dds":0.0,"last_synced_commit":"2f38d0045e97f4776011df04e6578ab4291a1740"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-unpoly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-unpoly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-unpoly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Froda-unpoly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adam12","download_url":"https://codeload.github.com/adam12/roda-unpoly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530583,"owners_count":21119600,"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":["roda"],"created_at":"2024-08-06T08:02:18.981Z","updated_at":"2025-04-14T17:30:52.841Z","avatar_url":"https://github.com/adam12.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Unpoly for Roda\n\nEasily add support for the server protocol expected by [Unpoly](http://unpoly.com).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"roda-unpoly\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install roda-unpoly\n\n## Usage\n\nSimply enable the plugin through the `plugin` mechanism.\n\n```ruby\nclass App \u003c Roda\n  plugin :unpoly\n\n  route do |r|\n    # Routing tree\n  end\nend\n```\n\nInside the routing tree, some convenience methods are made available to work with\nthe Unpoly request.\n\n### Testing for Unpoly request\n\nUse the methods `r.up?`, `r.unpoly?`, `r.up.up?`, or `r.up.unpoly?` (they are\nall aliases of the same method).\n\n### Testing the Unpoly target\n\nUse the method `r.up.target?(your_target)`.\n\n### Testing for Unpoly validate request\n\nUse the method `r.up.validate?`.\n\n### Setting page title\n\nUse the method `r.up.title=`.\n\n## Where are the Javascript and CSS assets?\n\nI've chosen not to bundle those assets with the gem as they might be updated more\nfrequently then this library. Roda is also asset-agnostic (for the most part),\nso it's easier if you bring in your assets as you see fit for your specific needs.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/adam12/roda-unpoly.\n\nI love pull requests! If you fork this project and modify it, please ping me to see\nif your changes can be incorporated back into this project.\n\nThat said, if your feature idea is nontrivial, you should probably open an issue to\n[discuss it](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)\nbefore attempting a pull request.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Froda-unpoly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadam12%2Froda-unpoly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Froda-unpoly/lists"}