New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blazer-plus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blazer-plus

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Blazer Plus

Blazer Plus is a feature extension for the blazer gem. It provides additional safety measures and enhancements to improve user experience and security when using Blazer for database queries.

  • Support for CSV output with BOM
  • Row limit for query result output
  • Access restriction for dangerous actions

Installation

Add this line to your application's Gemfile:

gem 'blazer-plus'

And then execute:

$ bundle install

Usage

You can configure Blazer Plus in your application's initialization file. Here's an example:

# Blazer::Plus.enabled = true
Blazer::Plus.blazer_danger_actionable_method = ->(blazer_user) { blazer_user.blazer_admin? }

In this example, Blazer::Plus.enabled is a flag to enable or disable the Blazer Plus features. Blazer::Plus.blazer_danger_actionable_method is a lambda function that you can customize to handle dangerous queries action by Blazer Plus.

License

This gem is available under the MIT license.

FAQs

Package last updated on 13 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc