
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
incoming_webhook_notifier
Advanced tools
Simple Ruby lang Net/HTTPs implementation to send requests to "incomming webhooks" of providers:
Why this gem ?
Because it's using just native Ruby lib to send the request, nothing fancy.
Add this line to your application's Gemfile:
gem 'incoming_webhook_notifier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install incoming_webhook_notifier
https://api.slack.com/incoming-webhooks
require 'incoming_webhook_notifier'
IncomingWebhookNotifier.slack_notify(https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX, text: "Woo Hoo! Deployment was done")
https://airbrake.io/docs/airbrake-faq/deploy-tracking/
require 'incoming_webhook_notifier'
git_commit_id = '38748467ea579e7ae64f7815452307c9d05e05c5'
# note: this can actually be branch name too, thx to Github API magic it works:
# git_commit_id = 'live-20160808_001'
options = {
environment: 'production',
username: 'danny',
repository: 'https://github/dummy-organization/asking-alexandria',
revision: git_commit_id,
version: 'v2.0'
}
IncomingWebhookNotifier.airbrake_deploy_notify('https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX', options)
After 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.
To 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.
Bug reports and pull requests are welcome on GitHub at https://github.com/pobble/incoming_webhook_notifier. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that incoming_webhook_notifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.