Project

pubnub-js

0.0
No commit activity in last 3 years
No release in over 3 years
The PubNub JavaScript SDK packaged for the Rails 3.1+ asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0

Runtime

>= 3.1
 Project Readme

pubnub-js

This gem packages the PubNub Javascript SDK for the Rails asset pipeline

Versionning

Versioning follows the core releases of the PubNub Javascript SDK

For instance: using gem 'pubnub-js', '~> 3.7.14' in your Gemfile will include the version 3.7.14 of the PubNub Javascript SDK in your Rails app.

See the list of available versions on the gem page

Installation

→ In your Gemfile add:

gem 'pubnub-js'

and run :

bundle install

→ In your application.js add:

//= require pubnub

Contributing

If you notice that this gem is not using the last version of the PubNub Javascript SDK. You can easily bundle a new version of the pubnub-js gem with a new version of the PubNub Javascript SDK by following these steps :

  1. Fork this repository ( https://github.com/supertinou/pubnub-js/fork )
  2. Create your feature branch (git checkout -b update-to-[new version number])
  3. Update the pubnub.js file located at vendor/assets/javascripts/pubnub.js by replacing it with the new version and update the version number in version.rb with the corresponding version.
  4. Commit your changes (git commit -am 'Version [new version number]')
  5. Push to the branch (git push origin update-to-[new version number])
  6. Create a new Pull Request