turbo-rails 2.0.16 → 2.0.19
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/README.md +1 -1
 - data/app/assets/javascripts/turbo.js +63 -25
 - data/app/assets/javascripts/turbo.min.js +6 -6
 - data/app/assets/javascripts/turbo.min.js.map +1 -1
 - data/app/models/concerns/turbo/broadcastable.rb +1 -1
 - data/lib/turbo/version.rb +1 -1
 - metadata +3 -7
 
| 
         @@ -518,7 +518,7 @@ module Turbo::Broadcastable 
     | 
|
| 
       518 
518 
     | 
    
         
             
                  options.tap do |o|
         
     | 
| 
       519 
519 
     | 
    
         
             
                    # Add the current instance into the locals with the element name (which is the un-namespaced name)
         
     | 
| 
       520 
520 
     | 
    
         
             
                    # as the key. This parallels how the ActionView::ObjectRenderer would create a local variable.
         
     | 
| 
       521 
     | 
    
         
            -
                    o[:locals] = (o[:locals] || {}).reverse_merge(model_name.element.to_sym => self) 
     | 
| 
      
 521 
     | 
    
         
            +
                    o[:locals] = (o[:locals] || {}).reverse_merge(model_name.element.to_sym => self)
         
     | 
| 
       522 
522 
     | 
    
         | 
| 
       523 
523 
     | 
    
         
             
                    if o[:html] || o[:partial]
         
     | 
| 
       524 
524 
     | 
    
         
             
                      return o
         
     | 
    
        data/lib/turbo/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,16 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: turbo-rails
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.0.19
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Sam Stephenson
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Javan Mahkmali
         
     | 
| 
       9 
9 
     | 
    
         
             
            - David Heinemeier Hansson
         
     | 
| 
       10 
     | 
    
         
            -
            autorequire:
         
     | 
| 
       11 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date:  
     | 
| 
      
 12 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       14 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
15 
     | 
    
         
             
              name: actionpack
         
     | 
| 
         @@ -40,7 +39,6 @@ dependencies: 
     | 
|
| 
       40 
39 
     | 
    
         
             
                - - ">="
         
     | 
| 
       41 
40 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       42 
41 
     | 
    
         
             
                    version: 7.1.0
         
     | 
| 
       43 
     | 
    
         
            -
            description:
         
     | 
| 
       44 
42 
     | 
    
         
             
            email: david@loudthinking.com
         
     | 
| 
       45 
43 
     | 
    
         
             
            executables: []
         
     | 
| 
       46 
44 
     | 
    
         
             
            extensions: []
         
     | 
| 
         @@ -95,7 +93,6 @@ licenses: 
     | 
|
| 
       95 
93 
     | 
    
         
             
            - MIT
         
     | 
| 
       96 
94 
     | 
    
         
             
            metadata:
         
     | 
| 
       97 
95 
     | 
    
         
             
              changelog_uri: https://github.com/hotwired/turbo-rails/releases
         
     | 
| 
       98 
     | 
    
         
            -
            post_install_message:
         
     | 
| 
       99 
96 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       100 
97 
     | 
    
         
             
            require_paths:
         
     | 
| 
       101 
98 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -110,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       110 
107 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       111 
108 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       112 
109 
     | 
    
         
             
            requirements: []
         
     | 
| 
       113 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       114 
     | 
    
         
            -
            signing_key:
         
     | 
| 
      
 110 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       115 
111 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       116 
112 
     | 
    
         
             
            summary: The speed of a single-page web application without having to write any JavaScript.
         
     | 
| 
       117 
113 
     | 
    
         
             
            test_files: []
         
     |