Today I’m releasing mousetrap-rails 1.4.6 – Rails gem for handling keyboard shortcuts via mousetrap javascript library.

Here are some release highlights.

Changed version system. From now on gem will have the same version as original mousetrap.js library. Yes, it’s stiil semversioned. You can use mousetrap plugins in the way we all love – via assets pipeline. Just require them in your application.js with //= require mousetrap/plugins .

Of course, you can use them separately requiring one by one: Global Bindings, Bind dictionary, Pause/Unpause and Record.

Gem page on GitHub