pact 1.51.1 → 1.52.0

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: 0334b2a6c3b1884ed7ca47e5cc060b97c4ef0bb2b02ce898a34ea2c67e67eba8
4
- data.tar.gz: 4fa53510c36f9fc791f3282932f697f105b4e9d5ca47c11bf91bd4eb2453bf1f
3
+ metadata.gz: 9cfa158c1bfe5e29903a33e219b080a26a5fe89983197703f4b41776c5c9308d
4
+ data.tar.gz: 03d4a346421f6aefee8cc1e17c1466233f795ab12d4824c8a0643230e80a914a
5
5
  SHA512:
6
- metadata.gz: 03567421b18b621002ba594284c70d4b8b38d34827aa923faf4ac4dab36094e95a232f203b1845aaeb91fd4ce25df912a8566a236182309a4d0b02ed75d32b38
7
- data.tar.gz: 16155260304a4f7cadf5c43d96f7f0567a157a49dc6f2dba335e2e72506c7772d6f1767216f56c0a951b6efc231a2c6890eb261775ef6d1437797f5c8524b120
6
+ metadata.gz: bb71d3477f275efd899a8fd0bf6fac7bf840d2ea39c1e550e38e78b5f7e6479872e8833d005e893d5c7084eea42ce9aac94039ec7aa9edd8acdfcf3cc4a4a9f6
7
+ data.tar.gz: 28bf0a523d3024cd06b48a71a85bef70471679f9c78951b3c04391c91be7f948458b3acde5dbe060ff6e58ead6a1949f5965f51f944b5815dbeb578968959400
@@ -1,3 +1,10 @@
1
+ <a name="v1.52.0"></a>
2
+ ### v1.52.0 (2020-09-10)
3
+
4
+ #### Features
5
+
6
+ * support webdav http methods ([fa1d712](/../../commit/fa1d712))
7
+
1
8
  <a name="v1.51.1"></a>
2
9
  ### v1.51.1 (2020-08-12)
3
10
 
@@ -21,7 +21,11 @@ module Pact
21
21
 
22
22
  logger.info "Sending #{request.method.upcase} request to path: \"#{request.path}\" with headers: #{request.headers}, see debug logs for body"
23
23
  logger.debug "body :#{request.body}"
24
- response = self.send(request.method.downcase, *args)
24
+ response = if self.respond_to?(:custom_request)
25
+ self.custom_request(request.method.upcase, *args)
26
+ else
27
+ self.send(request.method.downcase, *args)
28
+ end
25
29
  logger.info "Received response with status: #{response.status}, headers: #{response.headers}, see debug logs for body"
26
30
  logger.debug "body: #{response.body}"
27
31
  end
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.51.1"
3
+ VERSION = "1.52.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.1
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Fraser
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-08-12 00:00:00.000000000 Z
15
+ date: 2020-09-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec