Paho::Rails

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.

Installation

Add this line to your application's Gemfile:

gem 'paho-rails', github: 'lmhsjackson/paho-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install paho-rails

Usage

Add '//= require paho' to your application.js file.

Contributing

  1. Fork it ( http://github.com//paho-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request