pact_broker 2.78.0 → 2.78.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: 1b7b3f32acd207f0828dbe2c81fbffb7ed26fc7c522f04719d6d72a123a37331
|
4
|
+
data.tar.gz: 28776d82bfb587c908fd20b1570d6b94c58cb8669c2aad5179308f38d512d0ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a296391274edd0473b51db73d13d8e22f0519ca4b01e6d6fe3217f0881baead02496bf5423c15dfe5d1a7a9eae43da65eccbe94a967b2f51dd6f62e977fdea9
|
7
|
+
data.tar.gz: 3f9bab9d45e6315e4dbec1ee575f5a40c929308af166db3028c3f471bc59b42e8a6631c774513e864523ff0665b7061014cae8ddf67e7c696912a603df53b21f
|
data/CHANGELOG.md
CHANGED
data/lib/pact_broker/version.rb
CHANGED
@@ -14,9 +14,11 @@ module PactBroker
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def success?
|
17
|
-
|
17
|
+
if response
|
18
18
|
# Response HTTP Code must be in success list otherwise it is false
|
19
19
|
PactBroker.configuration.webhook_http_code_success.include? response.code.to_i
|
20
|
+
else
|
21
|
+
false
|
20
22
|
end
|
21
23
|
end
|
22
24
|
end
|
@@ -117,9 +117,11 @@ module PactBroker
|
|
117
117
|
end
|
118
118
|
|
119
119
|
def success?(response)
|
120
|
-
|
120
|
+
if response
|
121
121
|
# Response HTTP Code must be in success list otherwise it is false
|
122
122
|
PactBroker.configuration.webhook_http_code_success.include? response.code.to_i
|
123
|
+
else
|
124
|
+
false
|
123
125
|
end
|
124
126
|
end
|
125
127
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.78.
|
4
|
+
version: 2.78.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bethany Skurrie
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-02-
|
13
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|