{"id":16925432,"url":"https://github.com/alejandrodevs/flash_rails_messages","last_synced_at":"2025-09-24T13:31:50.206Z","repository":{"id":9417466,"uuid":"11287168","full_name":"alejandrodevs/flash_rails_messages","owner":"alejandrodevs","description":"A simple helper to display flash rails messages","archived":false,"fork":false,"pushed_at":"2021-12-03T17:48:25.000Z","size":121,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T16:51:35.592Z","etag":null,"topics":["bootstrap","flash-messages","rails","ruby"],"latest_commit_sha":null,"homepage":null,"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/alejandrodevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-09T16:11:12.000Z","updated_at":"2023-07-31T14:02:59.000Z","dependencies_parsed_at":"2022-09-10T08:00:53.143Z","dependency_job_id":null,"html_url":"https://github.com/alejandrodevs/flash_rails_messages","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fflash_rails_messages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fflash_rails_messages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fflash_rails_messages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fflash_rails_messages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandrodevs","download_url":"https://codeload.github.com/alejandrodevs/flash_rails_messages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234087244,"owners_count":18777720,"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":["bootstrap","flash-messages","rails","ruby"],"created_at":"2024-10-13T20:10:37.447Z","updated_at":"2025-09-24T13:31:49.906Z","avatar_url":"https://github.com/alejandrodevs.png","language":"Ruby","readme":"# FlashRailsMessages\n[![Build Status](https://travis-ci.com/alejandrodevs/flash_rails_messages.svg?branch=master)](https://travis-ci.org/alejandrodevs/flash_rails_messages) [![Coverage Status](https://coveralls.io/repos/github/alejandrodevs/flash_rails_messages/badge.svg?branch=master)](https://coveralls.io/github/alejandrodevs/flash_rails_messages?branch=master)\n\nThis gem provides an easy and simple way to display flash rails messages.\nThis works with [Bootstrap 4+](http://getbootstrap.com/) and [Zurb Foundation 6+](http://foundation.zurb.com/) frameworks.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'flash_rails_messages'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install flash_rails_messages\n\n### Bootstrap 4+\n\nTo integrate **FlashRailsMessages** with [Bootstrap](http://getbootstrap.com/) run the next:\n\n```\nrails generate flash_rails_messages:install --bootstrap\n```\n\nNOTE: Be sure that you added Bootstrap to your application.\n\n\n### Zurb Foundation 6+\n\nTo integrate **FlashRailsMessages** with [Zurb Foundation 3](http://foundation.zurb.com/) run the next:\n\n```\nrails generate flash_rails_messages:install --foundation\n```\n\nNOTE: Be sure that you added Foundation to your application.\n\n## Usage\n\nYou just need to add the line below in your layout:\n\n```erb\n\u003c%= render_flash_messages %\u003e\n```\n\n### Dismissible alerts\n\n```erb\n\u003c%= render_flash_messages dismissible: true %\u003e\n```\n\n### Passing other options\n\n```erb\n\u003c%= render_flash_messages dismissible: true, id: 'my-alert', class: 'custom-class' %\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/alejandrodevs/flash_rails_messages. 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\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the FlashRailsMessages project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/alejandrodevs/flash_rails_messages/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Fflash_rails_messages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrodevs%2Fflash_rails_messages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Fflash_rails_messages/lists"}