juggernaut 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/juggernaut.gemspec +19 -21
- data/vendor/assets/javascripts/socket_io.js +17 -17
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.1
|
data/juggernaut.gemspec
CHANGED
@@ -1,41 +1,39 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{juggernaut}
|
8
|
-
s.version = "2.
|
8
|
+
s.version = "2.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{
|
11
|
+
s.authors = [%q{Alex MacCaw}]
|
12
|
+
s.date = %q{2012-01-03}
|
13
13
|
s.description = %q{Use Juggernaut to easily implement realtime chat, collaboration, gaming and much more!}
|
14
14
|
s.email = %q{info@eribium.org}
|
15
15
|
s.files = [
|
16
16
|
".document",
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
17
|
+
".gitignore",
|
18
|
+
"README",
|
19
|
+
"Rakefile",
|
20
|
+
"VERSION",
|
21
|
+
"examples/juggernaut_observer.js",
|
22
|
+
"examples/juggernaut_observer.rb",
|
23
|
+
"examples/roster.rb",
|
24
|
+
"juggernaut.gemspec",
|
25
|
+
"lib/juggernaut.rb",
|
26
|
+
"lib/juggernaut/rails/engine.rb",
|
27
|
+
"vendor/assets/javascripts/json.js",
|
28
|
+
"vendor/assets/javascripts/juggernaut.js",
|
29
|
+
"vendor/assets/javascripts/socket_io.js"
|
30
30
|
]
|
31
31
|
s.homepage = %q{http://github.com/maccman/juggernaut}
|
32
|
-
s.
|
33
|
-
s.
|
34
|
-
s.rubygems_version = %q{1.3.7}
|
32
|
+
s.require_paths = [%q{lib}]
|
33
|
+
s.rubygems_version = %q{1.8.6}
|
35
34
|
s.summary = %q{Simple realtime push}
|
36
35
|
|
37
36
|
if s.respond_to? :specification_version then
|
38
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
39
37
|
s.specification_version = 3
|
40
38
|
|
41
39
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Socket.IO.js build:0.8.
|
1
|
+
/*! Socket.IO.js build:0.8.7, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */
|
2
2
|
|
3
3
|
/**
|
4
4
|
* socket.io
|
@@ -22,7 +22,7 @@
|
|
22
22
|
* @api public
|
23
23
|
*/
|
24
24
|
|
25
|
-
io.version = '0.8.
|
25
|
+
io.version = '0.8.7';
|
26
26
|
|
27
27
|
/**
|
28
28
|
* Protocol implemented.
|
@@ -316,7 +316,7 @@
|
|
316
316
|
*
|
317
317
|
* @api public
|
318
318
|
*/
|
319
|
-
|
319
|
+
|
320
320
|
util.merge = function merge (target, additional, deep, lastseen) {
|
321
321
|
var seen = lastseen || []
|
322
322
|
, depth = typeof deep == 'undefined' ? 2 : deep
|
@@ -341,7 +341,7 @@
|
|
341
341
|
*
|
342
342
|
* @api public
|
343
343
|
*/
|
344
|
-
|
344
|
+
|
345
345
|
util.mixin = function (ctor, ctor2) {
|
346
346
|
util.merge(ctor.prototype, ctor2.prototype);
|
347
347
|
};
|
@@ -403,7 +403,7 @@
|
|
403
403
|
return Array.prototype.indexOf.call(arr, o, i);
|
404
404
|
}
|
405
405
|
|
406
|
-
for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0;
|
406
|
+
for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0;
|
407
407
|
i < j && arr[i] !== o; i++) {}
|
408
408
|
|
409
409
|
return j <= i ? -1 : i;
|
@@ -1269,8 +1269,8 @@
|
|
1269
1269
|
|
1270
1270
|
Transport.prototype.onData = function (data) {
|
1271
1271
|
this.clearCloseTimeout();
|
1272
|
-
|
1273
|
-
// If the connection in currently open (or in a reopening state) reset the close
|
1272
|
+
|
1273
|
+
// If the connection in currently open (or in a reopening state) reset the close
|
1274
1274
|
// timeout since we have just received data. This check is necessary so
|
1275
1275
|
// that we don't reset the timeout on an explicitly disconnected connection.
|
1276
1276
|
if (this.connected || this.connecting || this.reconnecting) {
|
@@ -1316,7 +1316,7 @@
|
|
1316
1316
|
*
|
1317
1317
|
* @api private
|
1318
1318
|
*/
|
1319
|
-
|
1319
|
+
|
1320
1320
|
Transport.prototype.setCloseTimeout = function () {
|
1321
1321
|
if (!this.closeTimeout) {
|
1322
1322
|
var self = this;
|
@@ -1400,7 +1400,7 @@
|
|
1400
1400
|
Transport.prototype.onHeartbeat = function (heartbeat) {
|
1401
1401
|
this.packet({ type: 'heartbeat' });
|
1402
1402
|
};
|
1403
|
-
|
1403
|
+
|
1404
1404
|
/**
|
1405
1405
|
* Called when the transport opens.
|
1406
1406
|
*
|
@@ -1809,7 +1809,7 @@
|
|
1809
1809
|
var port = global.location.port ||
|
1810
1810
|
('https:' == global.location.protocol ? 443 : 80);
|
1811
1811
|
|
1812
|
-
return this.options.host !== global.location.hostname
|
1812
|
+
return this.options.host !== global.location.hostname
|
1813
1813
|
|| this.options.port != port;
|
1814
1814
|
};
|
1815
1815
|
|
@@ -2081,7 +2081,7 @@
|
|
2081
2081
|
*
|
2082
2082
|
* @api public
|
2083
2083
|
*/
|
2084
|
-
|
2084
|
+
|
2085
2085
|
SocketNamespace.prototype.emit = function (name) {
|
2086
2086
|
var args = Array.prototype.slice.call(arguments, 1)
|
2087
2087
|
, lastArg = args[args.length - 1]
|
@@ -2421,7 +2421,7 @@
|
|
2421
2421
|
*
|
2422
2422
|
* @api public
|
2423
2423
|
*/
|
2424
|
-
|
2424
|
+
|
2425
2425
|
exports.XHR = XHR;
|
2426
2426
|
|
2427
2427
|
/**
|
@@ -2538,7 +2538,7 @@
|
|
2538
2538
|
/**
|
2539
2539
|
* Disconnects the established `XHR` connection.
|
2540
2540
|
*
|
2541
|
-
* @returns {Transport}
|
2541
|
+
* @returns {Transport}
|
2542
2542
|
* @api public
|
2543
2543
|
*/
|
2544
2544
|
|
@@ -2606,7 +2606,7 @@
|
|
2606
2606
|
|
2607
2607
|
/**
|
2608
2608
|
* Check if the XHR transport supports corss domain requests.
|
2609
|
-
*
|
2609
|
+
*
|
2610
2610
|
* @returns {Boolean}
|
2611
2611
|
* @api public
|
2612
2612
|
*/
|
@@ -2637,7 +2637,7 @@
|
|
2637
2637
|
|
2638
2638
|
/**
|
2639
2639
|
* The HTMLFile transport creates a `forever iframe` based transport
|
2640
|
-
* for Internet Explorer. Regular forever iframe implementations will
|
2640
|
+
* for Internet Explorer. Regular forever iframe implementations will
|
2641
2641
|
* continuously trigger the browsers buzy indicators. If the forever iframe
|
2642
2642
|
* is created inside a `htmlfile` these indicators will not be trigged.
|
2643
2643
|
*
|
@@ -2839,7 +2839,7 @@
|
|
2839
2839
|
|
2840
2840
|
XHRPolling.prototype.name = 'xhr-polling';
|
2841
2841
|
|
2842
|
-
/**
|
2842
|
+
/**
|
2843
2843
|
* Establish a connection, for iPhone and Android this will be done once the page
|
2844
2844
|
* is loaded.
|
2845
2845
|
*
|
@@ -3095,7 +3095,7 @@
|
|
3095
3095
|
|
3096
3096
|
this.socket.setBuffer(true);
|
3097
3097
|
};
|
3098
|
-
|
3098
|
+
|
3099
3099
|
/**
|
3100
3100
|
* Creates a new JSONP poll that can be used to listen
|
3101
3101
|
* for messages from the Socket.IO server.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juggernaut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-03 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
requirement: &
|
16
|
+
requirement: &70326956870280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70326956870280
|
25
25
|
description: Use Juggernaut to easily implement realtime chat, collaboration, gaming
|
26
26
|
and much more!
|
27
27
|
email: info@eribium.org
|