{"id":16553646,"url":"https://github.com/kevyder/puffly","last_synced_at":"2025-04-21T15:30:46.087Z","repository":{"id":56889542,"uuid":"77423170","full_name":"kevyder/puffly","owner":"kevyder","description":"Fun and cute flash messages for your ruby on @rails application. :+1:","archived":false,"fork":false,"pushed_at":"2024-04-21T17:35:40.000Z","size":35,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-01T14:12:17.540Z","etag":null,"topics":["cute-flash-messages","rails","ruby","rubygem","sass"],"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/kevyder.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":"2016-12-27T03:33:20.000Z","updated_at":"2024-04-21T17:35:43.000Z","dependencies_parsed_at":"2022-08-21T00:50:21.400Z","dependency_job_id":null,"html_url":"https://github.com/kevyder/puffly","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fpuffly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fpuffly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fpuffly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevyder%2Fpuffly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevyder","download_url":"https://codeload.github.com/kevyder/puffly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250080494,"owners_count":21371516,"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":["cute-flash-messages","rails","ruby","rubygem","sass"],"created_at":"2024-10-11T19:49:00.596Z","updated_at":"2025-04-21T15:30:45.770Z","avatar_url":"https://github.com/kevyder.png","language":"Ruby","readme":"# Puffly\n\n[![Gem Version](https://badge.fury.io/rb/puffly.svg)](https://badge.fury.io/rb/puffly)\n[![Gem](https://img.shields.io/gem/dt/puffly)](https://rubygems.org/gems/puffly)\n\nFun and cute flash messages for your Ruby on Rails application.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n  ```ruby\n  gem 'puffly'\n  ```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install puffly\n\nOnce installed, add the following to your `application.scss`:\n\n  ```scss\n  @import \"puffly\";\n  ```\n\nand your `application.js`:\n\n  ```js\n  //= require puffly\n  ```\n\n## Usage\n\nAdd this lines to your `application.erb` or the main layout of your application:\n\n  ```erb\n  \u003c% flash.each do |type, msg| %\u003e\n    \u003c%= content_tag :span, msg, class: \"#{type}\", id: \"puffly\" %\u003e\n  \u003c% end %\u003e\n  ```\n\nAnd add the flash message to the action of your controller:\n\n   ```ruby\n   flash[OPTION] = \"Your message\"\n   ```\n\nYou can set some options when creating a flash message.\n\n   OPTION | SASS Variable | HEX Color\n   ------------ | ------------- | -------------\n   :success | $color-sucess | `#3DC763`\n   :error | $color-error | `#ED3D3D`\n   :warning | $color-warning | `#FF9800`\n   :notice | $color-notice | `#2B5C7F`\n   :alert  | $color-alert  | `#03A9F4`\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kevyder/puffly.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevyder%2Fpuffly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevyder%2Fpuffly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevyder%2Fpuffly/lists"}