pact_broker-client 1.38.0 → 1.38.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1c89727fa660ba02fd9ff0565b74bf269aada75bfe3b04bb6f117048b265ad9
|
4
|
+
data.tar.gz: f6c946f2ab43c4cc69550b2fee0740a1782604e7843ae9b6a582664b6ecaee82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a9f685a78726d293dc5017f1a142aa1d981a020ff8bdeafa56666a378562cd6c6632449c9ae980dff634e5c5ee216b3eb867b221156d15437166421b8eb1c14
|
7
|
+
data.tar.gz: 2ac71e6f98f361c1262e3190eb6e8b9ec588de4bb2ae51df6cd0e2bc8f44f4b5ee38270acb1ac670d772069eeaaaa1baea98ec34104c5fa9b91fa3ad5db315c3
|
data/CHANGELOG.md
CHANGED
@@ -239,7 +239,7 @@ module PactBroker
|
|
239
239
|
end
|
240
240
|
|
241
241
|
def can_i_deploy_exit_status
|
242
|
-
exit_code_string = ENV.fetch('
|
242
|
+
exit_code_string = ENV.fetch('PACT_BROKER_CAN_I_DEPLOY_EXIT_CODE_BETA', '')
|
243
243
|
if exit_code_string =~ /^\d+$/
|
244
244
|
$stderr.puts "Exiting can-i-deploy with configured exit code #{exit_code_string}"
|
245
245
|
exit_code_string.to_i
|
@@ -128,7 +128,7 @@ module PactBroker
|
|
128
128
|
context "when an exit status is specified" do
|
129
129
|
before do
|
130
130
|
allow(ENV).to receive(:fetch).and_call_original
|
131
|
-
allow(ENV).to receive(:fetch).with('
|
131
|
+
allow(ENV).to receive(:fetch).with('PACT_BROKER_CAN_I_DEPLOY_EXIT_CODE_BETA', '').and_return("0")
|
132
132
|
end
|
133
133
|
|
134
134
|
it "exits with the specified code" do
|