pact_broker-client 1.29.0 → 1.29.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: 3a07f8cd0761d2826dd2b2c28b47bee6b3d792480fe97f49724280f451ea47bf
4
- data.tar.gz: 3dd78bb84b1f392211d4762e89da7040ef56e13a990dc87c1866e7658778a8e6
3
+ metadata.gz: bc98e7475df1dd176897d28114fcde1ac6799a8bd41219120b7f9de4b26b406c
4
+ data.tar.gz: 1778f7a4b082b053a16e3b2acb1b128d5b8ca5efa80f80a83ee2dfd543b2f89e
5
5
  SHA512:
6
- metadata.gz: ea00e0e31727d6f826661ad2316762b94f4f8097f9829f44e2e85f6f7c62d0da5e9002101141dbbd6b5af009768c246ce4375053e2dfe9fce86f605a33e8ccbf
7
- data.tar.gz: e6fe10b4acc7cf24f24fca2ccc8a3ee4709d1d421c466abba59a20c72c7672498f4bc893ccc2c229d70d5fdb0586d52edcfcdb8be651f4337fd7d1d10434eeaa
6
+ metadata.gz: e19b5f513d5c0ca4fc13f814307ad69666518e8813dc6d92e6a7238ff9088a5c53efe9affb2f058111229804d60459f75575bfeb8d2f43f3dc27cf53dd00b6ac
7
+ data.tar.gz: 1d635d85845756ecdcc96deb0f53d9a7171fc933dd7c184a032e817b6ea02a1448585c3316aaae1b3a2710344fcd3a2a6527bb088ebefb4cd4838ec5b60bcedf
@@ -1,3 +1,10 @@
1
+ <a name="v1.29.1"></a>
2
+ ### v1.29.1 (2020-08-07)
3
+
4
+ #### Bug Fixes
5
+
6
+ * explicitly set the CA file and path from SSL_CERT_FILE and SSL_CERT_DIR for the pact-ruby-standalone ([27a0fe6](/../../commit/27a0fe6))
7
+
1
8
  <a name="v1.29.0"></a>
2
9
  ### v1.29.0 (2020-08-05)
3
10
 
@@ -57,6 +57,11 @@ module PactBroker
57
57
  http = Net::HTTP.new(uri.host, uri.port, :ENV)
58
58
  http.set_debug_output(output_stream) if verbose
59
59
  http.use_ssl = (uri.scheme == 'https')
60
+ # Need to manually set the ca_file and ca_path for the pact-ruby-standalone.
61
+ # The env vars seem to be picked up automatically in later Ruby versions.
62
+ # See https://github.com/pact-foundation/pact-ruby-standalone/issues/57
63
+ http.ca_file = ENV['SSL_CERT_FILE'] if ENV['SSL_CERT_FILE'] && ENV['SSL_CERT_FILE'] != ''
64
+ http.ca_path = ENV['SSL_CERT_DIR'] if ENV['SSL_CERT_DIR'] && ENV['SSL_CERT_DIR'] != ''
60
65
  http.start do |http|
61
66
  http.request request
62
67
  end
@@ -1,5 +1,5 @@
1
1
  module PactBroker
2
2
  module Client
3
- VERSION = '1.29.0'
3
+ VERSION = '1.29.1'
4
4
  end
5
5
  end
@@ -0,0 +1,2 @@
1
+ bundle exec bin/pact-broker create-or-update-pacticipant --name Bethtest
2
+
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.29.0
4
+ version: 1.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beth Skurrie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-05 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -216,6 +216,7 @@ files:
216
216
  - lib/pact_broker/client/webhooks/test.rb
217
217
  - lib/pact_broker_client.rb
218
218
  - pact-broker-client.gemspec
219
+ - script/create-pacticipant.sh
219
220
  - script/generate-cli-usage.sh
220
221
  - script/publish-pact.sh
221
222
  - script/release.sh