{"id":15610367,"url":"https://github.com/qnester/hey-you-slack","last_synced_at":"2025-10-08T00:46:55.991Z","repository":{"id":56876378,"uuid":"180160679","full_name":"QNester/hey-you-slack","owner":"QNester","description":"Slack notification channel for hey-you gem","archived":false,"fork":false,"pushed_at":"2020-07-05T12:01:17.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T07:46:23.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QNester.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-08T13:57:25.000Z","updated_at":"2020-07-05T12:01:11.000Z","dependencies_parsed_at":"2022-08-20T23:10:23.428Z","dependency_job_id":null,"html_url":"https://github.com/QNester/hey-you-slack","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/QNester/hey-you-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fhey-you-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fhey-you-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fhey-you-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fhey-you-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QNester","download_url":"https://codeload.github.com/QNester/hey-you-slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fhey-you-slack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262392588,"owners_count":23303938,"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":[],"created_at":"2024-10-03T06:01:26.194Z","updated_at":"2025-09-25T23:20:35.003Z","avatar_url":"https://github.com/QNester.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hey, You, Slack!\n[![Build Status](https://travis-ci.com/QNester/hey-you-slack.svg?branch=master)](https://travis-ci.com/QNester/hey-you-slack#)\n[![Gem Version](https://badge.fury.io/rb/hey-you-slack.svg)](https://badge.fury.io/rb/hey-you-slack)\n\nSlack notifications via [hey-you gem](https://github.com/QNester/hey-you).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'hey-you-slack'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install hey-you-slack\n\n## Usage\n\nAfter load gem you can send notifications to slack via [hey-you](https://github.com/QNester/hey-you).\n\nFor example:\n```yaml\n# config/notifications.yml\nevents:\n  signed_up:\n    # ...\n    slack:\n      username: Greeter\n      text: 'User with email %{email} was signed up'\n      webhook_name: 'channel_name' # key from config.slack.webhooks\n      icon_emoji: ':grin:'\n```\n\n```ruby\n# config/initalizers/hey-you.rb\nHeyYou::Config.configure do \n\t# [Hash] required - list of slack-webhooks for your applications \n  config.slack.webhooks = {\n    channel_name: 'http://webhooks.slack/channel_webhook'\n  } \n\t\n  # [String] optional - default name of author notifications messages in slack chats. \n  config.slack.slack_username = 'MyApp_Notifier'\nend\n```\n\n```ruby\n# // somewhere in your app \nbuilder = Builder.new('events.signed_up', email: created_user.email) \nHeyYou::Channels::Slack.send!(builder) #=\u003e { success: true }\n# Notification will be received in slack chat :)\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`. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqnester%2Fhey-you-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqnester%2Fhey-you-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqnester%2Fhey-you-slack/lists"}