mikemarsian-ruby_bosh 0.13 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +2 -1
- data/README +7 -7
- data/ruby_bosh.gemspec +3 -6
- metadata +2 -5
- data/TODO +0 -2
- data/VERSION.yml +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 831c365fbfb604461b5bf06fa2b175489d117bee
|
|
4
|
+
data.tar.gz: 2ec28a2c2281442cc15654b6339afa6e96a9b377
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb2f83a8a3087f418546b65508edb29e3f2037dbb861479fccead06e69c3891ba2508d96a5d0df3e15d3df85065ccd90c5f5d544e5ea02fb97fcd8b74456e945
|
|
7
|
+
data.tar.gz: 6e73736e10659616cd4a046c9ded2d01dec72f50700f4f62c60d155546fc98b9d848ab98350d24d03185d1ba4f9397c08a6497717bc7f95fa2535e1eecf4b1cc
|
data/LICENSE
CHANGED
data/README
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
=========
|
|
1
|
+
# RubyBosh
|
|
3
2
|
|
|
4
3
|
The RubyBOSH library handles creating and pre-authenticating BOSH streams inside your Ruby application before passing them off to your template engine.
|
|
5
4
|
|
|
6
5
|
This method allows you to hide authentication details for your users' XMPP accounts.
|
|
7
6
|
|
|
8
|
-
Tested on Rails 2.
|
|
7
|
+
Tested on Rails 4.2, Ruby 2.1.2 with eJabberd 16.04
|
|
8
|
+
|
|
9
|
+
## References
|
|
9
10
|
|
|
10
|
-
References
|
|
11
|
-
==========
|
|
12
11
|
BOSH: http://xmpp.org/extensions/xep-0124.html
|
|
13
12
|
XMPP via BOSH: http://xmpp.org/extensions/xep-0206.html
|
|
14
13
|
|
|
15
|
-
Example
|
|
16
|
-
|
|
14
|
+
## Example
|
|
15
|
+
|
|
17
16
|
In your Ruby app controller (or equivalent):
|
|
18
17
|
|
|
19
18
|
@session_jid, @session_id, @session_random_id =
|
|
@@ -41,3 +40,4 @@ Jack Moffit
|
|
|
41
40
|
#=> http://metajack.im/2008/10/03/getting-attached-to-strophe/
|
|
42
41
|
|
|
43
42
|
Copyright (c) 2008 Pradeep Elankumaran. See LICENSE for details.
|
|
43
|
+
Copyright (c) 2016 Mike Polischuk. See LICENSE for details.
|
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
|
+
s.version = "0.13.1"
|
|
4
4
|
|
|
5
5
|
s.require_paths = ["lib"]
|
|
6
6
|
s.authors = ["Original author: Pradeep Elankumaran. Update for ruby 2: Mike Polischuk"]
|
|
@@ -9,16 +9,13 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.email = "mike@polischuk.com"
|
|
10
10
|
s.extra_rdoc_files = [
|
|
11
11
|
"LICENSE",
|
|
12
|
-
"README"
|
|
13
|
-
"TODO"
|
|
12
|
+
"README"
|
|
14
13
|
]
|
|
15
14
|
s.licenses = ['MIT']
|
|
16
15
|
s.files = [
|
|
17
16
|
"LICENSE",
|
|
18
17
|
"README",
|
|
19
18
|
"Rakefile",
|
|
20
|
-
"TODO",
|
|
21
|
-
"VERSION.yml",
|
|
22
19
|
"autotest/discover.rb",
|
|
23
20
|
"lib/ruby_bosh.rb",
|
|
24
21
|
"ruby_bosh.gemspec",
|
|
@@ -27,7 +24,7 @@ Gem::Specification.new do |s|
|
|
|
27
24
|
]
|
|
28
25
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
29
26
|
s.homepage = "http://github.com/mikemarsian/ruby_bosh"
|
|
30
|
-
s.summary = "A BOSH session pre-initializer for Ruby web applications (for Ruby 2)"
|
|
27
|
+
s.summary = "A BOSH session pre-initializer for Ruby web applications (for Ruby 2+)"
|
|
31
28
|
s.required_ruby_version = '>= 1.9.3'
|
|
32
29
|
|
|
33
30
|
s.add_development_dependency "bundler", "~> 1.10"
|
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:
|
|
4
|
+
version: 0.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 'Original author: Pradeep Elankumaran. Update for ruby 2: Mike Polischuk'
|
|
@@ -115,13 +115,10 @@ extensions: []
|
|
|
115
115
|
extra_rdoc_files:
|
|
116
116
|
- LICENSE
|
|
117
117
|
- README
|
|
118
|
-
- TODO
|
|
119
118
|
files:
|
|
120
119
|
- LICENSE
|
|
121
120
|
- README
|
|
122
121
|
- Rakefile
|
|
123
|
-
- TODO
|
|
124
|
-
- VERSION.yml
|
|
125
122
|
- autotest/discover.rb
|
|
126
123
|
- lib/ruby_bosh.rb
|
|
127
124
|
- ruby_bosh.gemspec
|
|
@@ -150,7 +147,7 @@ rubyforge_project:
|
|
|
150
147
|
rubygems_version: 2.2.2
|
|
151
148
|
signing_key:
|
|
152
149
|
specification_version: 4
|
|
153
|
-
summary: A BOSH session pre-initializer for Ruby web applications (for Ruby 2)
|
|
150
|
+
summary: A BOSH session pre-initializer for Ruby web applications (for Ruby 2+)
|
|
154
151
|
test_files:
|
|
155
152
|
- spec/ruby_bosh_spec.rb
|
|
156
153
|
- spec/spec_helper.rb
|