pact_broker-client 1.64.0 → 1.65.0
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: b5ce83ded78258ca61aefff4934a129bde296db9e546db32adb5db1f48ebcbc7
         | 
| 4 | 
            +
              data.tar.gz: 1ee2e0c2d0b143c5cc97918c4b4cd2bf6d5d7e281450e1eb194f19295a7c1e21
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 19f2f40ef25b345cb64e8a392f580cc5eeee4468d6798eb9c008d5b3adf9d1c18f20dee9250d11d22829f368e3ae90ceef24ea28fec233198331e5f11c2dc5cc
         | 
| 7 | 
            +
              data.tar.gz: d980e5fb92df5886697851caa30d419bfda19b3c05af8f2e08c23fb54742c960cf7f49d12638e32a739dc3c3590a8ad36e3a102825bc942bfc1a1a493dfeb1a5
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -60,13 +60,17 @@ Options: | |
| 60 60 | 
             
                          # Repository branch of the consumer version
         | 
| 61 61 | 
             
                  [--auto-detect-version-properties], [--no-auto-detect-version-properties]
         | 
| 62 62 | 
             
                          # Automatically detect the repository branch from known CI
         | 
| 63 | 
            -
                            environment variables or git CLI.
         | 
| 63 | 
            +
                            environment variables or git CLI. Supports Buildkite, Circle
         | 
| 64 | 
            +
                            CI, Travis CI, GitHub Actions, Jenkins, Hudson, AppVeyor,
         | 
| 65 | 
            +
                            GitLab, CodeShip, Bitbucket and Azure DevOps.
         | 
| 64 66 | 
             
              -t, [--tag=TAG]
         | 
| 65 67 | 
             
                          # Tag name for consumer version. Can be specified multiple
         | 
| 66 68 | 
             
                            times.
         | 
| 67 69 | 
             
              -g, [--tag-with-git-branch], [--no-tag-with-git-branch]
         | 
| 68 70 | 
             
                          # Tag consumer version with the name of the current git branch.
         | 
| 69 | 
            -
                             | 
| 71 | 
            +
                            Supports Buildkite, Circle CI, Travis CI, GitHub Actions,
         | 
| 72 | 
            +
                            Jenkins, Hudson, AppVeyor, GitLab, CodeShip, Bitbucket and
         | 
| 73 | 
            +
                            Azure DevOps. Default: false
         | 
| 70 74 | 
             
                  [--build-url=BUILD_URL]
         | 
| 71 75 | 
             
                          # The build URL that created the pact
         | 
| 72 76 | 
             
                  [--merge], [--no-merge]
         | 
| @@ -868,7 +872,7 @@ Options: | |
| 868 872 |  | 
| 869 873 | 
             
            Generate a UUID for use when calling create-or-update-webhook
         | 
| 870 874 |  | 
| 871 | 
            -
            ### Provider contracts
         | 
| 875 | 
            +
            ### Provider contracts (Pactflow only)
         | 
| 872 876 |  | 
| 873 877 | 
             
            #### publish-provider-contract
         | 
| 874 878 |  | 
| @@ -895,7 +899,7 @@ Options: | |
| 895 899 | 
             
                          # Whether or not the self verification passed successfully.
         | 
| 896 900 | 
             
                  [--verification-exit-code=N]
         | 
| 897 901 | 
             
                          # The exit code of the verification process. Can be used instead
         | 
| 898 | 
            -
                            of -- | 
| 902 | 
            +
                            of --verification-success|--no-verification-success for a
         | 
| 899 903 | 
             
                            simpler build script.
         | 
| 900 904 | 
             
                  [--verification-results=VERIFICATION_RESULTS]
         | 
| 901 905 | 
             
                          # The path to the file containing the output from the
         | 
| @@ -14,9 +14,9 @@ module PactBroker | |
| 14 14 | 
             
                        desc 'publish PACT_DIRS_OR_FILES ...', "Publish pacts to a Pact Broker."
         | 
| 15 15 | 
             
                        method_option :consumer_app_version, required: true, aliases: "-a", desc: "The consumer application version"
         | 
| 16 16 | 
             
                        method_option :branch, aliases: "-h", desc: "Repository branch of the consumer version"
         | 
| 17 | 
            -
                        method_option :auto_detect_version_properties,  | 
| 17 | 
            +
                        method_option :auto_detect_version_properties, type: :boolean, default: false, desc: "Automatically detect the repository branch from known CI environment variables or git CLI. Supports Buildkite, Circle CI, Travis CI, GitHub Actions, Jenkins, Hudson, AppVeyor, GitLab, CodeShip, Bitbucket and Azure DevOps."
         | 
| 18 18 | 
             
                        method_option :tag, aliases: "-t", type: :array, banner: "TAG", desc: "Tag name for consumer version. Can be specified multiple times."
         | 
| 19 | 
            -
                        method_option :tag_with_git_branch, aliases: "-g", type: :boolean, default: false, required: false, desc: "Tag consumer version with the name of the current git branch. Default: false"
         | 
| 19 | 
            +
                        method_option :tag_with_git_branch, aliases: "-g", type: :boolean, default: false, required: false, desc: "Tag consumer version with the name of the current git branch. Supports Buildkite, Circle CI, Travis CI, GitHub Actions, Jenkins, Hudson, AppVeyor, GitLab, CodeShip, Bitbucket and Azure DevOps. Default: false"
         | 
