foreign_office 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88e525eb1dd7b9ee59824698a2c6aa06980dffe1
4
- data.tar.gz: 195f460725ec0a9b54fb1e7e516f223d1934e4be
3
+ metadata.gz: a3251690a914fc2f63e82ba758a362708553b5d3
4
+ data.tar.gz: 7f7c9c3e86d6eb80a01cb18e197f6ad3864ef271
5
5
  SHA512:
6
- metadata.gz: 35b1d5a2eef2737e7a73096c32b14160b1c4cee6c4e9a0703cda8c39e44a8c172dd32887cc86d70f6dd4c9e140fdff833adc9f784a9da6001452f90fdbad34a0
7
- data.tar.gz: 468f227c9c097def3806a8efb5e01e6d5e20dcda1c5a66d5b165953272c9b7649ae66cb28b73ea5929b3e3724431918f306e1df4bed9d700f287ff56d6626a89
6
+ metadata.gz: 95dbd9f42768504098708f1fefca003ce05b659999f48c68b1a27b09034d7fa976c1e63870f13636212176c64e21be44c7b3ee47ed8ed6fea4a065853a75d178
7
+ data.tar.gz: e6c845d8f8b30dfeb977ce495f3ba2d10f85824f4006574890e8cf581b176d7f95339f10e1b5e87503c40dedd9c42fca1855e4e685fef60d7b44ac73332a9aef
@@ -111,7 +111,9 @@ var ForeignOfficeListener = Class.extend({
111
111
  $.get(this.endpoint, function(data){
112
112
  $listener.html(data);
113
113
  })
114
- }else if((typeof(m.object[this.object_key]) == 'string')){
114
+ }else if(m.object[this.object_key] == false) {
115
+ $listener.empty();
116
+ }else if(typeof(m.object[this.object_key]) == 'string'){
115
117
  $.get(m.object[this.object_key], function(data){
116
118
  $listener.html(data);
117
119
  })
@@ -1,3 +1,3 @@
1
1
  module ForeignOffice
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
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.9.0
4
+ version: 0.9.1
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: 2015-07-02 00:00:00.000000000 Z
12
+ date: 2015-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.4.6
153
+ rubygems_version: 2.4.5.1
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: A light framework that provides functionality for listeners on web clients