bowline 0.6.0 → 0.6.1
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.
- data/VERSION +1 -1
 - data/assets/bowline.js +11 -4
 - data/bowline.gemspec +1 -1
 - data/lib/bowline.rb +2 -0
 - data/lib/bowline/desktop/bridge.rb +2 -0
 - data/lib/bowline/tasks/libs.rake +1 -1
 - data/lib/bowline/version.rb +1 -1
 - data/templates/main_window.rb +1 -0
 - metadata +1 -1
 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.6. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.6.1
         
     | 
    
        data/assets/bowline.js
    CHANGED
    
    | 
         @@ -153,6 +153,7 @@ BowlineBound.fn.create = function(id, item){ 
     | 
|
| 
       153 
153 
     | 
    
         
             
            }
         
     | 
| 
       154 
154 
     | 
    
         | 
| 
       155 
155 
     | 
    
         
             
            BowlineBound.fn.update = function(id, item){
         
     | 
| 
      
 156 
     | 
    
         
            +
              if(!item.id) item.id = id;
         
     | 
| 
       156 
157 
     | 
    
         
             
              if(this.singleton){
         
     | 
| 
       157 
158 
     | 
    
         
             
                this.elements.item(item);
         
     | 
| 
       158 
159 
     | 
    
         
             
              } else {
         
     | 
| 
         @@ -231,8 +232,6 @@ var Bowline = { 
     | 
|
| 
       231 
232 
     | 
    
         | 
| 
       232 
233 
     | 
    
         
             
                Bowline.log("New message:", msg);
         
     | 
| 
       233 
234 
     | 
    
         | 
| 
       234 
     | 
    
         
            -
                Bowline.log(JSON.stringify(msg))
         
     | 
| 
       235 
     | 
    
         
            -
                
         
     | 
| 
       236 
235 
     | 
    
         
             
                if(Bowline.enabled)
         
     | 
| 
       237 
236 
     | 
    
         
             
                  _app.call(JSON.stringify(msg));
         
     | 
| 
       238 
237 
     | 
    
         
             
              },
         
     | 
| 
         @@ -321,7 +320,6 @@ var Bowline = { 
     | 
|
| 
       321 
320 
     | 
    
         | 
| 
       322 
321 
     | 
    
         
             
              updated: function(klass, id, item){
         
     | 
| 
       323 
322 
     | 
    
         
             
                if(!Bowline.bounds[klass]) return;
         
     | 
| 
       324 
     | 
    
         
            -
                if(!item.id) item.id = id;
         
     | 
| 
       325 
323 
     | 
    
         
             
                Bowline.bounds[klass].update(id, item);
         
     | 
| 
       326 
324 
     | 
    
         
             
              },
         
     | 
| 
       327 
325 
     | 
    
         | 
| 
         @@ -392,7 +390,16 @@ var Bowline = { 
     | 
|
| 
       392 
390 
     | 
    
         
             
                var args = $.makeArray(arguments);
         
     | 
| 
       393 
391 
     | 
    
         
             
                args.unshift(this);
         
     | 
| 
       394 
392 
     | 
    
         
             
                Bowline.unbind.apply(Bowline, args);
         
     | 
| 
       395 
     | 
    
         
            -
              } 
     | 
| 
      
 393 
     | 
    
         
            +
              };
         
     | 
| 
      
 394 
     | 
    
         
            +
              
         
     | 
| 
      
 395 
     | 
    
         
            +
              $.fn.bowlineSerialize = function(){
         
     | 
| 
      
 396 
     | 
    
         
            +
                var array  = $(this).serializeArray();
         
     | 
| 
      
 397 
     | 
    
         
            +
                var object = {};
         
     | 
| 
      
 398 
     | 
    
         
            +
                $.each(array, function(){
         
     | 
| 
      
 399 
     | 
    
         
            +
                  object[this.name] = this.value;
         
     | 
| 
      
 400 
     | 
    
         
            +
                });
         
     | 
| 
      
 401 
     | 
    
         
            +
                return object;
         
     | 
| 
      
 402 
     | 
    
         
            +
              };
         
     | 
| 
       396 
403 
     | 
    
         
             
            })(jQuery);
         
     | 
| 
       397 
404 
     | 
    
         | 
| 
       398 
405 
     | 
    
         
             
            jQuery(function($){
         
     | 
    
        data/bowline.gemspec
    CHANGED
    
    
    
        data/lib/bowline.rb
    CHANGED
    
    | 
         @@ -1,6 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require 'active_support'
         
     | 
| 
       2 
2 
     | 
    
         
             
            require 'active_support/dependencies'
         
     | 
| 
       3 
3 
     | 
    
         
             
            require 'active_support/core_ext/string/access'
         
     | 
| 
      
 4 
     | 
    
         
            +
            require 'active_support/core_ext/kernel/reporting'
         
     | 
| 
      
 5 
     | 
    
         
            +
            require 'active_support/core_ext/hash/indifferent_access'
         
     | 
| 
       4 
6 
     | 
    
         | 
| 
       5 
7 
     | 
    
         
             
            Thread.abort_on_exception = true
         
     | 
| 
       6 
8 
     | 
    
         | 
    
        data/lib/bowline/tasks/libs.rake
    CHANGED
    
    
    
        data/lib/bowline/version.rb
    CHANGED
    
    
    
        data/templates/main_window.rb
    CHANGED