RubyApp 0.5.55 → 0.5.56

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.55)
4
+ RubyApp (0.5.56)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -26,8 +26,8 @@
26
26
  event.now = new Date().toString();
27
27
  event.session = RubyApp.getData('session', null);
28
28
  $(window).queue( function() {
29
- RubyApp.log('DEQUEUE event.class=' + event._class);
30
29
  RubyApp.showWait();
30
+ RubyApp.log('DEQUEUE event.class=' + event._class);
31
31
  request = $.ajax({type:'POST', url:location.href, data:event});
32
32
  request
33
33
  .success( function(event) {
@@ -42,8 +42,8 @@
42
42
  RubyApp.confirmRefreshBrowser(RubyApp.getData('error_message', null));
43
43
  } )
44
44
  .complete( function() {
45
- RubyApp.hideWait();
46
45
  $(window).dequeue();
46
+ RubyApp.hideWait();
47
47
  } )
48
48
  } );
49
49
  },
@@ -53,9 +53,9 @@
53
53
  else
54
54
  {
55
55
  // RubyApp.log('ENQUEUE RubyApp.showPage("' + id + '", ...)');
56
- //$(window).queue( function() {
57
- RubyApp.log('EXECUTE RubyApp.showPage("' + id + '", ...)');
56
+ $(window).queue( function() {
58
57
  RubyApp.showWait();
58
+ RubyApp.log('DEQUEUE RubyApp.showPage("' + id + '", ...)');
59
59
  request = $.ajax({type:'GET', url:'/' + RubyApp.getData('locale', 'en') + '/elements/' + id + '.html'});
60
60
  request
61
61
  .success( function(content) {
@@ -68,10 +68,10 @@
68
68
  RubyApp.confirmRefreshBrowser(RubyApp.getData('error_message', null));
69
69
  } )
70
70
  .complete( function() {
71
+ $(window).dequeue();
71
72
  RubyApp.hideWait();
72
- //$(window).dequeue();
73
73
  } );
74
- //} );
74
+ } );
75
75
  }
76
76
  },
77
77
  this.removePage = function(id) {
@@ -80,8 +80,8 @@
80
80
  this.updateElement = function(id) {
81
81
  // RubyApp.log('ENQUEUE RubyApp.updateElement("' + id + '")');
82
82
  $(window).queue( function() {
83
- RubyApp.log('DEQUEUE RubyApp.updateElement("' + id + '")');
84
83
  RubyApp.showWait();
84
+ RubyApp.log('DEQUEUE RubyApp.updateElement("' + id + '")');
85
85
  request = $.ajax({type:'GET', url:'/' + RubyApp.getData('locale', 'en') + '/elements/' + id + '.html'});
86
86
  request
87
87
  .success( function(content) {
@@ -94,8 +94,8 @@
94
94
  RubyApp.confirmRefreshBrowser(RubyApp.getData('error_message', null));
95
95
  } )
96
96
  .complete( function() {
97
- RubyApp.hideWait();
98
97
  $(window).dequeue();
98
+ RubyApp.hideWait();
99
99
  } );
100
100
  } );
101
101
  RubyApp.sendEvent({_class:'RubyApp::Element::UpdatedEvent', source:id});
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.55"
2
+ VERSION = "0.5.56"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 101
4
+ hash: 123
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 55
10
- version: 0.5.55
9
+ - 56
10
+ version: 0.5.56
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar