active_scaffold_batch 3.7.0 → 3.7.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.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d7da29c82528f1fd8e72cb8afab1e35335d1502dd694e2e844557243cdddca15
         | 
| 4 | 
            +
              data.tar.gz: 125342e2141966e6da5e56b802d35a15a9166d9d1c8c77652d9e1684b0eb7712
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e5272ba21913d198e515020426287a7a9de63c90ab05d3a98970a523c1f9d17cf20f78f5f635e267e41a49adb6449bc1099fd5a1cc7791dfe1d40ff0e9baf17e
         | 
| 7 | 
            +
              data.tar.gz: 289b53b5e2919831fb2582ecd7dcf54892c12c7388f03b4acbffcd878641f8ed6736ac712f658d4e4bf04b91a0dd4f3fe93a40b6e263f23ced9b6374824177ef
         | 
| @@ -71,8 +71,8 @@ module ActiveScaffold::Config | |
| 71 71 | 
             
                end
         | 
| 72 72 |  | 
| 73 73 | 
             
                # the label= method already exists in the Form base class
         | 
| 74 | 
            -
                def label(model = nil)
         | 
| 75 | 
            -
                  model ||=  | 
| 74 | 
            +
                def label(model = nil, core: @core)
         | 
| 75 | 
            +
                  model ||= core.label(:count => 2)
         | 
| 76 76 | 
             
                  @label ? as_(@label) : as_(:create_model, :model => model)
         | 
| 77 77 | 
             
                end
         | 
| 78 78 | 
             
              end
         | 
| @@ -40,11 +40,6 @@ module ActiveScaffold::Config | |
| 40 40 | 
             
                # the ActionLink for this action
         | 
| 41 41 | 
             
                attr_accessor :link
         | 
| 42 42 |  | 
| 43 | 
            -
                 | 
| 44 | 
            -
                def label(model = nil)
         | 
| 45 | 
            -
                  model ||= @core.label(:count => 2)
         | 
| 46 | 
            -
                  @label ? as_(@label) : as_(:delete_model, :model => model)
         | 
| 47 | 
            -
                end
         | 
| 48 | 
            -
             | 
| 43 | 
            +
                undef_method :label=
         | 
| 49 44 | 
             
              end
         | 
| 50 45 | 
             
            end
         | 
| @@ -44,8 +44,8 @@ module ActiveScaffold::Config | |
| 44 44 |  | 
| 45 45 |  | 
| 46 46 | 
             
                # the label= method already exists in the Form base class
         | 
| 47 | 
            -
                def label(model = nil)
         | 
| 48 | 
            -
                  model ||=  | 
| 47 | 
            +
                def label(model = nil, core: @core)
         | 
| 48 | 
            +
                  model ||= core.label(:count => 2)
         | 
| 49 49 | 
             
                  @label ? as_(@label) : as_(:update_model, :model => model)
         | 
| 50 50 | 
             
                end
         | 
| 51 51 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: active_scaffold_batch
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.7. | 
| 4 | 
            +
              version: 3.7.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sergio Cambra
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire:
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2025- | 
| 12 | 
            +
            date: 2025-10-29 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: active_scaffold
         |