Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benesch/rack-auth-travis-webhook
Rack middleware to verify Travis CI webhook requests.
https://github.com/benesch/rack-auth-travis-webhook
Last synced: about 1 month ago
JSON representation
Rack middleware to verify Travis CI webhook requests.
- Host: GitHub
- URL: https://github.com/benesch/rack-auth-travis-webhook
- Owner: benesch
- License: mit
- Created: 2017-01-25T08:08:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-25T08:10:29.000Z (almost 8 years ago)
- Last Synced: 2024-04-29T02:21:28.941Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rack::Auth::TravisWebhook
Rack middleware to [verify Travis CI webhook requests][0].
[0]: https://docs.travis-ci.com/user/notifications/#Verifying-Webhook-requests
## Usage
```ruby
require 'rack/auth/travis_webhook'Rack::Builder.new do
use Rack::Auth::TravisWebhook
run ->(_env) { [200, {}, ["If you can see me, you must be Travis!"]] }
end
```