foreign_office 0.0.2 → 0.0.3

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: 4254304d99a94d05606529febec28a0f05aeae25
4
- data.tar.gz: 48c9c8aaaffb9e772de1012ce13e646b12ce0231
3
+ metadata.gz: 75d5e2b584022e4551cb14be7327e8d1c090be32
4
+ data.tar.gz: d83f9f28906d4c4cd7ed2cf34b605fe02ab1a7c5
5
5
  SHA512:
6
- metadata.gz: f31c46cf51b00ca4781404b15c401f8df3debbf228c808e649ea1e4f066b73a9909858f4a04b160cf75af6f38aabbc5791c606e60cca2fecaf3e30f6e2314b41
7
- data.tar.gz: d59728edeb29b3d3e5af8ac3145d2c5852ada7194a153fa578a1324078c7de7abb634dc34d506f50ba3827d06feaa57fa62a6c06adf797a9ffd47aedbcacd7b4
6
+ metadata.gz: e80fbbbe9a332b6585f07e6c18c21b8670404286f6f31d88c48018258955534b4ecafda215f7839142f2c68df16ae08813b431959b38ff966e9e6328275eb9a5
7
+ data.tar.gz: 63b435d0ceb68a101d581980c16076b82ae27b31318eac89f10ec8ec24176844bdb8f8d1b88d2dad82a367930df4da9a23dc3159d9f35c4c3aee1e562be8f138
@@ -58,8 +58,6 @@ var ForeignOfficeChannel = Class.extend({
58
58
 
59
59
  var ForeignOfficeListener = Class.extend({
60
60
  init: function($listener){
61
- console.log("ForeignOfficeListener initializer:")
62
- console.log($listener);
63
61
  this.$listener = $listener;
64
62
  this.endpoint = $listener.data('endpoint');
65
63
  this.object_key = $listener.data('key');
@@ -119,7 +117,6 @@ var ForeignOfficeListener = Class.extend({
119
117
  var this_listener = this;
120
118
  $('[data-foreign-office-progress-indicator="' + this.channel + '"]').each(function(){
121
119
  this_listener.foreign_office_progress_indicator = $(this).data('foreign-office-progress-indicator-object');
122
- console.log($(this).data());
123
120
  this_listener.foreign_office_flash = $(this).data('ajax-foreign-office-flash').notice;
124
121
  })
125
122
  },
@@ -133,7 +130,7 @@ var ForeignOfficeListener = Class.extend({
133
130
  }
134
131
  });
135
132
 
136
- var ForeignNewListItems = ForeignOfficeListener.extend({
133
+ var ForeignOfficeNewListItems = ForeignOfficeListener.extend({
137
134
  handleMessage: function(m){
138
135
  var $listener = this.$listener;
139
136
  $.get(m.object[this.object_key], function(data){
@@ -194,15 +191,12 @@ var AnyTimeManager = Class.extend({
194
191
  var data_attribute = this['data_attribute'];
195
192
  var base_class = this['base_class'];
196
193
  var this_method = this['load_method'];
197
- console.log(this_method);
198
194
  $('[data-' + data_attribute + ']').each(function(){
199
195
  if('instantiate' == this_method){
200
196
  var declared_class = $(this).data(data_attribute);
201
197
  var this_class = getSubClass(declared_class,base_class);
202
198
  any_time_manager.instantiate($(this),this_class);
203
199
  }else{
204
- console.log('running...')
205
- console.log(base_class);
206
200
  any_time_manager.run($(this),base_class,this_method);
207
201
  }
208
202
 
@@ -1,3 +1,3 @@
1
1
  module ForeignOffice
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-25 00:00:00.000000000 Z
12
+ date: 2014-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.1.5
20
+ version: 4.0.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 4.1.5
27
+ version: 4.0.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: request_store
30
30
  requirement: !ruby/object:Gem::Requirement