mikemarsian-ruby_bosh 0.13.3 → 0.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -0
  3. data/ruby_bosh.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 831fff9ccd8c05dc026537e96a214058b6d372bb
4
- data.tar.gz: 93712d84cf93fdb85400b6024dcefc9f9e87f674
3
+ metadata.gz: a7c2c742c0ed0a330070ebc811a80763d4686096
4
+ data.tar.gz: 4c8bf3acb260ada524c0b6a38363b6f898b04426
5
5
  SHA512:
6
- metadata.gz: dacab7e386fc6f7553460e0cc60236a40e99fa09a4880a65e6810394f8ce81558e35aabd990598edc7121c1e5a2413aa20b3313bb4e35ec1622b292b90348046
7
- data.tar.gz: 92da6209cd4c7c0129e980f01ddf6abf1a9accab75c4012cc285718f11382fade65b033d6774397a87717cd0803ecbc2cacbcd00e25663b08ac78fffa52866a0
6
+ metadata.gz: 2e0e081379f81ce57b406cf168f7b23ff1489e480c3f69e5f3e0b3a50aa26f2b84ae1122e9691411d62d5600554e9c9af22a2c4c639fb3a02e02bf1b72a7f22e
7
+ data.tar.gz: 976fc0e158f5236662b6f1241e29779b0d03d4f34721e315649de2402d5444eff4c8acda4b348eb3c5c27c05d9d1d5c2fcd7a78b542279d6b1a7e744e6870550
data/README.md CHANGED
@@ -9,6 +9,7 @@ Tested on Rails 4.2, Ruby 2.1.2 with eJabberd 16.04
9
9
  ## References
10
10
 
11
11
  BOSH: http://xmpp.org/extensions/xep-0124.html
12
+
12
13
  XMPP via BOSH: http://xmpp.org/extensions/xep-0206.html
13
14
 
14
15
  ## Example
@@ -39,6 +40,12 @@ var bosh_rid = '<%= @session_random_id %>';
39
40
  ``` js
40
41
  // using Strophe:
41
42
  connect.attach(bosh_jid, bosh_sid, bosh_rid, onConnectHandlerFunction);
43
+
44
+ // using ConverseJS:
45
+ converse.initialize({
46
+ jid: bosh_jid, sid: bosh_sid, rid: bosh_rid
47
+ // ... the rest of the initialization data
48
+ })
42
49
  ```
43
50
 
44
51
  ## Acknowledgements
data/ruby_bosh.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "mikemarsian-ruby_bosh"
3
- s.version = "0.13.3"
3
+ s.version = "0.13.4"
4
4
 
5
5
  s.require_paths = ["lib"]
6
6
  s.authors = ["Original author: Pradeep Elankumaran. Update for ruby 2: Mike Polischuk"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mikemarsian-ruby_bosh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'Original author: Pradeep Elankumaran. Update for ruby 2: Mike Polischuk'