foreign_office 0.15.6 → 0.15.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreign_office.js +7 -5
- data/lib/foreign_office/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +33 -0
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e40ac48bf614839677ce97f57df4f2cc1c2a0b31
|
|
4
|
+
data.tar.gz: 337949668fcc26dd6e33b1e244960bcab41ab2ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66e30dd5a93d9072a055280910d86ab313693171a0a7ae1539d582795b5d6069dff221270013ae2dae3bab23ee0957d394a25f840aa88a5aea8f359e10c5434f
|
|
7
|
+
data.tar.gz: faec1749dd0db075969b47e0f9590821308d2dc393abdb6868641917800a0c48878c64a84a3cd74eb0edeca1e89a474fcc5f47c7d65d7afe5ef7ecb7728815ce
|
|
@@ -178,11 +178,13 @@ var ForeignOfficeListener = Class.extend({
|
|
|
178
178
|
}else if(this.href_target){
|
|
179
179
|
this.$listener.attr('href',m.object[this.object_key])
|
|
180
180
|
}else if(this.create_modal){
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
if (m.object[this.object_key] == true) {
|
|
182
|
+
var $modal_content = $('<div>').html($(this.create_modal).html());
|
|
183
|
+
var modal = new hooch.Modal($modal_content);
|
|
184
|
+
modal.$dismisser.remove();
|
|
185
|
+
delete modal.dismisser;
|
|
186
|
+
delete modal.$dismisser;
|
|
187
|
+
}
|
|
186
188
|
}else{
|
|
187
189
|
var new_value = m.object[this.object_key];
|
|
188
190
|
switch(this.$listener.get(0).nodeName.toLowerCase()){
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
2
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
|
|
3
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
4
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
5
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
6
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
7
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
8
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
9
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
10
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
11
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
12
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
13
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
14
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
15
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
16
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
|
|
17
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
18
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
19
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
20
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
21
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
22
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
23
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
24
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
25
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
26
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
27
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
28
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
29
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
|
|
30
|
+
ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
31
|
+
ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
|
32
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
|
|
33
|
+
ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
|
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.15.
|
|
4
|
+
version: 0.15.7
|
|
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: 2017-10-
|
|
12
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -129,6 +129,8 @@ files:
|
|
|
129
129
|
- test/dummy/config/locales/en.yml
|
|
130
130
|
- test/dummy/config/routes.rb
|
|
131
131
|
- test/dummy/config/secrets.yml
|
|
132
|
+
- test/dummy/db/test.sqlite3
|
|
133
|
+
- test/dummy/log/test.log
|
|
132
134
|
- test/dummy/public/404.html
|
|
133
135
|
- test/dummy/public/422.html
|
|
134
136
|
- test/dummy/public/500.html
|
|
@@ -155,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
157
|
version: '0'
|
|
156
158
|
requirements: []
|
|
157
159
|
rubyforge_project:
|
|
158
|
-
rubygems_version: 2.
|
|
160
|
+
rubygems_version: 2.6.12
|
|
159
161
|
signing_key:
|
|
160
162
|
specification_version: 4
|
|
161
163
|
summary: A light framework that provides functionality for listeners on web clients
|
|
@@ -189,6 +191,8 @@ test_files:
|
|
|
189
191
|
- test/dummy/config/routes.rb
|
|
190
192
|
- test/dummy/config/secrets.yml
|
|
191
193
|
- test/dummy/config.ru
|
|
194
|
+
- test/dummy/db/test.sqlite3
|
|
195
|
+
- test/dummy/log/test.log
|
|
192
196
|
- test/dummy/public/404.html
|
|
193
197
|
- test/dummy/public/422.html
|
|
194
198
|
- test/dummy/public/500.html
|