avm-eac_postgresql_base0 0.5.1 → 0.5.2
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: 482f1f478319ae175f57604f3b227e9e69cbefd2552284cb78ee1b27a8927c1e
         | 
| 4 | 
            +
              data.tar.gz: f5060713798f4b42ca597856f60a7860decec95b6bbc7c2175b53a78173c0a64
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 462dba98f08f83a8380a6a7f11885df477aa91e5a143407e1feecb20ec480a01a53337c6adcc028aec12f734ab7b5fb5a725432d9a879f647f6f04ca5286c965
         | 
| 7 | 
            +
              data.tar.gz: a89df87b96697f7337cbdd9f0456116bc06f8f08651a928f18cff2f5b1bc82d2dd92ba00468ee932824b3553ea8ba4a753eb774195ce80540b992f43d31964d3
         | 
| @@ -7,13 +7,13 @@ module Avm | |
| 7 7 | 
             
              module EacPostgresqlBase0
         | 
| 8 8 | 
             
                class Instance
         | 
| 9 9 | 
             
                  module Commands
         | 
| 10 | 
            -
                     | 
| 10 | 
            +
                    DUMP_EXCLUDE_PATTERNS = ['(CREATE|COMMENT ON) EXTENSION',
         | 
| 11 | 
            +
                                             'SET default_table_access_method'].freeze
         | 
| 11 12 |  | 
| 12 13 | 
             
                    # @return [EacRubyUtils::Envs::Command]
         | 
| 13 14 | 
             
                    def dump_command
         | 
| 14 | 
            -
                       | 
| 15 | 
            -
             | 
| 16 | 
            -
                         .pipe(remove_extensions_ddl)
         | 
| 15 | 
            +
                      DUMP_EXCLUDE_PATTERNS
         | 
| 16 | 
            +
                        .inject(pg_dump_command) { |a, e| a.pipe(exclude_pattern_command(e)) }
         | 
| 17 17 | 
             
                    end
         | 
| 18 18 |  | 
| 19 19 | 
             
                    # @return [EacRubyUtils::Envs::Command]
         | 
| @@ -64,8 +64,14 @@ module Avm | |
| 64 64 | 
             
                    private
         | 
| 65 65 |  | 
| 66 66 | 
             
                    # @return [EacRubyUtils::Envs::Command]
         | 
| 67 | 
            -
                    def  | 
| 68 | 
            -
                      env.command(' | 
| 67 | 
            +
                    def exclude_pattern_command(pattern)
         | 
| 68 | 
            +
                      env.command('sed', '--regexp-extended', "s/(^|\\n)#{pattern}[^;]*;//gm")
         | 
| 69 | 
            +
                    end
         | 
| 70 | 
            +
             | 
| 71 | 
            +
                    # @return [EacRubyUtils::Envs::Command]
         | 
| 72 | 
            +
                    def pg_dump_command
         | 
| 73 | 
            +
                      env.command('pg_dump', '--no-privileges', '--no-owner', *common_command_args)
         | 
| 74 | 
            +
                         .envvar('PGPASSWORD', password)
         | 
| 69 75 | 
             
                    end
         | 
| 70 76 | 
             
                  end
         | 
| 71 77 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: avm-eac_postgresql_base0
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.5. | 
| 4 | 
            +
              version: 0.5.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Put here the authors
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-07-19 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: avm
         | 
| @@ -16,28 +16,34 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '0. | 
| 19 | 
            +
                    version: '0.79'
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: '0. | 
| 26 | 
            +
                    version: '0.79'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: eac_ruby_utils
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 31 | 
             
                - - "~>"
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: '0. | 
| 33 | 
            +
                    version: '0.119'
         | 
| 34 | 
            +
                - - ">="
         | 
| 35 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 36 | 
            +
                    version: 0.119.1
         | 
| 34 37 | 
             
              type: :runtime
         | 
| 35 38 | 
             
              prerelease: false
         | 
| 36 39 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 40 | 
             
                requirements:
         | 
| 38 41 | 
             
                - - "~>"
         | 
| 39 42 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: '0. | 
| 43 | 
            +
                    version: '0.119'
         | 
| 44 | 
            +
                - - ">="
         | 
| 45 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 46 | 
            +
                    version: 0.119.1
         | 
| 41 47 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 48 | 
             
              name: eac_ruby_gem_support
         | 
| 43 49 | 
             
              requirement: !ruby/object:Gem::Requirement
         |