wolf_core 1.0.89 → 1.0.90
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: 2c418670e6c67ff34988b86d67169af4b9516daf79872be6831c8812267dc1c4
         | 
| 4 | 
            +
              data.tar.gz: 0d6b4fa0a8377fdfd89ec9b24c834e342b59487d9401d8d3d8d563f2c4efe697
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: dc53fb7c1efb44810944647f8cce199b0d6c966eb4c3a9092c86ecaf2d695665ee1989bd9e43f34d8a7047b3afd2a15816fe15ecae5d3159b6e9685c334c3968
         | 
| 7 | 
            +
              data.tar.gz: d3c4e50ff16403f4f49e9e3ddd67651789aefceb2837f7cc0e51e0b0b2ffa14421337331f42a4c1dd3510651f6a03db6e4ae71abeda265f8ca505b840d5f3afa
         | 
| @@ -23,5 +23,13 @@ module WolfCore | |
| 23 23 | 
             
                    key: key
         | 
| 24 24 | 
             
                  }).item
         | 
| 25 25 | 
             
                end
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                def query(table_name:, key_condition_expression:, expression_attribute_values: nil)
         | 
| 28 | 
            +
                  instance.query({
         | 
| 29 | 
            +
                    table_name: table_name,
         | 
| 30 | 
            +
                    key_condition_expression: key_condition_expression,
         | 
| 31 | 
            +
                    expression_attribute_values: expression_attribute_values
         | 
| 32 | 
            +
                  }).items
         | 
| 33 | 
            +
                end
         | 
| 26 34 | 
             
              end
         | 
| 27 35 | 
             
            end
         | 
| @@ -1,5 +1,15 @@ | |
| 1 1 | 
             
            module WolfCore
         | 
| 2 2 | 
             
              module NoSqlDbOperations
         | 
| 3 | 
            +
                module_function
         | 
| 4 | 
            +
             | 
| 5 | 
            +
                def query_no_sql_items(table_name:, key_condition_expression:, expression_attribute_values: nil)
         | 
| 6 | 
            +
                  NoSqlDbDataSource.query(
         | 
| 7 | 
            +
                    table_name: table_name,
         | 
| 8 | 
            +
                    key_condition_expression: key_condition_expression,
         | 
| 9 | 
            +
                    expression_attribute_values: expression_attribute_values
         | 
| 10 | 
            +
                  )
         | 
| 11 | 
            +
                end
         | 
| 12 | 
            +
             | 
| 3 13 | 
             
                def put_no_sql_item(table_name:, item:)
         | 
| 4 14 | 
             
                  WolfCore::NoSqlDbDataSource.put_item(
         | 
| 5 15 | 
             
                    table_name: table_name,
         | 
    
        data/lib/wolf_core/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: wolf_core
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.90
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Javier Roncallo
         | 
| @@ -151,6 +151,7 @@ files: | |
| 151 151 | 
             
            - lib/wolf_core/domain/entity.rb
         | 
| 152 152 | 
             
            - lib/wolf_core/domain/value_object.rb
         | 
| 153 153 | 
             
            - lib/wolf_core/infrastructure/application_repository.rb
         | 
| 154 | 
            +
            - lib/wolf_core/infrastructure/application_serializer.rb
         | 
| 154 155 | 
             
            - lib/wolf_core/infrastructure/fkm_operations.rb
         | 
| 155 156 | 
             
            - lib/wolf_core/infrastructure/http_data_source.rb
         | 
| 156 157 | 
             
            - lib/wolf_core/infrastructure/http_operations.rb
         |