Project

conversejs

0.0
Low commit activity in last 3 years
No release in over a year
Converse.js for your Rails application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 3.12
>= 0.22
~> 2.3
>= 5.2
~> 1.28
>= 0.9.28
~> 2.4
~> 1.1

Runtime

>= 5.2
 Project Readme

Conversejs

Continuous Integration Gem Version Test Coverage Test Ratio API docs

This gem provides the converse.js JavaScript library for your Rails 4+ application.

  • Installation
  • Usage
  • Development
  • Code of Conduct
  • Contributing
  • Releasing

Installation

Add this line to your application's Gemfile:

gem 'conversejs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install conversejs

Usage

The converse.js files will be added to the asset pipeline and available for you to use. If they're not already in app/assets/javascripts/application.js by default, add this line:

//= require converse

The converse.js library comes also with a stylesheet which must be included to your app/assets/stylesheets/application.scss. Just add this line:

@import "converse";

Development

After checking out the repo, run make install to install dependencies. Then, run make test to run the tests. You can also run make shell-irb for an interactive prompt that will allow you to experiment.

Code of Conduct

Everyone interacting in the project codebase, issue tracker, chat rooms and mailing lists is expected to follow the code of conduct.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hausgold/conversejs. Make sure that every pull request adds a bullet point to the changelog file with a reference to the actual pull request.

Releasing

The release process of this Gem is fully automated. You just need to open the Github Actions Release Workflow and trigger a new run via the Run workflow button. Insert the new version number (check the changelog first for the latest release) and you're done.