{"id":15792887,"url":"https://github.com/pinzolo/rails-render_hooks","last_synced_at":"2025-03-14T14:30:45.693Z","repository":{"id":56890687,"uuid":"20674545","full_name":"pinzolo/rails-render_hooks","owner":"pinzolo","description":"Add callbacks for render method","archived":false,"fork":false,"pushed_at":"2019-04-20T14:50:03.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-30T01:42:40.574Z","etag":null,"topics":["callbacks","ruby","ruby-on-rails"],"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/pinzolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-10T06:13:37.000Z","updated_at":"2023-12-11T13:16:37.000Z","dependencies_parsed_at":"2022-08-21T00:50:25.157Z","dependency_job_id":null,"html_url":"https://github.com/pinzolo/rails-render_hooks","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinzolo%2Frails-render_hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinzolo%2Frails-render_hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinzolo%2Frails-render_hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinzolo%2Frails-render_hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinzolo","download_url":"https://codeload.github.com/pinzolo/rails-render_hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243593214,"owners_count":20316150,"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":["callbacks","ruby","ruby-on-rails"],"created_at":"2024-10-04T23:06:36.242Z","updated_at":"2025-03-14T14:30:45.300Z","avatar_url":"https://github.com/pinzolo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rails-render_hooks\n\n[![Build Status](https://secure.travis-ci.org/pinzolo/rails-render_hooks.png)](http://travis-ci.org/pinzolo/rails-render_hooks)\n[![Coverage Status](https://coveralls.io/repos/pinzolo/rails-render_hooks/badge.png)](https://coveralls.io/r/pinzolo/rails-render_hooks)\n\nThis gem provides new callbacks to your controller (on RoR).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rails-render_hooks'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rails-render_hooks\n\n## Hooks\n\n* before_render\n* prepend_before_render\n* skip_before_render\n* after_render\n* prepend_after_render\n* skip_after_render\n* around_render\n* prepend_around_render\n* skip_around_render\n\n## Ordering of hooks\n\n1. before_action\n1. around_action\n1. prepend_around_render\n1. prepend_before_render\n1. before_render\n1. around_render\n1. rendering\n1. around_render\n1. after_render\n1. prepend_after_render\n1. prepend_around_render\n1. around_action\n1. after_action\n\n## Supported versions\n\n* Ruby: 2.3.x, 2.4.x, 2.5.x, 2.6.x\n* Rails: 4.2.x, 5.0.x, 5.1.x, 5.2.x\n\n## Contributing\n\n1. Fork it ( https://github.com/pinzolo/rails-render_hooks/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Changelog\n\n* v1.0.0 (2014-06-10 JST): First release\n* v2.0.0 (2019-04-20 JST): Compatible to recent ruby and rails versions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinzolo%2Frails-render_hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinzolo%2Frails-render_hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinzolo%2Frails-render_hooks/lists"}