| 20 20 | 
             
                        method_option :build_url, desc: "The build URL that created the pact"
         | 
| 21 21 | 
             
                        method_option :merge, type: :boolean, default: false, require: false, desc: "If a pact already exists for this consumer version and provider, merge the contents. Useful when running Pact tests concurrently on different build nodes."
         | 
| 22 22 | 
             
                        output_option_json_or_text
         | 
| @@ -13,7 +13,7 @@ CI_COMMIT_REF_NAME https://docs.gitlab.com/ee/ci/variables/predefined_variables. | |
| 13 13 | 
             
            CI_BRANCH CI_COMMIT_ID https://documentation.codeship.com/pro/builds-and-configuration/environment-variables/
         | 
| 14 14 | 
             
            bamboo.repository.git.branch https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html
         | 
| 15 15 | 
             
            BITBUCKET_BRANCH BITBUCKET_COMMIT https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html
         | 
| 16 | 
            -
             | 
| 16 | 
            +
            BUILD_SOURCEBRANCHNAME BUILD_SOURCEVERSION Azure
         | 
| 17 17 | 
             
            =end
         | 
| 18 18 |  | 
| 19 19 | 
             
            # Keep in sync with pact-provider-verifier/lib/pact/provider_verifier/git.rb
         | 
| @@ -25,8 +25,8 @@ module PactBroker | |
| 25 25 | 
             
                  using PactBroker::Client::HashRefinements
         | 
| 26 26 |  | 
| 27 27 | 
             
                  COMMAND = 'git rev-parse --abbrev-ref HEAD'.freeze
         | 
| 28 | 
            -
                  BRANCH_ENV_VAR_NAMES = %w{GITHUB_HEAD_REF GITHUB_REF BUILDKITE_BRANCH CIRCLE_BRANCH TRAVIS_BRANCH GIT_BRANCH GIT_LOCAL_BRANCH APPVEYOR_REPO_BRANCH CI_COMMIT_REF_NAME BITBUCKET_BRANCH}.freeze
         | 
| 29 | 
            -
                  COMMIT_ENV_VAR_NAMES = %w{GITHUB_SHA BUILDKITE_COMMIT CIRCLE_SHA1 TRAVIS_COMMIT GIT_COMMIT APPVEYOR_REPO_COMMIT CI_COMMIT_ID BITBUCKET_COMMIT}
         | 
| 28 | 
            +
                  BRANCH_ENV_VAR_NAMES = %w{GITHUB_HEAD_REF GITHUB_REF BUILDKITE_BRANCH CIRCLE_BRANCH TRAVIS_BRANCH GIT_BRANCH GIT_LOCAL_BRANCH APPVEYOR_REPO_BRANCH CI_COMMIT_REF_NAME BITBUCKET_BRANCH BUILD_SOURCEBRANCHNAME}.freeze
         | 
| 29 | 
            +
                  COMMIT_ENV_VAR_NAMES = %w{GITHUB_SHA BUILDKITE_COMMIT CIRCLE_SHA1 TRAVIS_COMMIT GIT_COMMIT APPVEYOR_REPO_COMMIT CI_COMMIT_ID BITBUCKET_COMMIT BUILD_SOURCEVERSION}
         | 
| 30 30 | 
             
                  BUILD_URL_ENV_VAR_NAMES = %w{BUILDKITE_BUILD_URL CIRCLE_BUILD_URL TRAVIS_BUILD_WEB_URL BUILD_URL }
         | 
| 31 31 |  | 
| 32 32 | 
             
                  def self.commit
         | 
| @@ -18,7 +18,7 @@ module Pactflow | |
| 18 18 | 
             
                        method_option :specification, default: "oas", desc: "The contract specification"
         | 
| 19 19 | 
             
                        method_option :content_type, desc: "The content type. eg. application/yml"
         | 
| 20 20 | 
             
                        method_option :verification_success, type: :boolean, desc: "Whether or not the self verification passed successfully."
         | 
| 21 | 
            -
                        method_option :verification_exit_code, type: :numeric, desc: "The exit code of the verification process. Can be used instead of -- | 
| 21 | 
            +
                        method_option :verification_exit_code, type: :numeric, desc: "The exit code of the verification process. Can be used instead of --verification-success|--no-verification-success for a simpler build script."
         | 
| 22 22 | 
             
                        method_option :verification_results, desc: "The path to the file containing the output from the verification process"
         | 
| 23 23 | 
             
                        method_option :verification_results_content_type, desc: "The content type of the verification output eg. text/plain, application/yaml"
         | 
| 24 24 | 
             
                        method_option :verification_results_format, desc: "The format of the verification output eg. junit, text"
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: pact_broker-client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.65.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Beth Skurrie
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022- | 
| 11 | 
            +
            date: 2022-06-24 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: httparty
         | 
| @@ -438,7 +438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 438 438 | 
             
                - !ruby/object:Gem::Version
         | 
| 439 439 | 
             
                  version: '0'
         | 
| 440 440 | 
             
            requirements: []
         | 
| 441 | 
            -
            rubygems_version: 3.3. | 
| 441 | 
            +
            rubygems_version: 3.3.16
         | 
| 442 442 | 
             
            signing_key:
         | 
| 443 443 | 
             
            specification_version: 4
         | 
| 444 444 | 
             
            summary: See description
         |