foreign_office 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/pubnub_bus.js +1 -1
- data/lib/foreign_office/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 481eaf164e3557934a74dc1ddb6b756e9bc4b580
|
4
|
+
data.tar.gz: 5031ee66e0875ab6c859790ceb9cc51f09a74960
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e633c7e5a08c02bdbafe86cf943e5de89f0c3c06e3ad43737d3172cad988175ddf2b7db28abaf58453adfe6948edf870f9846073712e89ad69e06a62294b606
|
7
|
+
data.tar.gz: c82dbe95be7bf3c2f5f288d6889a5f27d502986024613698d7bf7d1920d61520d52b60a11051fce73e981efa51e15be4cb18b3daec4acd84b2631140eeade19e
|
@@ -13,7 +13,7 @@ var PubnubBus = Class.extend({
|
|
13
13
|
var disconnect_func = function(){
|
14
14
|
foreign_office.disconnection(); debug_logger.log('Lost connection to: '); debug_logger.log(subscription.channel)
|
15
15
|
};
|
16
|
-
var debounced_disconnect = _.debounce(disconnect_func,
|
16
|
+
var debounced_disconnect = _.debounce(disconnect_func, 5000); //Don't alert unless we're disconnected for 5 seconds, this avoids alerting on a normal page load.
|
17
17
|
this.pubnub.subscribe({
|
18
18
|
channel : subscription.channel,
|
19
19
|
restore : true,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreign_office
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-12-
|
12
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|