foreign_office 0.12.1 → 0.12.2
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: 6209f3437f6bc5b49a1dc2f7fb9ccccfdc3d7739
|
4
|
+
data.tar.gz: 3e78a5c7ed93f163f79669fc593689d98978ea08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c997cb80ebd39878b2687e08852ee55599fb4546557bfa57cd4f35ee0342bce439b0f73280b47462292b828c6919c6edd552bee0fc511589c5e2b6c882ac8ef
|
7
|
+
data.tar.gz: fc03a766ea76d61974ca5ad5f8ea5a288946a6944b0d7e1cafbb4d84755947fe0ef083bdc74576e2c38540cfec4627593c2226b4d5c67dda13f8e28ff9f24c86
|
@@ -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, 2000); //Don't alert unless we're disconnected for 750ms, 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.2
|
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
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|