Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

the_data_role_block_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the_data_role_block_rails

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

TheDataRoleBlockRails

Mix of data-role, data-block solutions from:

  1. https://github.com/ai/evil-blocks
  2. https://github.com/kossnocorp/role

Gem provide

  1. marker @ for data-role and marker @@ for data-block for SLIM and HAML
  2. JQuery plugin with selectors $('@role-name') and $('@@block-name') and methods addRole, removeRole, addBlock, removeBlock

Installation

Add this line to your application's Gemfile:

gem 'the_data_role_block_rails'

And then execute:

bundle

Usage

app/assets/javascripts/application.js

//= require /jquery.data-role-block

MIT license

FAQs

Package last updated on 01 Nov 2014

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