{"id":23749306,"url":"https://github.com/yamat47/slack_notifiee","last_synced_at":"2026-04-28T18:06:21.117Z","repository":{"id":56896092,"uuid":"461129164","full_name":"yamat47/slack_notifiee","owner":"yamat47","description":"Notifications store and accessor for slack-notifier/slack-notifier.","archived":false,"fork":false,"pushed_at":"2022-02-20T09:13:16.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T05:12:35.490Z","etag":null,"topics":["gem","ruby","slack","slack-notifier"],"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/yamat47.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-02-19T08:18:24.000Z","updated_at":"2022-02-20T08:46:28.000Z","dependencies_parsed_at":"2022-08-21T00:50:57.721Z","dependency_job_id":null,"html_url":"https://github.com/yamat47/slack_notifiee","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamat47%2Fslack_notifiee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamat47%2Fslack_notifiee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamat47%2Fslack_notifiee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamat47%2Fslack_notifiee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yamat47","download_url":"https://codeload.github.com/yamat47/slack_notifiee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239908946,"owners_count":19716886,"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":["gem","ruby","slack","slack-notifier"],"created_at":"2024-12-31T15:16:24.841Z","updated_at":"2026-03-11T01:30:20.258Z","avatar_url":"https://github.com/yamat47.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI Status](https://github.com/yamat47/slack_notifiee/actions/workflows/main.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/slack_notifiee.svg)](https://badge.fury.io/rb/slack_notifiee) [![Maintainability](https://api.codeclimate.com/v1/badges/d65ff4f4ab461f8ee938/maintainability)](https://codeclimate.com/github/yamat47/slack_notifiee/maintainability)\n\n# SlackNotifiee\nSlackNotifiee is a debugging and testing tool for [slack-notifier/slack-notifier](https://github.com/slack-notifier/slack-notifier). Using this gem, you can access the notifications sent by slack-notifier in your code (without Slack App).\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'slack_notifiee'\n```\n\nAnd then execute:\n\n```\n$ bundle install\n```\n\nOr install it yourself as:\n\n```\n$ gem install slack_notifiee\n```\n\n## Usage\n```ruby\nrequire 'slack-notifier'\nrequire 'slack_notifiee'\n\n# Enable this gem before using slack-notifier.\nSlackNotifiee.enable\n\n# Send a notification. (Accutually, all notifications are not sent to slack but stored as local file.)\nnotifier = Slack::Notifier.new('https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX')\nnotifier.ping 'Hello, world!'\n\n# You can view all notifications via `SlackNotifiee.notifications`.\nSlackNotifiee.notifications.count #=\u003e 1\nSlackNotifiee.notifications.first.text #=\u003e 'Hello, world!'\n```\n\n`SlackNotifiee.notifications` returns an array of `SlackNotifiee::Notification` objects sorted by notified time. `SlackNotifiee::Notification#attributes` contains:\n\n* `webhook_url`\n* `username`\n* `channel`\n* `attachments`\n* `blocks`\n* `text`\n* `icon_emoji`\n* `icon_url`\n* `datetime`\n\n## Development\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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/yamat47/slack_notifiee. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/slack_notifiee/blob/main/CODE_OF_CONDUCT.md).\n\n## License\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\nEveryone interacting in the SlackNotifiee project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yamat47/slack_notifiee/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamat47%2Fslack_notifiee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyamat47%2Fslack_notifiee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamat47%2Fslack_notifiee/lists"}