
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Wrap up the excellent gridstack.js javascript library. gridstack.js is a jQuery plugin for widget layout. This is drag-and-drop multi-column grid. It allows you to build draggable responsive bootstrap v3 friendly layouts.
gridstack.js github repository and documentation can be found here: [https://github.com/troolee/gridstack.js] (https://github.com/troolee/gridstack.js)
The gridstack-js-rails simply wrap up gridstack.js and its dependencies to ease integration in a rails project.
The gem allow easy installation for the latest stable version.
Add this line to your application's Gemfile:
gem 'gridstack-js-rails'
And then execute:
bundle
And restart your server
Installing from github repository allow you to chose the version to install if the latest stable version does not suit your needs.
Add this line to your application's Gemfile:
# To add a specific version:
gem 'gridstack-js-rails', github: 'randoum/gridstack-js-rails', tag: 'v0.2.3'
# OR to use the latest development version:
gem 'gridstack-js-rails', github: 'randoum/gridstack-js-rails'
And then execute:
bundle
And restart your server
By default gridstack-js-rails will include the following javascripts libraries:
Along with the following stylesheets files:
To integrate gridstack.js and its default dependencies, add to your javascript manifest file:
//= require gridstack-js-rails
And add to your stylesheet manifest file:
/*
*= require gridstack-js-rails
*/
To integrate the default library but to use underscore.js in place of lodash, add to your javascript manifest file:
//= require gridstack-js-rails-underscore
And add to your stylesheet manifest file:
/*
*= require gridstack-js-rails
*/
If you want to integrate the dependencies manually, and need only the gridstack.js library, add to your javascript manifest file:
//= require gridstack/gridstack
And add to your stylesheet manifest file:
/*
*= require gridstack/gridstack
*/
You can also add the gridstack-extra css styles by adding to your stylesheet manifest file:
/*
*= require gridstack/gridstack-extra
*/
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that gridstack-js-rails 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
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.