This is a simple asset gem to add Paho library to rails.
Paho is a javascript library to hanle MQTT, a light-weight publish/subscribe messaging protocol.
Add this line to your application's Gemfile:
gem 'paho-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install paho-rails
Add '//= require paho' to your application.js file.
- Fork it ( http://github.com//paho-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request