
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
merb_hoptoad_notifier
Advanced tools
This is merb plugin for exception notification with hoptoad. It should work with any merb app that's based on merb 1.0 and higher
This plugin: http://github.com/atmos/merb_hoptoad_notifier/tree/master The original: http://github.com/thoughtbot/hoptoad_notifier/tree/master
Usage:
Get your api key for your app from hoptoadapp.com
Add the api key to config/hoptoad.yml with a similar syntax as the following
:development: &defaults :api_key: ZOMGLOLROFLMAO
:rake: <<: *defaults
:test: <<: *defaults
:production: :api_key: UBERSECRETSHIT
Require hoptoad in init.rb require 'merb_hoptoad_notifier'
Add the following method to your Exceptions controller. Depending on your merb version you'll need to use the exceptions,standard_error, or internal_server error as the action name. Kinda weak, but the API changed a lot in 0.9.x
class Exceptions < Merb::Controller if %w( staging production ).include?(Merb.env) def standard_error HoptoadNotifier.notify_hoptoad(request, session) render end end end
If you have environmental variables set in your ruby process that should not be sent to hoptoad, there's a mechanism for filtering those attributes now. Throw something like this in config/init.rb
Merb::BootLoader.after_app_loads do HoptoadNotifier.environment_filters = %w(^AWS ^EC2 SECRET PRIVATE KEY) end
Each of these words will be compiled into a regex so you should be able to use anchors if needed.
joakimk, fairchild and cv.
FAQs
Unknown package
We found that merb_hoptoad_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
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.