foreign_office 0.7.3 → 0.8.0

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: 7afe14644b60ec95a4442a4204a4dae4628fde7c
4
- data.tar.gz: 9d1ea1b26f541c0708f1e7b1a7d02a7fd0e84b98
3
+ metadata.gz: 54b9a00955f2a111073ab4180b2e903bb4b78528
4
+ data.tar.gz: 28528fadab54583dca112b1c3b24a06ea2141ae7
5
5
  SHA512:
6
- metadata.gz: 8d6d501617b7f061089e4adb08335d51d78f8166ca938b358c6d99626be46c5a1ccb669cfa6db8bc9307cd8119aa179279191e9c9c8b4901b7ba112ecf588cd8
7
- data.tar.gz: 8b600a36da295e9cb25ba4b80cebd8ce14cc7eda939a763883839442bcdb1d86382f22b829c6131fb8813b9ba36420c781c9ccc99904cd4ec215eb678ea611ca
6
+ metadata.gz: cf39082477f00bdaed118e97611106706ce7d826129ab6cbb531dc8de49c25773559b75dcc40d6ca3fb3dc4669d7e99a6993558b8bebb87ea4e981152678bbba
7
+ data.tar.gz: eb5ae2f8eda6128cfa492458c7c0df0d98ae20841aa3eea425c435cb030ad077affab30e57a09ec121b164c1bc3cf052dc14ba4a379d67f4ae8d38f8212f2f79
@@ -101,6 +101,10 @@ var ForeignOfficeListener = Class.extend({
101
101
  $.get(this.endpoint, function(data){
102
102
  $listener.html(data);
103
103
  })
104
+ }else if((typeof(m.object[this.object_key]) == 'string')){
105
+ $.get(m.object[this.object_key], function(data){
106
+ $listener.html(data);
107
+ })
104
108
  }
105
109
  if (m.object[this.delete_key] == true) {
106
110
  $listener.remove;
@@ -1,3 +1,3 @@
1
1
  module ForeignOffice
2
- VERSION = "0.7.3"
2
+ VERSION = "0.8.0"
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.7.3
4
+ version: 0.8.0
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-05-04 00:00:00.000000000 Z
12
+ date: 2015-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails