pact_broker-client 1.56.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release_gem.yml +1 -1
  3. data/.github/workflows/test.yml +2 -0
  4. data/CHANGELOG.md +26 -0
  5. data/README.md +222 -211
  6. data/lib/pact_broker/client/base_client.rb +1 -1
  7. data/lib/pact_broker/client/cli/matrix_commands.rb +3 -2
  8. data/lib/pact_broker/client/cli/version_selector_options_parser.rb +4 -0
  9. data/lib/pact_broker/client/cli/webhook_commands.rb +1 -3
  10. data/lib/pact_broker/client/deployments/record_release.rb +5 -1
  11. data/lib/pact_broker/client/deployments/record_undeployment.rb +1 -1
  12. data/lib/pact_broker/client/environments/environment_command.rb +6 -1
  13. data/lib/pact_broker/client/git.rb +1 -1
  14. data/lib/pact_broker/client/hal/entity.rb +8 -4
  15. data/lib/pact_broker/client/hal/http_client.rb +4 -0
  16. data/lib/pact_broker/client/hal/link.rb +7 -2
  17. data/lib/pact_broker/client/publish_pacts.rb +5 -1
  18. data/lib/pact_broker/client/version.rb +1 -1
  19. data/lib/pact_broker/client/webhooks/create.rb +1 -1
  20. data/pact-broker-client.gemspec +4 -4
  21. data/script/can-i-deploy.sh +5 -0
  22. data/script/record-deployments-and-releases.sh +3 -3
  23. data/script/update-cli-usage-in-readme.rb +6 -2
  24. data/spec/lib/pact_broker/client/cli/version_selector_options_parser_spec.rb +6 -0
  25. data/spec/lib/pact_broker/client/deployments/record_deployment_spec.rb +12 -1
  26. data/spec/lib/pact_broker/client/deployments/record_undeployment_spec.rb +1 -1
  27. data/spec/lib/pact_broker/client/hal/entity_spec.rb +1 -1
  28. data/spec/lib/pact_broker/client/hal/link_spec.rb +15 -0
  29. metadata +12 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 449848d07d065628a69bd18154f106f438cadcb51cccd11a3e5214000a17dce2
4
- data.tar.gz: 187e875cee98166e6fe85f2bd76314ac642a131a8a4cd48f861694eac5daf002
3
+ metadata.gz: 2804ada47fb99f8b84e46b666b3c020e69dd141910e2c4e43f1c90e0a74ebc90
4
+ data.tar.gz: 55cd1049f68154283ce136834a67aef813bae036139730e89c2c11d8a74a7d7e
5
5
  SHA512:
6
- metadata.gz: 354fb2790242a8b7c64f568306013055f07223fd5f016d441f0fb6addb479ac1ed59467733a5d44264d5800d13500b9b652964cc7fc34341778b5472c5c7e3c0
7
- data.tar.gz: 0fc195c4957214522ecce949daaa9b08f84f5024c82ceea0bc16cf197493b6fd042fb1886c1da31dec25767a2ef3fd439eaf6894cb422282b8654901e796f4f1
6
+ metadata.gz: ae440024fcc4e5aab79d3b23c42e4419d36c4c5a35c1d09964c2887c47a2c8dbd4a3043d510536ed2a31935cb1adccc4554ba4a2a36d9b6af369ae322f84b1be
7
+ data.tar.gz: 7d555adb6428fe3cf3a3e642ca18ff202f9976036b4de02c683a25bbf56eaa64c5cb9cd3946c55ed8baff25a0a675c2e8a8a84497b2786c2b9fca1f26eef50c3
@@ -31,7 +31,7 @@ jobs:
31
31
  - uses: actions/checkout@v2
32
32
  with:
33
33
  fetch-depth: 0
34
- - uses: pact-foundation/release-gem@v0.0.11
34
+ - uses: pact-foundation/release-gem@v0.0.12
35
35
  id: release
36
36
  env:
37
37
  GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
@@ -20,6 +20,8 @@ jobs:
20
20
  with:
21
21
  ruby-version: ${{ matrix.ruby_version }}
22
22
  - run: "bundle install"
23
+ - if: failure()
24
+ run: cat /opt/hostedtoolcache/Ruby/2.2.10/x64/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/approvals-0.0.25/gem_make.out && exit 1
23
25
  - run: "bundle exec rake"
24
26
  pact:
25
27
  runs-on: "ubuntu-latest"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ <a name="v1.59.0"></a>
2
+ ### v1.59.0 (2022-03-11)
3
+
4
+ #### Features
5
+
6
+ * use the feature branch name in GITHUB_HEAD_REF for github pull request builds (#103) ([7f94d4a](/../../commit/7f94d4a))
7
+
8
+ * **webhooks**
9
+ * show better error message when the pb:webhooks relation doesn't exist when trying to create a webhook ([c787300](/../../commit/c787300))
10
+
11
+ <a name="v1.58.0"></a>
12
+ ### v1.58.0 (2021-11-13)
13
+
14
+ #### Features
15
+
16
+ * remove feature toggle for creating contract_requiring_verification_published webhooks ([6eff6d1](/../../commit/6eff6d1))
17
+
18
+ <a name="v1.57.0"></a>
19
+ ### v1.57.0 (2021-11-05)
20
+
21
+ #### Features
22
+
23
+ * support the --branch option in the version selectors for can-i-deploy ([dba8ec4](/../../commit/dba8ec4))
24
+ * show more helpful error message if pb:environments not available for pactflow ([1bf38e3](/../../commit/1bf38e3))
25
+ * print out notices if returned from publish pacts request ([86caf7e](/../../commit/86caf7e))
26
+
1
27
  <a name="v1.56.0"></a>
2
28
  ### v1.56.0 (2021-10-06)
3
29