message_bus 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of message_bus might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/CHANGELOG +6 -0
- data/assets/message-bus.js +9 -1
- data/lib/message_bus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bc63e91243c887e17566c8e993d8a1974095fb5dbd526f975532a49cc21b53df
|
4
|
+
data.tar.gz: 58721c57100d84323d839c9c6ffbb9dd49a86e4f31e241058bf89c6c88224646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 996048cdb5e4f4834ec943fbd9dad61b40e5a1c2977046a426c3ec1ec621ba8990d272ec21f916e2d098f7096489d516bdc56d0bfb0dc1d859c2759f42bf83c6
|
7
|
+
data.tar.gz: da9e30f25a9918d7d2290a508e6d068d93ec18a5f8d69423426c381838c00dcd7b8480d5a1760196ceb66ea7bb30da209b6c7046f8a2c74fc3a8322d40a730dc
|
data/CHANGELOG
CHANGED
data/assets/message-bus.js
CHANGED
@@ -386,7 +386,11 @@
|
|
386
386
|
data[callbacks[i].channel] = callbacks[i].last_id;
|
387
387
|
}
|
388
388
|
|
389
|
-
|
389
|
+
// could possibly already be started
|
390
|
+
// notice the delay timeout above
|
391
|
+
if (!me.longPoll) {
|
392
|
+
me.longPoll = longPoller(poll, data);
|
393
|
+
}
|
390
394
|
};
|
391
395
|
|
392
396
|
|
@@ -436,6 +440,10 @@
|
|
436
440
|
lastId = -1;
|
437
441
|
}
|
438
442
|
|
443
|
+
if (typeof(channel) !== "string") {
|
444
|
+
throw "Channel name must be a string!";
|
445
|
+
}
|
446
|
+
|
439
447
|
callbacks.push({
|
440
448
|
channel: channel,
|
441
449
|
func: func,
|
data/lib/message_bus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message_bus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.6
|
145
|
+
rubygems_version: 2.7.6
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: ''
|