{"id":20502509,"url":"https://github.com/hamuyuuki/actionpack-direct_routes","last_synced_at":"2025-04-13T20:14:17.524Z","repository":{"id":51018167,"uuid":"213904774","full_name":"hamuyuuki/actionpack-direct_routes","owner":"hamuyuuki","description":"Backport Direct routes into Rails 4 and Rails 5.0","archived":false,"fork":false,"pushed_at":"2021-05-26T00:46:08.000Z","size":73,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T10:47:14.408Z","etag":null,"topics":["backport","gem","rails","routing","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/actionpack-direct_routes","language":"Ruby","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/hamuyuuki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-09T11:51:42.000Z","updated_at":"2021-07-22T22:37:24.000Z","dependencies_parsed_at":"2022-08-29T06:50:54.430Z","dependency_job_id":null,"html_url":"https://github.com/hamuyuuki/actionpack-direct_routes","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamuyuuki%2Factionpack-direct_routes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamuyuuki%2Factionpack-direct_routes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamuyuuki%2Factionpack-direct_routes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamuyuuki%2Factionpack-direct_routes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamuyuuki","download_url":"https://codeload.github.com/hamuyuuki/actionpack-direct_routes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333602,"owners_count":21086200,"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":["backport","gem","rails","routing","ruby"],"created_at":"2024-11-15T19:23:20.100Z","updated_at":"2025-04-13T20:14:17.432Z","avatar_url":"https://github.com/hamuyuuki.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/actionpack-direct_routes.svg)](https://badge.fury.io/rb/actionpack-direct_routes)\n[![Build Status](https://travis-ci.com/hamuyuuki/actionpack-direct_routes.svg?branch=master)](https://travis-ci.com/hamuyuuki/actionpack-direct_routes)\n[![Maintainability](https://api.codeclimate.com/v1/badges/37a26fb3d2dbec167997/maintainability)](https://codeclimate.com/github/hamuyuuki/actionpack-direct_routes/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/37a26fb3d2dbec167997/test_coverage)](https://codeclimate.com/github/hamuyuuki/actionpack-direct_routes/test_coverage)\n\n# actionpack-direct_routes\n`actionpack-direct_routes` backports Direct routes into Rails 4 and Rails 5.0.\n\nRails 5.1 adds Direct routes that you can create custom URL helpers directly.\n[Ruby on Rails 5.1 Release Notes — Ruby on Rails Guides](https://guides.rubyonrails.org/5_1_release_notes.html#direct-resolved-routes)\n\n## Getting Started\nInstall `actionpack-direct_routes` at the command prompt:\n```sh\ngem install actionpack-direct_routes\n```\n\nOr add `actionpack-direct_routes` to your Gemfile:\n```ruby\ngem \"actionpack-direct_routes\"\n```\n\n## How to use\nYou can create custom URL helpers directly. For example:\n```ruby\ndirect :homepage do\n  \"http://www.rubyonrails.org\"\nend\n\n# \u003e\u003e homepage_url\n# =\u003e \"http://www.rubyonrails.org\"\n```\n\nFor details to [Rails Routing from the Outside In — Ruby on Rails Guides](https://guides.rubyonrails.org/routing.html#direct-routes)\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/hamuyuuki/actionpack-direct_routes. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n`actionpack-direct_routes` is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamuyuuki%2Factionpack-direct_routes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamuyuuki%2Factionpack-direct_routes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamuyuuki%2Factionpack-direct_routes/lists"}