{"id":15405176,"url":"https://github.com/fnando/rails-routes","last_synced_at":"2025-04-17T00:50:37.461Z","repository":{"id":36879869,"uuid":"41186853","full_name":"fnando/rails-routes","owner":"fnando","description":"Enable config/routes/*.rb on your Rails application.","archived":false,"fork":false,"pushed_at":"2020-09-24T17:51:08.000Z","size":30,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T15:50:13.539Z","etag":null,"topics":["rails","routes"],"latest_commit_sha":null,"homepage":"","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/fnando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["fnando"],"custom":["https://www.paypal.me/nandovieira/🍕"]}},"created_at":"2015-08-22T02:45:08.000Z","updated_at":"2024-04-06T15:14:35.000Z","dependencies_parsed_at":"2022-08-20T16:01:03.207Z","dependency_job_id":null,"html_url":"https://github.com/fnando/rails-routes","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Frails-routes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Frails-routes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Frails-routes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Frails-routes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/rails-routes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249294771,"owners_count":21245995,"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":["rails","routes"],"created_at":"2024-10-01T16:15:19.612Z","updated_at":"2025-04-17T00:50:37.445Z","avatar_url":"https://github.com/fnando.png","language":"Ruby","funding_links":["https://github.com/sponsors/fnando","https://www.paypal.me/nandovieira/🍕"],"categories":[],"sub_categories":[],"readme":"# Rails::Routes\n\n[![Travis-CI](https://travis-ci.org/fnando/rails-routes.svg)](https://travis-ci.org/fnando/rails-routes)\n[![Code Climate](https://codeclimate.com/github/fnando/rails-routes/badges/gpa.svg)](https://codeclimate.com/github/fnando/rails-routes)\n[![Gem](https://img.shields.io/gem/v/rails-routes.svg)](https://rubygems.org/gems/rails-routes)\n[![Gem](https://img.shields.io/gem/dt/rails-routes.svg)](https://rubygems.org/gems/rails-routes)\n\nToo many routes on your Rails app? Me too! This gem allows you to separate your\nroutes on different files. Just create them at `config/routes/*.rb` and you're\ngood to go.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"rails-routes\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rails-routes\n\n## Usage\n\nAfter adding this gem to your project, you can create multiple route files\ninside `config/routes`. Just make sure you wrap your routes with\n\n```ruby\n# config/routes/v1.rb\nRails.application.routes.draw do\n  namespace :v1 do\n    resources :things\n  end\nend\n\n# config/routes/v2.rb\nRails.application.routes.draw do\n  namespace :v2 do\n    resources :things\n  end\nend\n```\n\nThe routes will be reloaded in development; if you create or remove files, you\nhave to restart your server.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rake test` to run the tests. You can also run `bin/console` for an interactive\nprompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, update the version number in `version.rb`, and then run\n`bundle exec rake release`, which will create a git tag for the version, push\ngit commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/fnando/rails-routes. This project is intended to be a safe,\nwelcoming space for collaboration, and contributors are expected to adhere to\nthe [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Frails-routes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Frails-routes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Frails-routes/lists"}